; LLVM IR from gem5/gem5 :: src/systemc/tests/systemc/misc/stars/star102573/star102573.ll (ZN8for_nest5entryEv)

; 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_dt::sc_signed" = type { %"class.sc_dt::sc_value_base", i32, i32, i32, ptr }
%"class.sc_dt::sc_value_base" = type { ptr }
%struct.for_nest = type { %"class.sc_core::sc_module", %"class.sc_core::sc_in", ptr, ptr, ptr, ptr, ptr }
%"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_in" = type { %"class.sc_core::sc_port", ptr, ptr, ptr, ptr }
%"class.sc_core::sc_port" = type { %"class.sc_core::sc_port_b" }
%"class.sc_core::sc_port_b" = type { %"class.sc_core::sc_port_base", ptr, %"class.std::vector.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<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_signal_in_if<bool> *, std::allocator<sc_core::sc_signal_in_if<bool> *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8for_nest5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.sc_dt::sc_signed", align 8
  %4 = alloca %"class.sc_dt::sc_signed", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.sc_dt::sc_signed", align 8
  %8 = alloca %"class.sc_dt::sc_signed", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #4
  call void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #4
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 4)
          to label %20 unwind label %53

20:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #4
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 8)
          to label %21 unwind label %57

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #4
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 6)
          to label %22 unwind label %61

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %23 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 6
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !41
  %25 = load ptr, ptr %24, align 8, !tbaa !42
  %26 = getelementptr inbounds ptr, ptr %25, i64 9
  %27 = load ptr, ptr %26, align 8
  invoke void %27(ptr noundef nonnull align 8 dereferenceable(196) %24, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %28 unwind label %65

28:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %29 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %30 = load ptr, ptr %29, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  store i8 0, ptr %13, align 1, !tbaa !45
  %31 = load ptr, ptr %30, align 8, !tbaa !42
  %32 = getelementptr inbounds ptr, ptr %31, i64 14
  %33 = load ptr, ptr %32, align 8
  invoke void %33(ptr noundef nonnull align 8 dereferenceable(224) %30, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %34 unwind label %69

34:                                               ; preds = %28
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %35 unwind label %73

35:                                               ; preds = %34
  br label %36

36:                                               ; preds = %35
  br label %37

37:                                               ; preds = %206, %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %52, %38
  %40 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 3
  %41 = load ptr, ptr %40, align 8, !tbaa !46
  %42 = load ptr, ptr %41, align 8, !tbaa !42
  %43 = getelementptr inbounds ptr, ptr %42, i64 7
  %44 = load ptr, ptr %43, align 8
  %45 = invoke noundef nonnull align 1 dereferenceable(1) ptr %44(ptr noundef nonnull align 8 dereferenceable(224) %41)
          to label %46 unwind label %73

46:                                               ; preds = %39
  %47 = load i8, ptr %45, align 1, !tbaa !45, !range !47, !noundef !48
  %48 = trunc i8 %47 to i1
  %49 = zext i1 %48 to i32
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %77

51:                                               ; preds = %46
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %52 unwind label %73

52:                                               ; preds = %51
  br label %39, !llvm.loop !49

53:                                               ; preds = %1
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %218

57:                                               ; preds = %20
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %217

61:                                               ; preds = %21
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  br label %216

65:                                               ; preds = %22
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %5, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %215

69:                                               ; preds = %28
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %5, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  br label %215

73:                                               ; preds = %205, %198, %186, %152, %145, %144, %137, %126, %120, %108, %99, %96, %89, %83, %51, %39, %34
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %5, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %6, align 4
  br label %215

77:                                               ; preds = %46
  %78 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %79 = load ptr, ptr %78, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 1, ptr %14, align 1, !tbaa !45
  %80 = load ptr, ptr %79, align 8, !tbaa !42
  %81 = getelementptr inbounds ptr, ptr %80, i64 14
  %82 = load ptr, ptr %81, align 8
  invoke void %82(ptr noundef nonnull align 8 dereferenceable(224) %79, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %83 unwind label %116

83:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %84 unwind label %73

84:                                               ; preds = %83
  br label %85

85:                                               ; preds = %84
  store i32 1, ptr %9, align 4, !tbaa !41
  br label %86

86:                                               ; preds = %128, %85
  %87 = load i32, ptr %9, align 4, !tbaa !41
  %88 = icmp sle i32 %87, 5
  br i1 %88, label %89, label %131

89:                                               ; preds = %86
  %90 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 4
  %91 = load ptr, ptr %90, align 8, !tbaa !51
  %92 = load ptr, ptr %91, align 8, !tbaa !42
  %93 = getelementptr inbounds ptr, ptr %92, i64 5
  %94 = load ptr, ptr %93, align 8
  %95 = invoke noundef nonnull align 4 dereferenceable(4) ptr %94(ptr noundef nonnull align 8 dereferenceable(196) %91)
          to label %96 unwind label %73

96:                                               ; preds = %89
  %97 = load i32, ptr %95, align 4, !tbaa !41
  %98 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef %97)
          to label %99 unwind label %73

99:                                               ; preds = %96
  %100 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %101 unwind label %73

101:                                              ; preds = %99
  %102 = load i32, ptr %9, align 4, !tbaa !41
  %103 = add nsw i32 %100, %102
  store i32 %103, ptr %11, align 4, !tbaa !41
  br label %104

104:                                              ; preds = %101
  store i32 1, ptr %10, align 4, !tbaa !41
  br label %105

105:                                              ; preds = %113, %104
  %106 = load i32, ptr %10, align 4, !tbaa !41
  %107 = icmp sle i32 %106, 4
  br i1 %107, label %108, label %120

108:                                              ; preds = %105
  %109 = load i32, ptr %11, align 4, !tbaa !41
  %110 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %111 unwind label %73

111:                                              ; preds = %108
  %112 = sub nsw i32 %109, %110
  store i32 %112, ptr %11, align 4, !tbaa !41
  br label %113

113:                                              ; preds = %111
  %114 = load i32, ptr %10, align 4, !tbaa !41
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %10, align 4, !tbaa !41
  br label %105, !llvm.loop !52

116:                                              ; preds = %77
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %5, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  br label %215

120:                                              ; preds = %105
  %121 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 6
  %122 = load ptr, ptr %121, align 8, !tbaa !9
  %123 = load ptr, ptr %122, align 8, !tbaa !42
  %124 = getelementptr inbounds ptr, ptr %123, i64 9
  %125 = load ptr, ptr %124, align 8
  invoke void %125(ptr noundef nonnull align 8 dereferenceable(196) %122, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %126 unwind label %73

126:                                              ; preds = %120
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %127 unwind label %73

127:                                              ; preds = %126
  br label %128

128:                                              ; preds = %127
  %129 = load i32, ptr %9, align 4, !tbaa !41
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %9, align 4, !tbaa !41
  br label %86, !llvm.loop !53

131:                                              ; preds = %86
  %132 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %133 = load ptr, ptr %132, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 0, ptr %15, align 1, !tbaa !45
  %134 = load ptr, ptr %133, align 8, !tbaa !42
  %135 = getelementptr inbounds ptr, ptr %134, i64 14
  %136 = load ptr, ptr %135, align 8
  invoke void %136(ptr noundef nonnull align 8 dereferenceable(224) %133, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %137 unwind label %174

137:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %138 unwind label %73

138:                                              ; preds = %137
  %139 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %140 = load ptr, ptr %139, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  store i8 1, ptr %16, align 1, !tbaa !45
  %141 = load ptr, ptr %140, align 8, !tbaa !42
  %142 = getelementptr inbounds ptr, ptr %141, i64 14
  %143 = load ptr, ptr %142, align 8
  invoke void %143(ptr noundef nonnull align 8 dereferenceable(224) %140, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %144 unwind label %178

144:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %145 unwind label %73

145:                                              ; preds = %144
  %146 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !51
  %148 = load ptr, ptr %147, align 8, !tbaa !42
  %149 = getelementptr inbounds ptr, ptr %148, i64 5
  %150 = load ptr, ptr %149, align 8
  %151 = invoke noundef nonnull align 4 dereferenceable(4) ptr %150(ptr noundef nonnull align 8 dereferenceable(196) %147)
          to label %152 unwind label %73

152:                                              ; preds = %145
  %153 = load i32, ptr %151, align 4, !tbaa !41
  store i32 %153, ptr %11, align 4, !tbaa !41
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %154 unwind label %73

154:                                              ; preds = %152
  br label %155

155:                                              ; preds = %154
  store i32 1, ptr %9, align 4, !tbaa !41
  br label %156

156:                                              ; preds = %183, %155
  %157 = load i32, ptr %9, align 4, !tbaa !41
  %158 = icmp sle i32 %157, 3
  br i1 %158, label %159, label %186

159:                                              ; preds = %156
  %160 = load i32, ptr %9, align 4, !tbaa !41
  %161 = load i32, ptr %11, align 4, !tbaa !41
  %162 = add nsw i32 %161, %160
  store i32 %162, ptr %11, align 4, !tbaa !41
  br label %163

163:                                              ; preds = %159
  store i32 1, ptr %10, align 4, !tbaa !41
  br label %164

164:                                              ; preds = %171, %163
  %165 = load i32, ptr %10, align 4, !tbaa !41
  %166 = icmp sle i32 %165, 2
  br i1 %166, label %167, label %182

167:                                              ; preds = %164
  %168 = load i32, ptr %10, align 4, !tbaa !41
  %169 = load i32, ptr %11, align 4, !tbaa !41
  %170 = sub nsw i32 %169, %168
  store i32 %170, ptr %11, align 4, !tbaa !41
  br label %171

171:                                              ; preds = %167
  %172 = load i32, ptr %10, align 4, !tbaa !41
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %10, align 4, !tbaa !41
  br label %164, !llvm.loop !54

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

178:                                              ; preds = %138
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %5, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  br label %215

182:                                              ; preds = %164
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %9, align 4, !tbaa !41
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %9, align 4, !tbaa !41
  br label %156, !llvm.loop !55

186:                                              ; preds = %156
  %187 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 6
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  %189 = load ptr, ptr %188, align 8, !tbaa !42
  %190 = getelementptr inbounds ptr, ptr %189, i64 9
  %191 = load ptr, ptr %190, align 8
  invoke void %191(ptr noundef nonnull align 8 dereferenceable(196) %188, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %192 unwind label %73

192:                                              ; preds = %186
  %193 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %194 = load ptr, ptr %193, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #4
  store i8 0, ptr %17, align 1, !tbaa !45
  %195 = load ptr, ptr %194, align 8, !tbaa !42
  %196 = getelementptr inbounds ptr, ptr %195, i64 14
  %197 = load ptr, ptr %196, align 8
  invoke void %197(ptr noundef nonnull align 8 dereferenceable(224) %194, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %198 unwind label %207

198:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %199 unwind label %73

199:                                              ; preds = %198
  %200 = getelementptr inbounds %struct.for_nest, ptr %19, i32 0, i32 5
  %201 = load ptr, ptr %200, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #4
  store i8 1, ptr %18, align 1, !tbaa !45
  %202 = load ptr, ptr %201, align 8, !tbaa !42
  %203 = getelementptr inbounds ptr, ptr %202, i64 14
  %204 = load ptr, ptr %203, align 8
  invoke void %204(ptr noundef nonnull align 8 dereferenceable(224) %201, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %205 unwind label %211

205:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %19)
          to label %206 unwind label %73

206:                                              ; preds = %205
  br label %37, !llvm.loop !56

207:                                              ; preds = %192
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %5, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #4
  br label %215

211:                                              ; preds = %199
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %5, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #4
  br label %215

215:                                              ; preds = %211, %207, %178, %174, %116, %73, %69, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  br label %216

216:                                              ; preds = %215, %61
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #4
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  br label %217

217:                                              ; preds = %216, %57
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #4
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  br label %218

218:                                              ; preds = %217, %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #4
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #4
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %5, align 8
  %221 = load i32, ptr %6, align 4
  %222 = insertvalue { ptr, i32 } poison, ptr %220, 0
  %223 = insertvalue { ptr, i32 } %222, i32 %221, 1
  resume { ptr, i32 } %223
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32)) #2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !6, i64 448}
!10 = !{!"_ZTS8for_nest", !11, i64 0, !33, i64 232, !6, i64 416, !6, i64 424, !6, i64 432, !6, i64 440, !6, i64 448}
!11 = !{!"_ZTSN7sc_core9sc_moduleE", !12, i64 0, !24, i64 112, !25, i64 120, !27, i64 144, !29, i64 168, !31, i64 192, !6, i64 200, !32, i64 208, !6, i64 216, !6, i64 224}
!12 = !{!"_ZTSN7sc_core9sc_objectE", !6, i64 8, !13, i64 16, !17, i64 40, !21, i64 64, !6, i64 96, !6, i64 104}
!13 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSN7sc_core15sc_process_hostE"}
!25 = !{!"_ZTSN7sc_core12sc_sensitiveE", !6, i64 0, !26, i64 8, !6, i64 16}
!26 = !{!"_ZTSN7sc_core12sc_sensitiveUt_E", !7, i64 0}
!27 = !{!"_ZTSN7sc_core16sc_sensitive_posE", !6, i64 0, !28, i64 8, !6, i64 16}
!28 = !{!"_ZTSN7sc_core16sc_sensitive_posUt_E", !7, i64 0}
!29 = !{!"_ZTSN7sc_core16sc_sensitive_negE", !6, i64 0, !30, i64 8, !6, i64 16}
!30 = !{!"_ZTSN7sc_core16sc_sensitive_negUt_E", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"int", !7, i64 0}
!33 = !{!"_ZTSN7sc_core5sc_inIbEE", !34, i64 0, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176}
!34 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIbEELi1ELNS_14sc_port_policyE0EEE", !35, i64 0}
!35 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIbEEEE", !36, i64 0, !6, i64 120, !37, i64 128}
!36 = !{!"_ZTSN7sc_core12sc_port_baseE", !12, i64 0, !6, i64 112}
!37 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!32, !32, i64 0}
!42 = !{!43, !43, i64 0}
!43 = !{!"vtable pointer", !8, i64 0}
!44 = !{!10, !6, i64 440}
!45 = !{!31, !31, i64 0}
!46 = !{!10, !6, i64 424}
!47 = !{i8 0, i8 2}
!48 = !{}
!49 = distinct !{!49, !50}
!50 = !{!"llvm.loop.mustprogress"}
!51 = !{!10, !6, i64 432}
!52 = distinct !{!52, !50}
!53 = distinct !{!53, !50}
!54 = distinct !{!54, !50}
!55 = distinct !{!55, !50}
!56 = distinct !{!56, !50}


; 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_dt::sc_signed" = type { %"class.sc_dt::sc_value_base", i32, i32, i32, ptr }
%"class.sc_dt::sc_value_base" = type { ptr }

; Function Attrs: mustprogress noreturn uwtable
define dso_local void @_ZN8for_nest5entryEv(ptr noundef nonnull align 8 dereferenceable(456) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sc_dt::sc_signed", align 8
  %3 = alloca %"class.sc_dt::sc_signed", align 8
  %4 = alloca %"class.sc_dt::sc_signed", align 8
  %5 = alloca %"class.sc_dt::sc_signed", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef 2)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 4)
          to label %14 unwind label %41

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #5
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 8)
          to label %15 unwind label %43

15:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  invoke void @_ZN5sc_dt9sc_signedC1Ei(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 6)
          to label %16 unwind label %45

16:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 448
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store i32 0, ptr %7, align 4, !tbaa !40
  %19 = load ptr, ptr %18, align 8, !tbaa !41
  %20 = getelementptr inbounds i8, ptr %19, i64 72
  %21 = load ptr, ptr %20, align 8
  invoke void %21(ptr noundef nonnull align 8 dereferenceable(196) %18, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %22 unwind label %47

22:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  %23 = getelementptr inbounds i8, ptr %0, i64 440
  %24 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  store i8 0, ptr %8, align 1, !tbaa !44
  %25 = load ptr, ptr %24, align 8, !tbaa !41
  %26 = getelementptr inbounds i8, ptr %25, i64 112
  %27 = load ptr, ptr %26, align 8
  invoke void %27(ptr noundef nonnull align 8 dereferenceable(224) %24, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %28 unwind label %49

28:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader31 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

.preheader31:                                     ; preds = %28
  %29 = getelementptr inbounds i8, ptr %0, i64 424
  %30 = getelementptr inbounds i8, ptr %0, i64 432
  br label %31

31:                                               ; preds = %.backedge, %.preheader31
  %32 = load ptr, ptr %29, align 8, !tbaa !45
  %33 = load ptr, ptr %32, align 8, !tbaa !41
  %34 = getelementptr inbounds i8, ptr %33, i64 56
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef nonnull align 1 dereferenceable(1) ptr %35(ptr noundef nonnull align 8 dereferenceable(224) %32)
          to label %37 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

37:                                               ; preds = %31
  %38 = load i8, ptr %36, align 1, !tbaa !44, !range !46, !noundef !47
  %39 = icmp eq i8 %38, 0
  br i1 %39, label %40, label %51

40:                                               ; preds = %37
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.backedge unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

.backedge:                                        ; preds = %40, %244
  br label %31, !llvm.loop !48

41:                                               ; preds = %1
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %251

43:                                               ; preds = %14
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %250

45:                                               ; preds = %15
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %249

47:                                               ; preds = %16
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  br label %.loopexit.split-lp

49:                                               ; preds = %22
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  br label %.loopexit.split-lp

.loopexit:                                        ; preds = %194, %191, %188, %185, %165, %162, %159, %156, %136, %133, %130, %127, %107, %104, %101, %98, %76, %73, %70, %67
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %203, %197, %183, %180, %.preheader25.4, %174, %168, %154, %151, %.preheader25.3, %145, %139, %125, %122, %.preheader25.2, %116, %110, %96, %93, %.preheader25.1, %87, %79, %65, %62, %.preheader25.preheader
  %lpad.loopexit26 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %31, %40
  %lpad.loopexit29 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit: ; preds = %244, %238, %.preheader, %222, %216, %215, %209, %56
  %lpad.loopexit32 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %28
  %lpad.loopexit.split-lp33 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

51:                                               ; preds = %37
  %52 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  store i8 1, ptr %9, align 1, !tbaa !44
  %53 = load ptr, ptr %52, align 8, !tbaa !41
  %54 = getelementptr inbounds i8, ptr %53, i64 112
  %55 = load ptr, ptr %54, align 8
  invoke void %55(ptr noundef nonnull align 8 dereferenceable(224) %52, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %56 unwind label %85

56:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader25.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader25.preheader:                           ; preds = %56
  %57 = load ptr, ptr %30, align 8, !tbaa !50
  %58 = load ptr, ptr %57, align 8, !tbaa !41
  %59 = getelementptr inbounds i8, ptr %58, i64 40
  %60 = load ptr, ptr %59, align 8
  %61 = invoke noundef nonnull align 4 dereferenceable(4) ptr %60(ptr noundef nonnull align 8 dereferenceable(196) %57)
          to label %62 unwind label %.loopexit.split-lp.loopexit

62:                                               ; preds = %.preheader25.preheader
  %63 = load i32, ptr %61, align 4, !tbaa !40
  %64 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %63)
          to label %65 unwind label %.loopexit.split-lp.loopexit

65:                                               ; preds = %62
  %66 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %67 unwind label %.loopexit.split-lp.loopexit

67:                                               ; preds = %65
  %68 = add nsw i32 %66, 1
  store i32 %68, ptr %6, align 4, !tbaa !40
  %69 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %70 unwind label %.loopexit

70:                                               ; preds = %67
  %71 = sub nsw i32 %68, %69
  store i32 %71, ptr %6, align 4, !tbaa !40
  %72 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %73 unwind label %.loopexit

73:                                               ; preds = %70
  %74 = sub nsw i32 %71, %72
  store i32 %74, ptr %6, align 4, !tbaa !40
  %75 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %76 unwind label %.loopexit

76:                                               ; preds = %73
  %77 = sub nsw i32 %74, %75
  store i32 %77, ptr %6, align 4, !tbaa !40
  %78 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %79 unwind label %.loopexit

79:                                               ; preds = %76
  %80 = sub nsw i32 %77, %78
  store i32 %80, ptr %6, align 4, !tbaa !40
  %81 = load ptr, ptr %17, align 8, !tbaa !5
  %82 = load ptr, ptr %81, align 8, !tbaa !41
  %83 = getelementptr inbounds i8, ptr %82, i64 72
  %84 = load ptr, ptr %83, align 8
  invoke void %84(ptr noundef nonnull align 8 dereferenceable(196) %81, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %87 unwind label %.loopexit.split-lp.loopexit

85:                                               ; preds = %51
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %.loopexit.split-lp

87:                                               ; preds = %79
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader25.1 unwind label %.loopexit.split-lp.loopexit

.preheader25.1:                                   ; preds = %87
  %88 = load ptr, ptr %30, align 8, !tbaa !50
  %89 = load ptr, ptr %88, align 8, !tbaa !41
  %90 = getelementptr inbounds i8, ptr %89, i64 40
  %91 = load ptr, ptr %90, align 8
  %92 = invoke noundef nonnull align 4 dereferenceable(4) ptr %91(ptr noundef nonnull align 8 dereferenceable(196) %88)
          to label %93 unwind label %.loopexit.split-lp.loopexit

93:                                               ; preds = %.preheader25.1
  %94 = load i32, ptr %92, align 4, !tbaa !40
  %95 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %94)
          to label %96 unwind label %.loopexit.split-lp.loopexit

96:                                               ; preds = %93
  %97 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %98 unwind label %.loopexit.split-lp.loopexit

98:                                               ; preds = %96
  %99 = add nsw i32 %97, 2
  store i32 %99, ptr %6, align 4, !tbaa !40
  %100 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %101 unwind label %.loopexit

101:                                              ; preds = %98
  %102 = sub nsw i32 %99, %100
  store i32 %102, ptr %6, align 4, !tbaa !40
  %103 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %104 unwind label %.loopexit

104:                                              ; preds = %101
  %105 = sub nsw i32 %102, %103
  store i32 %105, ptr %6, align 4, !tbaa !40
  %106 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %107 unwind label %.loopexit

107:                                              ; preds = %104
  %108 = sub nsw i32 %105, %106
  store i32 %108, ptr %6, align 4, !tbaa !40
  %109 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %110 unwind label %.loopexit

110:                                              ; preds = %107
  %111 = sub nsw i32 %108, %109
  store i32 %111, ptr %6, align 4, !tbaa !40
  %112 = load ptr, ptr %17, align 8, !tbaa !5
  %113 = load ptr, ptr %112, align 8, !tbaa !41
  %114 = getelementptr inbounds i8, ptr %113, i64 72
  %115 = load ptr, ptr %114, align 8
  invoke void %115(ptr noundef nonnull align 8 dereferenceable(196) %112, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %116 unwind label %.loopexit.split-lp.loopexit

116:                                              ; preds = %110
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader25.2 unwind label %.loopexit.split-lp.loopexit

.preheader25.2:                                   ; preds = %116
  %117 = load ptr, ptr %30, align 8, !tbaa !50
  %118 = load ptr, ptr %117, align 8, !tbaa !41
  %119 = getelementptr inbounds i8, ptr %118, i64 40
  %120 = load ptr, ptr %119, align 8
  %121 = invoke noundef nonnull align 4 dereferenceable(4) ptr %120(ptr noundef nonnull align 8 dereferenceable(196) %117)
          to label %122 unwind label %.loopexit.split-lp.loopexit

122:                                              ; preds = %.preheader25.2
  %123 = load i32, ptr %121, align 4, !tbaa !40
  %124 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %123)
          to label %125 unwind label %.loopexit.split-lp.loopexit

125:                                              ; preds = %122
  %126 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %127 unwind label %.loopexit.split-lp.loopexit

127:                                              ; preds = %125
  %128 = add nsw i32 %126, 3
  store i32 %128, ptr %6, align 4, !tbaa !40
  %129 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %130 unwind label %.loopexit

130:                                              ; preds = %127
  %131 = sub nsw i32 %128, %129
  store i32 %131, ptr %6, align 4, !tbaa !40
  %132 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %133 unwind label %.loopexit

133:                                              ; preds = %130
  %134 = sub nsw i32 %131, %132
  store i32 %134, ptr %6, align 4, !tbaa !40
  %135 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %136 unwind label %.loopexit

136:                                              ; preds = %133
  %137 = sub nsw i32 %134, %135
  store i32 %137, ptr %6, align 4, !tbaa !40
  %138 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %139 unwind label %.loopexit

139:                                              ; preds = %136
  %140 = sub nsw i32 %137, %138
  store i32 %140, ptr %6, align 4, !tbaa !40
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = load ptr, ptr %141, align 8, !tbaa !41
  %143 = getelementptr inbounds i8, ptr %142, i64 72
  %144 = load ptr, ptr %143, align 8
  invoke void %144(ptr noundef nonnull align 8 dereferenceable(196) %141, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %145 unwind label %.loopexit.split-lp.loopexit

145:                                              ; preds = %139
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader25.3 unwind label %.loopexit.split-lp.loopexit

.preheader25.3:                                   ; preds = %145
  %146 = load ptr, ptr %30, align 8, !tbaa !50
  %147 = load ptr, ptr %146, align 8, !tbaa !41
  %148 = getelementptr inbounds i8, ptr %147, i64 40
  %149 = load ptr, ptr %148, align 8
  %150 = invoke noundef nonnull align 4 dereferenceable(4) ptr %149(ptr noundef nonnull align 8 dereferenceable(196) %146)
          to label %151 unwind label %.loopexit.split-lp.loopexit

151:                                              ; preds = %.preheader25.3
  %152 = load i32, ptr %150, align 4, !tbaa !40
  %153 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %152)
          to label %154 unwind label %.loopexit.split-lp.loopexit

154:                                              ; preds = %151
  %155 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %156 unwind label %.loopexit.split-lp.loopexit

156:                                              ; preds = %154
  %157 = add nsw i32 %155, 4
  store i32 %157, ptr %6, align 4, !tbaa !40
  %158 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %159 unwind label %.loopexit

159:                                              ; preds = %156
  %160 = sub nsw i32 %157, %158
  store i32 %160, ptr %6, align 4, !tbaa !40
  %161 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %162 unwind label %.loopexit

162:                                              ; preds = %159
  %163 = sub nsw i32 %160, %161
  store i32 %163, ptr %6, align 4, !tbaa !40
  %164 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %165 unwind label %.loopexit

165:                                              ; preds = %162
  %166 = sub nsw i32 %163, %164
  store i32 %166, ptr %6, align 4, !tbaa !40
  %167 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %168 unwind label %.loopexit

168:                                              ; preds = %165
  %169 = sub nsw i32 %166, %167
  store i32 %169, ptr %6, align 4, !tbaa !40
  %170 = load ptr, ptr %17, align 8, !tbaa !5
  %171 = load ptr, ptr %170, align 8, !tbaa !41
  %172 = getelementptr inbounds i8, ptr %171, i64 72
  %173 = load ptr, ptr %172, align 8
  invoke void %173(ptr noundef nonnull align 8 dereferenceable(196) %170, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %174 unwind label %.loopexit.split-lp.loopexit

174:                                              ; preds = %168
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader25.4 unwind label %.loopexit.split-lp.loopexit

.preheader25.4:                                   ; preds = %174
  %175 = load ptr, ptr %30, align 8, !tbaa !50
  %176 = load ptr, ptr %175, align 8, !tbaa !41
  %177 = getelementptr inbounds i8, ptr %176, i64 40
  %178 = load ptr, ptr %177, align 8
  %179 = invoke noundef nonnull align 4 dereferenceable(4) ptr %178(ptr noundef nonnull align 8 dereferenceable(196) %175)
          to label %180 unwind label %.loopexit.split-lp.loopexit

180:                                              ; preds = %.preheader25.4
  %181 = load i32, ptr %179, align 4, !tbaa !40
  %182 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN5sc_dt9sc_signedaSEi(ptr noundef nonnull align 8 dereferenceable(32) %2, i32 noundef %181)
          to label %183 unwind label %.loopexit.split-lp.loopexit

183:                                              ; preds = %180
  %184 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %185 unwind label %.loopexit.split-lp.loopexit

185:                                              ; preds = %183
  %186 = add nsw i32 %184, 5
  store i32 %186, ptr %6, align 4, !tbaa !40
  %187 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %188 unwind label %.loopexit

188:                                              ; preds = %185
  %189 = sub nsw i32 %186, %187
  store i32 %189, ptr %6, align 4, !tbaa !40
  %190 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %191 unwind label %.loopexit

191:                                              ; preds = %188
  %192 = sub nsw i32 %189, %190
  store i32 %192, ptr %6, align 4, !tbaa !40
  %193 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %194 unwind label %.loopexit

194:                                              ; preds = %191
  %195 = sub nsw i32 %192, %193
  store i32 %195, ptr %6, align 4, !tbaa !40
  %196 = invoke noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %197 unwind label %.loopexit

197:                                              ; preds = %194
  %198 = sub nsw i32 %195, %196
  store i32 %198, ptr %6, align 4, !tbaa !40
  %199 = load ptr, ptr %17, align 8, !tbaa !5
  %200 = load ptr, ptr %199, align 8, !tbaa !41
  %201 = getelementptr inbounds i8, ptr %200, i64 72
  %202 = load ptr, ptr %201, align 8
  invoke void %202(ptr noundef nonnull align 8 dereferenceable(196) %199, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %203 unwind label %.loopexit.split-lp.loopexit

203:                                              ; preds = %197
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %204 unwind label %.loopexit.split-lp.loopexit

204:                                              ; preds = %203
  %205 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  store i8 0, ptr %10, align 1, !tbaa !44
  %206 = load ptr, ptr %205, align 8, !tbaa !41
  %207 = getelementptr inbounds i8, ptr %206, i64 112
  %208 = load ptr, ptr %207, align 8
  invoke void %208(ptr noundef nonnull align 8 dereferenceable(224) %205, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %209 unwind label %229

209:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %210 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

210:                                              ; preds = %209
  %211 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  store i8 1, ptr %11, align 1, !tbaa !44
  %212 = load ptr, ptr %211, align 8, !tbaa !41
  %213 = getelementptr inbounds i8, ptr %212, i64 112
  %214 = load ptr, ptr %213, align 8
  invoke void %214(ptr noundef nonnull align 8 dereferenceable(224) %211, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %215 unwind label %231

215:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %216 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

216:                                              ; preds = %215
  %217 = load ptr, ptr %30, align 8, !tbaa !50
  %218 = load ptr, ptr %217, align 8, !tbaa !41
  %219 = getelementptr inbounds i8, ptr %218, i64 40
  %220 = load ptr, ptr %219, align 8
  %221 = invoke noundef nonnull align 4 dereferenceable(4) ptr %220(ptr noundef nonnull align 8 dereferenceable(196) %217)
          to label %222 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

222:                                              ; preds = %216
  %223 = load i32, ptr %221, align 4, !tbaa !40
  store i32 %223, ptr %6, align 4, !tbaa !40
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.preheader unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

.preheader:                                       ; preds = %222
  %.promoted38 = load i32, ptr %6, align 4, !tbaa !40
  %224 = add i32 %.promoted38, -3
  store i32 %224, ptr %6, align 4, !tbaa !40
  %225 = load ptr, ptr %17, align 8, !tbaa !5
  %226 = load ptr, ptr %225, align 8, !tbaa !41
  %227 = getelementptr inbounds i8, ptr %226, i64 72
  %228 = load ptr, ptr %227, align 8
  invoke void %228(ptr noundef nonnull align 8 dereferenceable(196) %225, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %233 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

229:                                              ; preds = %204
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  br label %.loopexit.split-lp

231:                                              ; preds = %210
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %.loopexit.split-lp

233:                                              ; preds = %.preheader
  %234 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  store i8 0, ptr %12, align 1, !tbaa !44
  %235 = load ptr, ptr %234, align 8, !tbaa !41
  %236 = getelementptr inbounds i8, ptr %235, i64 112
  %237 = load ptr, ptr %236, align 8
  invoke void %237(ptr noundef nonnull align 8 dereferenceable(224) %234, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %238 unwind label %245

238:                                              ; preds = %233
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %239 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

239:                                              ; preds = %238
  %240 = load ptr, ptr %23, align 8, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  store i8 1, ptr %13, align 1, !tbaa !44
  %241 = load ptr, ptr %240, align 8, !tbaa !41
  %242 = getelementptr inbounds i8, ptr %241, i64 112
  %243 = load ptr, ptr %242, align 8
  invoke void %243(ptr noundef nonnull align 8 dereferenceable(224) %240, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %244 unwind label %247

244:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  invoke void @_ZN7sc_core9sc_module4waitEv(ptr noundef nonnull align 8 dereferenceable(232) %0)
          to label %.backedge unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit

245:                                              ; preds = %233
  %246 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  br label %.loopexit.split-lp

247:                                              ; preds = %239
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit, %247, %245, %231, %229, %85, %49, %47
  %.pn = phi { ptr, i32 } [ %248, %247 ], [ %246, %245 ], [ %232, %231 ], [ %230, %229 ], [ %86, %85 ], [ %50, %49 ], [ %48, %47 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit26, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit29, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit32, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp33, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %249

249:                                              ; preds = %.loopexit.split-lp, %45
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit.split-lp ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %250

250:                                              ; preds = %249, %43
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %249 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #5
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %251

251:                                              ; preds = %250, %41
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %250 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @_ZN5sc_dt9sc_signedD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn.pn.pn.pn
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare noundef i32 @_ZNK5sc_dt9sc_signed6to_intEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

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

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

!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, !9, i64 448}
!6 = !{!"_ZTS8for_nest", !7, i64 0, !32, i64 232, !9, i64 416, !9, i64 424, !9, i64 432, !9, i64 440, !9, i64 448}
!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_core5sc_inIbEE", !33, i64 0, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176}
!33 = !{!"_ZTSN7sc_core7sc_portINS_15sc_signal_in_ifIbEELi1ELNS_14sc_port_policyE0EEE", !34, i64 0}
!34 = !{!"_ZTSN7sc_core9sc_port_bINS_15sc_signal_in_ifIbEEEE", !35, i64 0, !9, i64 120, !36, i64 128}
!35 = !{!"_ZTSN7sc_core12sc_port_baseE", !8, i64 0, !9, i64 112}
!36 = !{!"_ZTSSt6vectorIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_signal_in_ifIbEESaIS3_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!40 = !{!31, !31, i64 0}
!41 = !{!42, !42, i64 0}
!42 = !{!"vtable pointer", !11, i64 0}
!43 = !{!6, !9, i64 440}
!44 = !{!30, !30, i64 0}
!45 = !{!6, !9, i64 424}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = !{!6, !9, i64 432}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass