; LLVM IR from gem5/gem5 :: ext/systemc/src/sysc/kernel (sc_method_process)

; 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_method_process" = type { %"class.sc_core::sc_process_b.base", ptr, i64, %"class.std::vector.18" }
%"class.sc_core::sc_process_b.base" = type <{ %"class.sc_core::sc_object", ptr, i32, i32, i32, i32, i8, i8, [6 x i8], ptr, i32, [4 x i8], ptr, ptr, i8, i8, i8, i8, [4 x i8], ptr, ptr, i32, i32, %"class.std::vector.8", ptr, ptr, ptr, ptr, { i64, i64 }, i32, [4 x i8], %"class.std::vector.13", i8, [7 x i8], ptr, ptr, i32, i8, [3 x i8], ptr, i32, i8 }>
%"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.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<sc_core::sc_reset *, std::allocator<sc_core::sc_reset *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_reset *, std::allocator<sc_core::sc_reset *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_reset *, std::allocator<sc_core::sc_reset *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_reset *, std::allocator<sc_core::sc_reset *>>::_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<const sc_core::sc_event *, std::allocator<const sc_core::sc_event *>>::_Vector_impl" }
%"struct.std::_Vector_base<const sc_core::sc_event *, std::allocator<const sc_core::sc_event *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const sc_core::sc_event *, std::allocator<const sc_core::sc_event *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const sc_core::sc_event *, std::allocator<const sc_core::sc_event *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<sc_core::sc_process_monitor *, std::allocator<sc_core::sc_process_monitor *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_process_monitor *, std::allocator<sc_core::sc_process_monitor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_process_monitor *, std::allocator<sc_core::sc_process_monitor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_process_monitor *, std::allocator<sc_core::sc_process_monitor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sc_core::sc_process_b" = type <{ %"class.sc_core::sc_object", ptr, i32, i32, i32, i32, i8, i8, [6 x i8], ptr, i32, [4 x i8], ptr, ptr, i8, i8, i8, i8, [4 x i8], ptr, ptr, i32, i32, %"class.std::vector.8", ptr, ptr, ptr, ptr, { i64, i64 }, i32, [4 x i8], %"class.std::vector.13", i8, [7 x i8], ptr, ptr, i32, i8, [3 x i8], ptr, i32, i8, [3 x i8] }>
%"class.sc_core::sc_spawn_options" = type { i8, %"class.std::vector.38", %"class.std::vector.13", %"class.std::vector.43", %"class.std::vector.48", %"class.std::vector.53", i8, i32 }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<sc_core::sc_spawn_reset_base *, std::allocator<sc_core::sc_spawn_reset_base *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_spawn_reset_base *, std::allocator<sc_core::sc_spawn_reset_base *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_spawn_reset_base *, std::allocator<sc_core::sc_spawn_reset_base *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_spawn_reset_base *, std::allocator<sc_core::sc_spawn_reset_base *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<sc_core::sc_event_finder *, std::allocator<sc_core::sc_event_finder *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_event_finder *, std::allocator<sc_core::sc_event_finder *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_event_finder *, std::allocator<sc_core::sc_event_finder *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_event_finder *, std::allocator<sc_core::sc_event_finder *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<sc_core::sc_interface *, std::allocator<sc_core::sc_interface *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_interface *, std::allocator<sc_core::sc_interface *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_interface *, std::allocator<sc_core::sc_interface *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_interface *, std::allocator<sc_core::sc_interface *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<sc_core::sc_port_base *, std::allocator<sc_core::sc_port_base *>>::_Vector_impl" }
%"struct.std::_Vector_base<sc_core::sc_port_base *, std::allocator<sc_core::sc_port_base *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sc_core::sc_port_base *, std::allocator<sc_core::sc_port_base *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sc_core::sc_port_base *, std::allocator<sc_core::sc_port_base *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZTVN7sc_core17sc_method_processE = external dso_local unnamed_addr constant { [26 x ptr] }, align 8
@_ZTIN7sc_core15sc_process_hostE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7sc_core9sc_moduleE = external constant ptr
@_ZN7sc_core32SC_ID_MODULE_METHOD_AFTER_START_E = external constant [0 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #1

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

declare void @_ZNK7sc_core12sc_process_b12report_errorEPKcS2_(ptr noundef nonnull align 8 dereferenceable(357), ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core13sc_is_runningEPKNS_13sc_simcontextE(ptr noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7sc_core17sc_method_processC2EPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef %1, i1 noundef zeroext %2, i64 %3, i64 %4, ptr noundef %5, ptr noundef %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca { i64, i64 }, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca { i64, i64 }, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca { i64, i64 }, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  store i64 %3, ptr %22, align 8
  %23 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  store i64 %4, ptr %23, align 8
  %24 = load { i64, i64 }, ptr %8, align 8, !tbaa !5
  store ptr %0, ptr %9, align 8, !tbaa !8
  store ptr %1, ptr %10, align 8, !tbaa !8
  %25 = zext i1 %2 to i8
  store i8 %25, ptr %11, align 1, !tbaa !10
  store { i64, i64 } %24, ptr %12, align 8, !tbaa !5
  store ptr %5, ptr %13, align 8, !tbaa !8
  store ptr %6, ptr %14, align 8, !tbaa !8
  %26 = load ptr, ptr %9, align 8
  %27 = load ptr, ptr %10, align 8, !tbaa !8
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %31

29:                                               ; preds = %7
  %30 = load ptr, ptr %10, align 8, !tbaa !8
  br label %33

31:                                               ; preds = %7
  %32 = call noundef ptr @_ZN7sc_core18sc_gen_unique_nameEPKcb(ptr noundef @.str.3, i1 noundef zeroext false)
  br label %33

33:                                               ; preds = %31, %29
  %34 = phi ptr [ %30, %29 ], [ %32, %31 ]
  %35 = load i8, ptr %11, align 1, !tbaa !10, !range !12, !noundef !13
  %36 = trunc i8 %35 to i1
  %37 = load { i64, i64 }, ptr %12, align 8, !tbaa !5
  %38 = load ptr, ptr %13, align 8, !tbaa !8
  %39 = load ptr, ptr %14, align 8, !tbaa !8
  store { i64, i64 } %37, ptr %15, align 8, !tbaa !5
  %40 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 0
  %41 = load i64, ptr %40, align 8
  %42 = getelementptr inbounds { i64, i64 }, ptr %15, i32 0, i32 1
  %43 = load i64, ptr %42, align 8
  call void @_ZN7sc_core12sc_process_bC2EPKcbbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(357) %26, ptr noundef %34, i1 noundef zeroext false, i1 noundef zeroext %36, i64 %41, i64 %43, ptr noundef %38, ptr noundef %39)
  store ptr getelementptr inbounds inrange(-16, 192) ({ [26 x ptr] }, ptr @_ZTVN7sc_core17sc_method_processE, i32 0, i32 0, i32 2), ptr %26, align 8, !tbaa !14
  %44 = getelementptr inbounds %"class.sc_core::sc_method_process", ptr %26, i32 0, i32 1
  store ptr null, ptr %44, align 8, !tbaa !16
  %45 = getelementptr inbounds %"class.sc_core::sc_method_process", ptr %26, i32 0, i32 2
  store i64 0, ptr %45, align 8, !tbaa !47
  %46 = getelementptr inbounds %"class.sc_core::sc_method_process", ptr %26, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %46, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIPN7sc_core18sc_process_monitorESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #9
  %47 = load ptr, ptr %13, align 8, !tbaa !8
  %48 = icmp eq ptr %47, null
  br i1 %48, label %51, label %49

49:                                               ; preds = %33
  %50 = call ptr @__dynamic_cast(ptr %47, ptr @_ZTIN7sc_core15sc_process_hostE, ptr @_ZTIN7sc_core9sc_moduleE, i64 112) #9
  br label %52

51:                                               ; preds = %33
  br label %52

52:                                               ; preds = %51, %49
  %53 = phi ptr [ %50, %49 ], [ null, %51 ]
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %66

55:                                               ; preds = %52
  %56 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %57 unwind label %62

57:                                               ; preds = %55
  %58 = invoke noundef zeroext i1 @_ZN7sc_core13sc_is_runningEPKNS_13sc_simcontextE(ptr noundef %56)
          to label %59 unwind label %62

59:                                               ; preds = %57
  br i1 %58, label %60, label %66

60:                                               ; preds = %59
  invoke void @_ZNK7sc_core12sc_process_b12report_errorEPKcS2_(ptr noundef nonnull align 8 dereferenceable(357) %26, ptr noundef @_ZN7sc_core32SC_ID_MODULE_METHOD_AFTER_START_E, ptr noundef @.str.1)
          to label %61 unwind label %62

61:                                               ; preds = %60
  br label %66

62:                                               ; preds = %172, %60, %57, %55
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %16, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %17, align 4
  br label %178

66:                                               ; preds = %61, %59, %52
  %67 = getelementptr inbounds %"class.sc_core::sc_process_b", ptr %26, i32 0, i32 21
  store i32 1, ptr %67, align 8, !tbaa !48
  %68 = load ptr, ptr %14, align 8, !tbaa !8
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %175

70:                                               ; preds = %66
  %71 = load ptr, ptr %14, align 8, !tbaa !8
  %72 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %71, i32 0, i32 0
  %73 = load i8, ptr %72, align 8, !tbaa !49, !range !12, !noundef !13
  %74 = trunc i8 %73 to i1
  %75 = getelementptr inbounds %"class.sc_core::sc_process_b", ptr %26, i32 0, i32 6
  %76 = zext i1 %74 to i8
  store i8 %76, ptr %75, align 8, !tbaa !67
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  store i32 0, ptr %18, align 4, !tbaa !68
  br label %77

77:                                               ; preds = %93, %70
  %78 = load i32, ptr %18, align 4, !tbaa !68
  %79 = zext i32 %78 to i64
  %80 = load ptr, ptr %14, align 8, !tbaa !8
  %81 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %80, i32 0, i32 2
  %82 = call noundef i64 @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #9
  %83 = icmp ult i64 %79, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %100

85:                                               ; preds = %77
  %86 = load ptr, ptr %14, align 8, !tbaa !8
  %87 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %86, i32 0, i32 2
  %88 = load i32, ptr %18, align 4, !tbaa !68
  %89 = zext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %89) #9
  %91 = load ptr, ptr %90, align 8, !tbaa !8
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_8sc_eventE(ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(160) %91)
          to label %92 unwind label %96

92:                                               ; preds = %85
  br label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %18, align 4, !tbaa !68
  %95 = add i32 %94, 1
  store i32 %95, ptr %18, align 4, !tbaa !68
  br label %77, !llvm.loop !69

96:                                               ; preds = %85
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %16, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %178

100:                                              ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 0, ptr %19, align 4, !tbaa !68
  br label %101

101:                                              ; preds = %117, %100
  %102 = load i32, ptr %19, align 4, !tbaa !68
  %103 = zext i32 %102 to i64
  %104 = load ptr, ptr %14, align 8, !tbaa !8
  %105 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %104, i32 0, i32 5
  %106 = call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %105) #9
  %107 = icmp ult i64 %103, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %124

