; LLVM IR from Eaglegor/SchedulerEngine :: Engine/SceneManager/Queries (OperationStopMappingQuery)

; 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.boost::intrusive::list_iterator.1" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.140" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.130" }
%"struct.std::__detail::_Node_iterator_base.130" = type { ptr }
%"struct.std::pair.66" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2" = type { [8 x i8], %"class.boost::intrusive::list_iterator.1" }
%"struct.std::pair.106" = type <{ %"struct.std::__detail::_Node_iterator.62", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator.62" = type { %"struct.std::__detail::_Node_iterator_base.63" }
%"struct.std::__detail::_Node_iterator_base.63" = type { ptr }
%"class.Scheduler::OperationStopMappingQuery" = type { %"class.Scheduler::StructuralChangesListener", ptr, i8, %"class.std::unordered_map", %"class.std::unordered_map.9" }
%"class.Scheduler::StructuralChangesListener" = type { ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.9" = type { %"class.std::_Hashtable.10" }
%"class.std::_Hashtable.10" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEE4baseEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Scheduler25OperationStopMappingQuery6updateEv(ptr noundef nonnull align 8 dereferenceable(136) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %14 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %17 = alloca %"struct.std::pair.66", align 8
  %18 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2", align 8
  %19 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2", align 8
  %20 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %21 = alloca %"struct.std::pair.66", align 8
  %22 = alloca %"struct.std::pair.106", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %25 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %28 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %29 = alloca %"struct.std::pair.66", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %30 = load ptr, ptr %2, align 8
  %31 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 3
  call void @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %31) #6
  %32 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 4
  call void @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %33 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %34)
  store ptr %35, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = call ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %4, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = call ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.140", ptr %5, i32 0, i32 0
  store ptr %40, ptr %41, align 8
  br label %42

42:                                               ; preds = %150, %1
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %43, label %45, label %44

44:                                               ; preds = %42
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %152

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %47 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %46) #6
  store ptr %47, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %48)
  store ptr %49, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  br label %56

56:                                               ; preds = %147, %45
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %57, label %59, label %58

58:                                               ; preds = %56
  store i32 4, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %149

59:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %61 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  store ptr %61, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %62)
  %64 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %63)
  store ptr %64, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %65) #6
  %67 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %13, i32 0, i32 0
  %68 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.130", ptr %67, i32 0, i32 0
  store ptr %66, ptr %68, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %69) #6
  %71 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %14, i32 0, i32 0
  %72 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.130", ptr %71, i32 0, i32 0
  store ptr %70, ptr %72, align 8
  br label %73

73:                                               ; preds = %88, %59
  %74 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %74, label %76, label %75

75:                                               ; preds = %73
  store i32 6, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %90

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %78 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #6
  store ptr %78, ptr %15, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 3
  %80 = load ptr, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %81)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %16, ptr noundef nonnull align 8 dereferenceable(32) %82)
  %83 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %79, ptr noundef nonnull align 8 dereferenceable(128) %80, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %84 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 0
  %85 = extractvalue { ptr, i8 } %83, 0
  store ptr %85, ptr %84, align 8
  %86 = getelementptr inbounds { ptr, i8 }, ptr %17, i32 0, i32 1
  %87 = extractvalue { ptr, i8 } %83, 1
  store i8 %87, ptr %86, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %88

88:                                               ; preds = %76
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %73

90:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  %91 = load ptr, ptr %11, align 8, !tbaa !5
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %91)
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %92)
  br label %93

93:                                               ; preds = %115, %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %94 = load ptr, ptr %11, align 8, !tbaa !5
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %94)
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %95)
  %96 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  br label %117

98:                                               ; preds = %93
  %99 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 3
  %100 = call noundef ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %101 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %100)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEE4baseEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %102 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_13WorkOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %99, ptr noundef nonnull align 8 dereferenceable(136) %101, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %103 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 0
  %104 = extractvalue { ptr, i8 } %102, 0
  store ptr %104, ptr %103, align 8
  %105 = getelementptr inbounds { ptr, i8 }, ptr %21, i32 0, i32 1
  %106 = extractvalue { ptr, i8 } %102, 1
  store i8 %106, ptr %105, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %107 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 4
  %108 = call noundef ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %109 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %108)
  %110 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE7emplaceIJRKNS1_13WorkOperationERSN_EEESS_INSt8__detail14_Node_iteratorISU_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %107, ptr noundef nonnull align 8 dereferenceable(136) %109, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %111 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %112 = extractvalue { ptr, i8 } %110, 0
  store ptr %112, ptr %111, align 8
  %113 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %114 = extractvalue { ptr, i8 } %110, 1
  store i8 %114, ptr %113, align 8
  br label %115

115:                                              ; preds = %98
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  br label %93, !llvm.loop !21

117:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609) %118)
  %120 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %119)
  store ptr %120, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %121 = load ptr, ptr %23, align 8, !tbaa !5
  %122 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %121) #6
  %123 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %24, i32 0, i32 0
  %124 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.130", ptr %123, i32 0, i32 0
  store ptr %122, ptr %124, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %125 = load ptr, ptr %23, align 8, !tbaa !5
  %126 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %125) #6
  %127 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %25, i32 0, i32 0
  %128 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.130", ptr %127, i32 0, i32 0
  store ptr %126, ptr %128, align 8
  br label %129

129:                                              ; preds = %144, %117
  %130 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %130, label %132, label %131

131:                                              ; preds = %129
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %146

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %134 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %133) #6
  store ptr %134, ptr %26, align 8, !tbaa !5
  %135 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 3
  %136 = load ptr, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %137)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %138)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %27, ptr noundef %28, i64 noundef 1)
  %139 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %135, ptr noundef nonnull align 8 dereferenceable(128) %136, ptr noundef nonnull align 8 dereferenceable(8) %27)
  %140 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 0
  %141 = extractvalue { ptr, i8 } %139, 0
  store ptr %141, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i8 }, ptr %29, i32 0, i32 1
  %143 = extractvalue { ptr, i8 } %139, 1
  store i8 %143, ptr %142, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %144

144:                                              ; preds = %132
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %129

146:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %147

147:                                              ; preds = %146
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %56

149:                                              ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %150

150:                                              ; preds = %149
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %42

152:                                              ; preds = %44
  %153 = getelementptr inbounds %"class.Scheduler::OperationStopMappingQuery", ptr %30, i32 0, i32 2
  store i8 0, ptr %153, align 8, !tbaa !23
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_13WorkOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168)) #2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE7emplaceIJRKNS1_13WorkOperationERSN_EEESS_INSt8__detail14_Node_iteratorISU_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344)) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352)) #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTSN9Scheduler25OperationStopMappingQueryE", !11, i64 0, !6, i64 8, !12, i64 16, !13, i64 24, !19, i64 80}
!11 = !{!"_ZTSN9Scheduler25StructuralChangesListenerE"}
!12 = !{!"bool", !7, i64 0}
!13 = !{!"_ZTSSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE", !14, i64 0}
!14 = !{!"_ZTSSt10_HashtableISt17reference_wrapperIKN9Scheduler9OperationEESt4pairIKS4_N5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS4_ESt4hashIS4_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !15, i64 8, !16, i64 16, !15, i64 24, !17, i64 32, !6, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!17 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !18, i64 0, !15, i64 8}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE", !20, i64 0}
!20 = !{!"_ZTSSt10_HashtableISt17reference_wrapperIKN9Scheduler9OperationEESt4pairIKS4_NS1_16RangeTypeAdapterINS1_5RangeINS8_IN5boost9intrusive4listINS1_4StopEJNSA_12value_traitsINSC_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSJ_NSA_13list_iteratorISE_Lb1EEEEEESaISQ_ENSt8__detail10_Select1stESt8equal_toIS4_ESt4hashIS4_ENSS_18_Mod_range_hashingENSS_20_Default_ranged_hashENSS_20_Prime_rehash_policyENSS_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !15, i64 8, !16, i64 16, !15, i64 24, !17, i64 32, !6, i64 48}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!10, !12, i64 16}


; 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.boost::intrusive::list_iterator.1" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.140" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.130" }
%"struct.std::__detail::_Node_iterator_base.130" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2" = type { [8 x i8], %"class.boost::intrusive::list_iterator.1" }

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEE4baseEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Scheduler25OperationStopMappingQuery6updateEv(ptr noundef nonnull align 8 dereferenceable(136) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.140", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %8 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %9 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2", align 8
  %10 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2", align 8
  %11 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %12 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %14 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %15 = alloca %"class.boost::intrusive::list_iterator.1", align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %16) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE5clearEv(ptr noundef nonnull align 8 dereferenceable(56) %17) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  %21 = tail call ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %21, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %22 = tail call ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  store ptr %22, ptr %3, align 8
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %23, label %.lr.ph34, label %._crit_edge35

._crit_edge35:                                    ; preds = %._crit_edge32, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  store i8 0, ptr %24, align 8, !tbaa !20
  ret void

.lr.ph34:                                         ; preds = %1, %._crit_edge32
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %26 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %26)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %28 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  store ptr %28, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %29 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  store ptr %29, ptr %5, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %30, label %.lr.ph31, label %._crit_edge32

._crit_edge32:                                    ; preds = %._crit_edge29, %.lr.ph34
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #6
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %32, label %.lr.ph34, label %._crit_edge35

.lr.ph31:                                         ; preds = %.lr.ph34, %._crit_edge29
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %34 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  %35 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  %36 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %37 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %36) #6
  store ptr %37, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %38 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %36) #6
  store ptr %38, ptr %7, align 8
  %39 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %39, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %40)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %41)
  %42 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br i1 %42, label %.lr.ph25, label %._crit_edge26