109:                                              ; preds = %101
  %110 = load ptr, ptr %14, align 8, !tbaa !8
  %111 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %110, i32 0, i32 5
  %112 = load i32, ptr %19, align 4, !tbaa !68
  %113 = zext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %111, i64 noundef %113) #9
  %115 = load ptr, ptr %114, align 8, !tbaa !8
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_port_baseE(ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(120) %115)
          to label %116 unwind label %120

116:                                              ; preds = %109
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %19, align 4, !tbaa !68
  %119 = add i32 %118, 1
  store i32 %119, ptr %19, align 4, !tbaa !68
  br label %101, !llvm.loop !71

120:                                              ; preds = %109
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %16, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %178

124:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !68
  br label %125

125:                                              ; preds = %141, %124
  %126 = load i32, ptr %20, align 4, !tbaa !68
  %127 = zext i32 %126 to i64
  %128 = load ptr, ptr %14, align 8, !tbaa !8
  %129 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %128, i32 0, i32 4
  %130 = call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #9
  %131 = icmp ult i64 %127, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %148

133:                                              ; preds = %125
  %134 = load ptr, ptr %14, align 8, !tbaa !8
  %135 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %134, i32 0, i32 4
  %136 = load i32, ptr %20, align 4, !tbaa !68
  %137 = zext i32 %136 to i64
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %137) #9
  %139 = load ptr, ptr %138, align 8, !tbaa !8
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_interfaceE(ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(8) %139)
          to label %140 unwind label %144

140:                                              ; preds = %133
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %20, align 4, !tbaa !68
  %143 = add i32 %142, 1
  store i32 %143, ptr %20, align 4, !tbaa !68
  br label %125, !llvm.loop !72

144:                                              ; preds = %133
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %16, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %178

148:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !68
  br label %149

149:                                              ; preds = %165, %148
  %150 = load i32, ptr %21, align 4, !tbaa !68
  %151 = zext i32 %150 to i64
  %152 = load ptr, ptr %14, align 8, !tbaa !8
  %153 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %152, i32 0, i32 3
  %154 = call noundef i64 @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #9
  %155 = icmp ult i64 %151, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %172

157:                                              ; preds = %149
  %158 = load ptr, ptr %14, align 8, !tbaa !8
  %159 = getelementptr inbounds %"class.sc_core::sc_spawn_options", ptr %158, i32 0, i32 3
  %160 = load i32, ptr %21, align 4, !tbaa !68
  %161 = zext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %161) #9
  %163 = load ptr, ptr %162, align 8, !tbaa !8
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERNS_15sc_event_finderE(ptr noundef %26, ptr noundef nonnull align 8 dereferenceable(16) %163)
          to label %164 unwind label %168

164:                                              ; preds = %157
  br label %165

165:                                              ; preds = %164
  %166 = load i32, ptr %21, align 4, !tbaa !68
  %167 = add i32 %166, 1
  store i32 %167, ptr %21, align 4, !tbaa !68
  br label %149, !llvm.loop !73