.lr.ph:                                           ; preds = %.lr.ph31, %.lr.ph
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %44 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %45)
  %46 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(128) %44, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %48 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %48, label %.lr.ph, label %._crit_edge

._crit_edge26:                                    ; preds = %.lr.ph25, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  %49 = call noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  %50 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216) %49)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %51 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %50) #6
  store ptr %51, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %52 = call ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %50) #6
  store ptr %52, ptr %13, align 8
  %53 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %53, label %.lr.ph28, label %._crit_edge29

.lr.ph25:                                         ; preds = %._crit_edge, %.lr.ph25
  %54 = call noundef ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %55 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEE4baseEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %56 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_13WorkOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(136) %55, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  %57 = call noundef ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEptEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %58 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168) %57)
  %59 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE7emplaceIJRKNS1_13WorkOperationERSN_EEESS_INSt8__detail14_Node_iteratorISU_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 8 dereferenceable(136) %58, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %60 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %61)
  %62 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br i1 %62, label %.lr.ph25, label %._crit_edge26, !llvm.loop !21

._crit_edge29:                                    ; preds = %.lr.ph28, %._crit_edge26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %64, label %.lr.ph31, label %._crit_edge32

.lr.ph28:                                         ; preds = %._crit_edge26, %.lr.ph28
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %66 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %67 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %34)
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %15, ptr noundef nonnull align 8 dereferenceable(32) %67)
  call void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator.1") align 8 %14, ptr noundef nonnull %15, i64 noundef 1)
  %68 = call { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %16, ptr noundef nonnull align 8 dereferenceable(128) %66, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1ELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %70 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %70, label %.lr.ph28, label %._crit_edge29
}

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_13WorkOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEptEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK9Scheduler8WorkStop12getOperationEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE7emplaceIJRKNS1_13WorkOperationERSN_EEESS_INSt8__detail14_Node_iteratorISU_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(136), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run12getStartStopEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(56) ptr @_ZNK9Scheduler9DepotStop13getOperationsEv(ptr noundef nonnull align 8 dereferenceable(216)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_setISt17reference_wrapperIKN9Scheduler14DepotOperationEESt4hashIS4_ESt8equal_toIS4_ESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt17reference_wrapperIKN9Scheduler14DepotOperationEELb1EEES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt17reference_wrapperIKN9Scheduler14DepotOperationEEcvRS2_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.2") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(216) ptr @_ZNK9Scheduler3Run10getEndStopEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

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

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

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344)) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE7emplaceIJRKNS1_14DepotOperationESA_EEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb1EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9Scheduler3Run8getStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4prevIN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind noalias writable sret(%"class.boost::intrusive::list_iterator.1") align 8, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"_ZTSN9Scheduler25OperationStopMappingQueryE", !7, i64 0, !8, i64 8, !11, i64 16, !12, i64 24, !18, i64 80}
!7 = !{!"_ZTSN9Scheduler25StructuralChangesListenerE"}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEEN5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SA_EEE", !13, i64 0}
!13 = !{!"_ZTSSt10_HashtableISt17reference_wrapperIKN9Scheduler9OperationEESt4pairIKS4_N5boost9intrusive13list_iteratorINS1_4Stop20IntrusiveValueTraitsELb1EEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS4_ESt4hashIS4_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE", !8, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !8, i64 48}
!14 = !{!"long", !9, i64 0}
!15 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !8, i64 0}
!16 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !17, i64 0, !14, i64 8}
!17 = !{!"float", !9, i64 0}
!18 = !{!"_ZTSSt13unordered_mapISt17reference_wrapperIKN9Scheduler9OperationEENS1_16RangeTypeAdapterINS1_5RangeINS6_IN5boost9intrusive4listINS1_4StopEJNS8_12value_traitsINSA_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSH_NS8_13list_iteratorISC_Lb1EEEEESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_SN_EEE", !19, i64 0}
!19 = !{!"_ZTSSt10_HashtableISt17reference_wrapperIKN9Scheduler9OperationEESt4pairIKS4_NS1_16RangeTypeAdapterINS1_5RangeINS8_IN5boost9intrusive4listINS1_4StopEJNSA_12value_traitsINSC_20IntrusiveValueTraitsEEEEEEEEEENS1_8WorkStopEE8IteratorIKSJ_NSA_13list_iteratorISE_Lb1EEEEEESaISQ_ENSt8__detail10_Select1stESt8equal_toIS4_ESt4hashIS4_ENSS_18_Mod_range_hashingENSS_20_Default_ranged_hashENSS_20_Prime_rehash_policyENSS_17_Hashtable_traitsILb1ELb0ELb1EEEE", !8, i64 0, !14, i64 8, !15, i64 16, !14, i64 24, !16, i64 32, !8, i64 48}
!20 = !{!6, !11, i64 16}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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