168:                                              ; preds = %157
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %16, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %178

172:                                              ; preds = %156
  %173 = load ptr, ptr %14, align 8, !tbaa !8
  invoke void @_ZNK7sc_core16sc_spawn_options14specify_resetsEv(ptr noundef nonnull align 8 dereferenceable(136) %173)
          to label %174 unwind label %62

174:                                              ; preds = %172
  br label %177

175:                                              ; preds = %66
  %176 = getelementptr inbounds %"class.sc_core::sc_process_b", ptr %26, i32 0, i32 6
  store i8 0, ptr %176, align 8, !tbaa !67
  br label %177

177:                                              ; preds = %175, %174
  ret void

178:                                              ; preds = %168, %144, %120, %96, %62
  call void @_ZNSt6vectorIPN7sc_core18sc_process_monitorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #9
  call void @_ZN7sc_core12sc_process_bD2Ev(ptr noundef nonnull align 8 dereferenceable(357) %26) #9
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %16, align 8
  %181 = load i32, ptr %17, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183
}

declare noundef ptr @_ZN7sc_core18sc_gen_unique_nameEPKcb(ptr noundef, i1 noundef zeroext) #2

declare void @_ZN7sc_core12sc_process_bC2EPKcbbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(357), ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i64, i64, ptr noundef, ptr noundef) unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_port_baseE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(120)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERNS_15sc_event_finderE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

declare void @_ZNK7sc_core16sc_spawn_options14specify_resetsEv(ptr noundef nonnull align 8 dereferenceable(136)) #2

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

; Function Attrs: nounwind
declare void @_ZN7sc_core12sc_process_bD2Ev(ptr noundef nonnull align 8 dereferenceable(357)) unnamed_addr #8

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"bool", !6, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !7, i64 0}
!16 = !{!17, !9, i64 360}
!17 = !{!"_ZTSN7sc_core17sc_method_processE", !18, i64 0, !9, i64 360, !30, i64 368, !43, i64 376}
!18 = !{!"_ZTSN7sc_core12sc_process_bE", !19, i64 0, !9, i64 112, !31, i64 120, !31, i64 124, !31, i64 128, !31, i64 132, !11, i64 136, !11, i64 137, !9, i64 144, !31, i64 152, !9, i64 160, !9, i64 168, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !9, i64 184, !9, i64 192, !32, i64 200, !31, i64 204, !33, i64 208, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !6, i64 264, !31, i64 280, !37, i64 288, !11, i64 312, !9, i64 320, !9, i64 328, !41, i64 336, !11, i64 340, !9, i64 344, !42, i64 352, !11, i64 356}
!19 = !{!"_ZTSN7sc_core9sc_objectE", !9, i64 8, !20, i64 16, !24, i64 40, !28, i64 64, !9, i64 96, !9, i64 104}
!20 = !{!"_ZTSSt6vectorIPN7sc_core8sc_eventESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_eventESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!24 = !{!"_ZTSSt6vectorIPN7sc_core9sc_objectESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core9sc_objectESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !29, i64 0, !30, i64 8, !6, i64 16}
!29 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!30 = !{!"long", !6, i64 0}
!31 = !{!"int", !6, i64 0}
!32 = !{!"_ZTSN7sc_core17sc_curr_proc_kindE", !6, i64 0}
!33 = !{!"_ZTSSt6vectorIPN7sc_core8sc_resetESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!37 = !{!"_ZTSSt6vectorIPKN7sc_core8sc_eventESaIS3_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!41 = !{!"_ZTSN7sc_core12sc_process_b18process_throw_typeE", !6, i64 0}
!42 = !{!"_ZTSN7sc_core12sc_process_b9trigger_tE", !6, i64 0}
!43 = !{!"_ZTSSt6vectorIPN7sc_core18sc_process_monitorESaIS2_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIPN7sc_core18sc_process_monitorESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core18sc_process_monitorESaIS2_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core18sc_process_monitorESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!47 = !{!17, !30, i64 368}
!48 = !{!18, !32, i64 200}
!49 = !{!50, !11, i64 0}
!50 = !{!"_ZTSN7sc_core16sc_spawn_optionsE", !11, i64 0, !51, i64 8, !37, i64 32, !55, i64 56, !59, i64 80, !63, i64 104, !11, i64 128, !31, i64 132}
!51 = !{!"_ZTSSt6vectorIPN7sc_core19sc_spawn_reset_baseESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!55 = !{!"_ZTSSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!59 = !{!"_ZTSSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE", !60, i64 0}
!60 = !{!"_ZTSSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE12_Vector_implE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!63 = !{!"_ZTSSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE", !64, i64 0}
!64 = !{!"_ZTSSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE12_Vector_implE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!67 = !{!18, !11, i64 136}
!68 = !{!31, !31, i64 0}
!69 = distinct !{!69, !70}
!70 = !{!"llvm.loop.mustprogress"}
!71 = distinct !{!71, !70}
!72 = distinct !{!72, !70}
!73 = distinct !{!73, !70}


; 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"

@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZTVN7sc_core17sc_method_processE = external dso_local unnamed_addr constant { [26 x ptr] }, align 8
@_ZTIN7sc_core15sc_process_hostE = external dso_local constant { ptr, ptr }, align 8
@_ZTIN7sc_core9sc_moduleE = external constant ptr
@_ZN7sc_core32SC_ID_MODULE_METHOD_AFTER_START_E = external constant [0 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #0

declare void @_ZNK7sc_core12sc_process_b12report_errorEPKcS2_(ptr noundef nonnull align 8 dereferenceable(357), ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7sc_core13sc_is_runningEPKNS_13sc_simcontextE(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7sc_core17sc_method_processC2EPKcbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef %1, i1 noundef zeroext %2, i64 %3, i64 %4, ptr noundef %5, ptr noundef %6) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %8, label %10

8:                                                ; preds = %7
  %9 = tail call noundef ptr @_ZN7sc_core18sc_gen_unique_nameEPKcb(ptr noundef nonnull @.str.3, i1 noundef zeroext false)
  br label %10

10:                                               ; preds = %7, %8
  %11 = phi ptr [ %9, %8 ], [ %1, %7 ]
  tail call void @_ZN7sc_core12sc_process_bC2EPKcbbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(357) %0, ptr noundef %11, i1 noundef zeroext false, i1 noundef zeroext %2, i64 %3, i64 %4, ptr noundef %5, ptr noundef %6)
  store ptr getelementptr inbounds inrange(-16, 192) (i8, ptr @_ZTVN7sc_core17sc_method_processE, i64 16), ptr %0, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 360
  %13 = getelementptr inbounds i8, ptr %0, i64 376
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %12, i8 0, i64 40, i1 false)
  tail call void @_ZNSt6vectorIPN7sc_core18sc_process_monitorESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %14 = icmp eq ptr %5, null
  br i1 %14, label %.critedge, label %15

15:                                               ; preds = %10
  %16 = tail call ptr @__dynamic_cast(ptr nonnull %5, ptr nonnull @_ZTIN7sc_core15sc_process_hostE, ptr nonnull @_ZTIN7sc_core9sc_moduleE, i64 112) #8
  %17 = icmp eq ptr %16, null
  br i1 %17, label %.critedge, label %18

18:                                               ; preds = %15
  %19 = invoke noundef ptr @_ZN7sc_core22sc_get_curr_simcontextEv()
          to label %20 unwind label %23

20:                                               ; preds = %18
  %21 = tail call noundef zeroext i1 @_ZN7sc_core13sc_is_runningEPKNS_13sc_simcontextE(ptr noundef %19)
  br i1 %21, label %22, label %.critedge

22:                                               ; preds = %20
  invoke void @_ZNK7sc_core12sc_process_b12report_errorEPKcS2_(ptr noundef nonnull align 8 dereferenceable(357) %0, ptr noundef nonnull @_ZN7sc_core32SC_ID_MODULE_METHOD_AFTER_START_E, ptr noundef nonnull @.str.1)
          to label %.critedge unwind label %23

23:                                               ; preds = %._crit_edge, %22, %18
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %80

.critedge:                                        ; preds = %10, %22, %20, %15
  %25 = getelementptr inbounds i8, ptr %0, i64 200
  store i32 1, ptr %25, align 8, !tbaa !8
  %.not54 = icmp eq ptr %6, null
  br i1 %.not54, label %77, label %26

26:                                               ; preds = %.critedge
  %27 = load i8, ptr %6, align 8, !tbaa !37, !range !55, !noundef !56
  %28 = getelementptr inbounds i8, ptr %0, i64 136
  store i8 %27, ptr %28, align 8, !tbaa !57
  %29 = getelementptr inbounds i8, ptr %6, i64 32
  %30 = tail call noundef i64 @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  %.not65 = icmp eq i64 %30, 0
  br i1 %.not65, label %.preheader57, label %.lr.ph

.preheader57:                                     ; preds = %36, %26
  %31 = getelementptr inbounds i8, ptr %6, i64 104
  %32 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %.not66 = icmp eq i64 %32, 0
  br i1 %.not66, label %.preheader56, label %.lr.ph60

.lr.ph:                                           ; preds = %26, %36
  %33 = phi i64 [ %38, %36 ], [ 0, %26 ]
  %.04358 = phi i32 [ %37, %36 ], [ 0, %26 ]
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %33) #8
  %35 = load ptr, ptr %34, align 8, !tbaa !58
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_8sc_eventE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(160) %35)
          to label %36 unwind label %41

36:                                               ; preds = %.lr.ph
  %37 = add i32 %.04358, 1
  %38 = zext i32 %37 to i64
  %39 = tail call noundef i64 @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  %40 = icmp ugt i64 %39, %38
  br i1 %40, label %.lr.ph, label %.preheader57, !llvm.loop !59

41:                                               ; preds = %.lr.ph
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %80

.preheader56:                                     ; preds = %48, %.preheader57
  %43 = getelementptr inbounds i8, ptr %6, i64 80
  %44 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  %.not67 = icmp eq i64 %44, 0
  br i1 %.not67, label %.preheader, label %.lr.ph62

.lr.ph60:                                         ; preds = %.preheader57, %48
  %45 = phi i64 [ %50, %48 ], [ 0, %.preheader57 ]
  %.04259 = phi i32 [ %49, %48 ], [ 0, %.preheader57 ]
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %45) #8
  %47 = load ptr, ptr %46, align 8, !tbaa !58
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_port_baseE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(120) %47)
          to label %48 unwind label %53

48:                                               ; preds = %.lr.ph60
  %49 = add i32 %.04259, 1
  %50 = zext i32 %49 to i64
  %51 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  %52 = icmp ugt i64 %51, %50
  br i1 %52, label %.lr.ph60, label %.preheader56, !llvm.loop !61

53:                                               ; preds = %.lr.ph60
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %80

.preheader:                                       ; preds = %60, %.preheader56
  %55 = getelementptr inbounds i8, ptr %6, i64 56
  %56 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %.not68 = icmp eq i64 %56, 0
  br i1 %.not68, label %._crit_edge, label %.lr.ph64

.lr.ph62:                                         ; preds = %.preheader56, %60
  %57 = phi i64 [ %62, %60 ], [ 0, %.preheader56 ]
  %.04161 = phi i32 [ %61, %60 ], [ 0, %.preheader56 ]
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %57) #8
  %59 = load ptr, ptr %58, align 8, !tbaa !58
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_interfaceE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(8) %59)
          to label %60 unwind label %65

60:                                               ; preds = %.lr.ph62
  %61 = add i32 %.04161, 1
  %62 = zext i32 %61 to i64
  %63 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  %64 = icmp ugt i64 %63, %62
  br i1 %64, label %.lr.ph62, label %.preheader, !llvm.loop !62

65:                                               ; preds = %.lr.ph62
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %80

._crit_edge:                                      ; preds = %70, %.preheader
  invoke void @_ZNK7sc_core16sc_spawn_options14specify_resetsEv(ptr noundef nonnull align 8 dereferenceable(136) %6)
          to label %79 unwind label %23

.lr.ph64:                                         ; preds = %.preheader, %70
  %67 = phi i64 [ %72, %70 ], [ 0, %.preheader ]
  %.063 = phi i32 [ %71, %70 ], [ 0, %.preheader ]
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef %67) #8
  %69 = load ptr, ptr %68, align 8, !tbaa !58
  invoke void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERNS_15sc_event_finderE(ptr noundef nonnull %0, ptr noundef nonnull align 8 dereferenceable(16) %69)
          to label %70 unwind label %75

70:                                               ; preds = %.lr.ph64
  %71 = add i32 %.063, 1
  %72 = zext i32 %71 to i64
  %73 = tail call noundef i64 @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %55) #8
  %74 = icmp ugt i64 %73, %72
  br i1 %74, label %.lr.ph64, label %._crit_edge, !llvm.loop !63

75:                                               ; preds = %.lr.ph64
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %80

77:                                               ; preds = %.critedge
  %78 = getelementptr inbounds i8, ptr %0, i64 136
  store i8 0, ptr %78, align 8, !tbaa !57
  br label %79

79:                                               ; preds = %._crit_edge, %77
  ret void

80:                                               ; preds = %75, %65, %53, %41, %23
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %54, %53 ], [ %66, %65 ], [ %76, %75 ], [ %24, %23 ]
  tail call void @_ZNSt6vectorIPN7sc_core18sc_process_monitorESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  tail call void @_ZN7sc_core12sc_process_bD2Ev(ptr noundef nonnull align 8 dereferenceable(357) %0) #8
  resume { ptr, i32 } %.pn
}

declare noundef ptr @_ZN7sc_core18sc_gen_unique_nameEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

declare void @_ZN7sc_core12sc_process_bC2EPKcbbMNS_15sc_process_hostEFvvEPS3_PKNS_16sc_spawn_optionsE(ptr noundef nonnull align 8 dereferenceable(357), ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i64, i64, ptr noundef, ptr noundef) unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_8sc_eventE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPKN7sc_core8sc_eventESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_port_baseE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_port_baseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERKNS_12sc_interfaceE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core12sc_interfaceESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

declare void @_ZN7sc_core12sc_sensitive23make_static_sensitivityEPNS_12sc_process_bERNS_15sc_event_finderE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7sc_core15sc_event_finderESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #6 align 2

declare void @_ZNK7sc_core16sc_spawn_options14specify_resetsEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !26, i64 200}
!9 = !{!"_ZTSN7sc_core12sc_process_bE", !10, i64 0, !11, i64 112, !24, i64 120, !24, i64 124, !24, i64 128, !24, i64 132, !25, i64 136, !25, i64 137, !11, i64 144, !24, i64 152, !11, i64 160, !11, i64 168, !25, i64 176, !25, i64 177, !25, i64 178, !25, i64 179, !11, i64 184, !11, i64 192, !26, i64 200, !24, i64 204, !27, i64 208, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !12, i64 264, !24, i64 280, !31, i64 288, !25, i64 312, !11, i64 320, !11, i64 328, !35, i64 336, !25, i64 340, !11, i64 344, !36, i64 352, !25, i64 356}
!10 = !{!"_ZTSN7sc_core9sc_objectE", !11, i64 8, !13, i64 16, !17, i64 40, !21, i64 64, !11, i64 96, !11, i64 104}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!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", !11, i64 0, !11, i64 8, !11, 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", !11, i64 0, !11, i64 8, !11, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !12, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!23 = !{!"long", !12, i64 0}
!24 = !{!"int", !12, i64 0}
!25 = !{!"bool", !12, i64 0}
!26 = !{!"_ZTSN7sc_core17sc_curr_proc_kindE", !12, i64 0}
!27 = !{!"_ZTSSt6vectorIPN7sc_core8sc_resetESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core8sc_resetESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!31 = !{!"_ZTSSt6vectorIPKN7sc_core8sc_eventESaIS3_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPKN7sc_core8sc_eventESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!35 = !{!"_ZTSN7sc_core12sc_process_b18process_throw_typeE", !12, i64 0}
!36 = !{!"_ZTSN7sc_core12sc_process_b9trigger_tE", !12, i64 0}
!37 = !{!38, !25, i64 0}
!38 = !{!"_ZTSN7sc_core16sc_spawn_optionsE", !25, i64 0, !39, i64 8, !31, i64 32, !43, i64 56, !47, i64 80, !51, i64 104, !25, i64 128, !24, i64 132}
!39 = !{!"_ZTSSt6vectorIPN7sc_core19sc_spawn_reset_baseESaIS2_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core19sc_spawn_reset_baseESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!43 = !{!"_ZTSSt6vectorIPN7sc_core15sc_event_finderESaIS2_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core15sc_event_finderESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!47 = !{!"_ZTSSt6vectorIPN7sc_core12sc_interfaceESaIS2_EE", !48, i64 0}
!48 = !{!"_ZTSSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE12_Vector_implE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_interfaceESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!51 = !{!"_ZTSSt6vectorIPN7sc_core12sc_port_baseESaIS2_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIPN7sc_core12sc_port_baseESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!9, !25, i64 136}
!58 = !{!11, !11, i64 0}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}
!61 = distinct !{!61, !60}
!62 = distinct !{!62, !60}
!63 = distinct !{!63, !60}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass