; LLVM IR from Eaglegor/SchedulerEngine :: Persistence/SceneLoaders/TspLibSceneLoader (TspLibSceneLoader)

; 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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::vector.148" = type { %"struct.std::_Vector_base.149" }
%"struct.std::_Vector_base.149" = type { %"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Scheduler::Site" = type { %"class.Scheduler::Coordinate", %"class.Scheduler::Coordinate" }
%"class.Scheduler::Coordinate" = type { i32 }
%"class.Scheduler::Duration" = type { i64 }
%"class.std::reference_wrapper" = type { ptr }
%"class.Scheduler::ScheduleActualizationModel" = type { %"class.std::reference_wrapper.189", %"class.std::reference_wrapper.198", %"class.std::reference_wrapper.207" }
%"class.std::reference_wrapper.189" = type { ptr }
%"class.std::reference_wrapper.198" = type { ptr }
%"class.std::reference_wrapper.207" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.261" = type { ptr }
%"class.boost::optional.271" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.321" = type { [8 x i8], %"class.boost::intrusive::list_iterator.323" }
%"class.boost::intrusive::list_iterator.323" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator" = type { [8 x i8], %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }
%"class.Scheduler::TspLibSceneLoader" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler17TspLibSceneLoader9loadSceneERSiRNS_20TspLibRoutingServiceENS0_6FormatERj(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::vector.148", align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.Scheduler::Site", align 4
  %25 = alloca %"class.Scheduler::Coordinate", align 4
  %26 = alloca %"class.Scheduler::Coordinate", align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.Scheduler::Duration", align 8
  %32 = alloca %"class.std::reference_wrapper", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.Scheduler::Site", align 4
  %35 = alloca %"class.Scheduler::Coordinate", align 4
  %36 = alloca %"class.Scheduler::Coordinate", align 4
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"class.Scheduler::ScheduleActualizationModel", align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.261", align 8
  %44 = alloca %"class.boost::optional.271", align 8
  %45 = alloca i64, align 8
  %46 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.321", align 8
  %47 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %48 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %50 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %50, label %59 [
    i32 1, label %51
    i32 0, label %55
  ]

51:                                               ; preds = %5
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN9Scheduler17TspLibSceneLoader16loadBinaryMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
  br label %59

55:                                               ; preds = %5
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN9Scheduler17TspLibSceneLoader13loadXmlMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 4 dereferenceable(4) %58)
  br label %59

59:                                               ; preds = %55, %51, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %60 = getelementptr inbounds %"class.Scheduler::TspLibSceneLoader", ptr %49, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %61)
  %63 = call noundef nonnull align 8 dereferenceable(377) ptr @_ZN9Scheduler12SceneManager18createSceneContextEv(ptr noundef nonnull align 8 dereferenceable(160) %62)
  store ptr %63, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZN9Scheduler12SceneContext13createVehicleEv(ptr noundef nonnull align 8 dereferenceable(377) %64)
  store ptr %65, ptr %13, align 8, !tbaa !5
  %66 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %67 unwind label %79

67:                                               ; preds = %59
  invoke void @_ZN9Scheduler7Vehicle7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152) %66, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %68 unwind label %83

68:                                               ; preds = %67
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZN9Scheduler12SceneContext15createPerformerEv(ptr noundef nonnull align 8 dereferenceable(377) %69)
  store ptr %70, ptr %18, align 8, !tbaa !5
  %71 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %72 unwind label %88

72:                                               ; preds = %68
  invoke void @_ZN9Scheduler9Performer7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %71, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %73 unwind label %92

73:                                               ; preds = %72
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #5
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  store i64 1, ptr %22, align 8, !tbaa !13
  br label %74

74:                                               ; preds = %123, %73
  %75 = load i64, ptr %22, align 8, !tbaa !13
  %76 = load i64, ptr %11, align 8, !tbaa !13
  %77 = icmp ult i64 %75, %76
  br i1 %77, label %97, label %78

78:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %163

79:                                               ; preds = %59
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %16, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %17, align 4
  br label %87

83:                                               ; preds = %67
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %16, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %87

87:                                               ; preds = %83, %79
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #5
  br label %279

88:                                               ; preds = %68
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %16, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %17, align 4
  br label %96

92:                                               ; preds = %72
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %16, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #5
  br label %96

96:                                               ; preds = %92, %88
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #5
  br label %278

97:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %99 = load i64, ptr %22, align 8, !tbaa !13
  %100 = trunc i64 %99 to i32
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %100)
          to label %101 unwind label %126

101:                                              ; preds = %97
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %26, i32 noundef 0)
          to label %102 unwind label %126

102:                                              ; preds = %101
  invoke void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8) %24, ptr noundef %25, ptr noundef %26)
          to label %103 unwind label %126

103:                                              ; preds = %102
  %104 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377) %98, ptr noundef nonnull align 4 dereferenceable(8) %24)
          to label %105 unwind label %126

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  store ptr %104, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load ptr, ptr %23, align 8, !tbaa !5
  %108 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN9Scheduler12SceneContext11createOrderERKNS_8LocationE(ptr noundef nonnull align 8 dereferenceable(377) %106, ptr noundef nonnull align 8 dereferenceable(48) %107)
          to label %109 unwind label %130

109:                                              ; preds = %105
  store ptr %108, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %110 = load ptr, ptr %27, align 8, !tbaa !5
  %111 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZN9Scheduler5Order16getWorkOperationEv(ptr noundef nonnull align 8 dereferenceable(88) %110)
          to label %112 unwind label %134

112:                                              ; preds = %109
  store ptr %111, ptr %28, align 8, !tbaa !5
  %113 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #5
  %114 = load i64, ptr %22, align 8, !tbaa !13
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, i64 noundef %114)
          to label %115 unwind label %138

115:                                              ; preds = %112
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %29, ptr noundef @.str.5, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %116 unwind label %142

116:                                              ; preds = %115
  invoke void @_ZN9Scheduler9Operation7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %113, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %117 unwind label %146

117:                                              ; preds = %116
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #5
  %118 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  invoke void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %31, i64 noundef 0)
          to label %119 unwind label %152

119:                                              ; preds = %117
  invoke void @_ZN9Scheduler9Operation11setDurationERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(128) %118, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %120 unwind label %152

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %121 = load ptr, ptr %28, align 8, !tbaa !5
  call void @_ZNSt17reference_wrapperIN9Scheduler13WorkOperationEEC2IRS1_vPS1_EEOT_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(136) %121) #5
  invoke void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %122 unwind label %156

122:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %123

123:                                              ; preds = %122
  %124 = load i64, ptr %22, align 8, !tbaa !13
  %125 = add i64 %124, 1
  store i64 %125, ptr %22, align 8, !tbaa !13
  br label %74, !llvm.loop !15

126:                                              ; preds = %103, %102, %101, %97
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %16, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %162

130:                                              ; preds = %105
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %16, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %17, align 4
  br label %161

134:                                              ; preds = %109
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %16, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %17, align 4
  br label %160

138:                                              ; preds = %112
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %16, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %17, align 4
  br label %151

142:                                              ; preds = %115
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %16, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %17, align 4
  br label %150

146:                                              ; preds = %116
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %16, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #5
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #5
  br label %151

151:                                              ; preds = %150, %138
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #5
  br label %160

152:                                              ; preds = %119, %117
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %16, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %160

156:                                              ; preds = %120
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %16, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %160

160:                                              ; preds = %156, %152, %151, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %161

161:                                              ; preds = %160, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %162

162:                                              ; preds = %161, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %277

163:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %164 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %35, i32 noundef 0)
          to label %165 unwind label %216

165:                                              ; preds = %163
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %36, i32 noundef 0)
          to label %166 unwind label %216

166:                                              ; preds = %165
  invoke void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef %35, ptr noundef %36)
          to label %167 unwind label %216

167:                                              ; preds = %166
  %168 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377) %164, ptr noundef nonnull align 4 dereferenceable(8) %34)
          to label %169 unwind label %216

169:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  store ptr %168, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %170 = getelementptr inbounds %"class.Scheduler::TspLibSceneLoader", ptr %49, i32 0, i32 0
  %171 = load ptr, ptr %170, align 8, !tbaa !11
  %172 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %171)
          to label %173 unwind label %220

173:                                              ; preds = %169
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler12SceneManager11createSceneERKNS_12SceneContextE(ptr noundef nonnull align 8 dereferenceable(160) %172, ptr noundef nonnull align 8 dereferenceable(377) %174)
          to label %176 unwind label %220

176:                                              ; preds = %173
  store ptr %175, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %177 = load ptr, ptr %37, align 8, !tbaa !5
  %178 = load ptr, ptr %18, align 8, !tbaa !5
  %179 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344) %177, ptr noundef nonnull align 8 dereferenceable(128) %178)
          to label %180 unwind label %224

180:                                              ; preds = %176
  store ptr %179, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %39) #5
  invoke void @_ZN9Scheduler26ScheduleActualizationModelC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %181 unwind label %228

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  %182 = getelementptr inbounds %"class.Scheduler::TspLibSceneLoader", ptr %49, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8, !tbaa !11
  %184 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN9Scheduler6Engine20getAlgorithmsManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %183)
          to label %185 unwind label %232

185:                                              ; preds = %181
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = invoke noundef nonnull align 8 dereferenceable(20) ptr @_ZN9Scheduler17AlgorithmsManager15createAlgorithmINS_34DefaultRouteActualizationAlgorithmEJRNS_20TspLibRoutingServiceEEEERT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(144) %184, ptr noundef nonnull align 8 dereferenceable(24) %186)
          to label %188 unwind label %232

188:                                              ; preds = %185
  store ptr %187, ptr %40, align 8, !tbaa !5
  %189 = load ptr, ptr %40, align 8, !tbaa !5
  invoke void @_ZN9Scheduler26ScheduleActualizationModel30setRouteActualizationAlgorithmERKNS_27RouteActualizationAlgorithmE(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(8) %189)
          to label %190 unwind label %232

190:                                              ; preds = %188
  %191 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZN9Scheduler8Schedule21setActualizationModelERKNS_26ScheduleActualizationModelE(ptr noundef nonnull align 8 dereferenceable(352) %191, ptr noundef nonnull align 8 dereferenceable(24) %39)
          to label %192 unwind label %232

192:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  %193 = load ptr, ptr %38, align 8, !tbaa !5
  %194 = load ptr, ptr %38, align 8, !tbaa !5
  %195 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %194)
          to label %196 unwind label %236

196:                                              ; preds = %192
  %197 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %195) #5
  %198 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.261", ptr %43, i32 0, i32 0
  store ptr %197, ptr %198, align 8
  %199 = load ptr, ptr %33, align 8, !tbaa !5
  %200 = load ptr, ptr %33, align 8, !tbaa !5
  %201 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.261", ptr %43, i32 0, i32 0
  %202 = load ptr, ptr %201, align 8
  %203 = invoke ptr @_ZN9Scheduler8Schedule9createRunEN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperINS_3RunEESt6vectorIS5_SaIS5_EEEERKNS_8LocationESE_(ptr noundef nonnull align 8 dereferenceable(352) %193, ptr %202, ptr noundef nonnull align 8 dereferenceable(48) %199, ptr noundef nonnull align 8 dereferenceable(48) %200)
          to label %204 unwind label %236

204:                                              ; preds = %196
  %205 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %203, ptr %205, align 8
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #5
  %207 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %206) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  store ptr %207, ptr %41, align 8, !tbaa !5
  %208 = load ptr, ptr %41, align 8, !tbaa !5
  %209 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN5boost8optionalIRKN9Scheduler7VehicleEEC2IS2_EERT_NS_11enable_if_cIXaasr6detail15is_same_decayedIS3_S7_EE5valuentsr6detail36is_const_integral_bad_for_conversionIS7_EE5valueEbE4typeE(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(152) %209, i1 noundef zeroext true) #5
  invoke void @_ZN9Scheduler3Run10setVehicleEN5boost8optionalIRKNS_7VehicleEEE(ptr noundef nonnull align 8 dereferenceable(609) %208, ptr noundef %44)
          to label %210 unwind label %240

210:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  store i64 0, ptr %45, align 8, !tbaa !13
  br label %211

211:                                              ; preds = %257, %210
  %212 = load i64, ptr %45, align 8, !tbaa !13
  %213 = call noundef i64 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  %214 = icmp ult i64 %212, %213
  br i1 %214, label %244, label %215

215:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %269

216:                                              ; preds = %167, %166, %165, %163
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %16, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  br label %276

220:                                              ; preds = %173, %169
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %16, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %17, align 4
  br label %275

224:                                              ; preds = %176
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %16, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %17, align 4
  br label %274

228:                                              ; preds = %180
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %16, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %17, align 4
  br label %273

232:                                              ; preds = %190, %188, %185, %181
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %16, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %17, align 4
  br label %272

236:                                              ; preds = %196, %192
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %16, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %271

240:                                              ; preds = %204
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %16, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %17, align 4
  br label %271

244:                                              ; preds = %211
  %245 = load ptr, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #5
  %246 = load ptr, ptr %41, align 8, !tbaa !5
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %246)
          to label %248 unwind label %260

248:                                              ; preds = %244
  invoke void @_ZN9Scheduler16RangeTypeAdapterINS_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") align 8 %47, ptr noundef nonnull align 8 dereferenceable(8) %247)
          to label %249 unwind label %260

249:                                              ; preds = %248
  invoke void @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEC2INSE_ISC_NSG_IS7_Lb0EEEEEEERKT_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %250 unwind label %260

250:                                              ; preds = %249
  %251 = load i64, ptr %45, align 8, !tbaa !13
  %252 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef %251) #5
  %253 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNKSt17reference_wrapperIN9Scheduler13WorkOperationEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %252) #5
  %254 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9Scheduler9Operation8getOrderEv(ptr noundef nonnull align 8 dereferenceable(128) %253)
          to label %255 unwind label %260

255:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #5
  invoke void @_ZN9Scheduler3Run13allocateOrderENS_16RangeTypeAdapterINS_5RangeINS2_IN5boost9intrusive4listINS_4StopEJNS4_12value_traitsINS6_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSD_NS4_13list_iteratorIS8_Lb1EEEEERKNS_5OrderE(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") align 8 %48, ptr noundef nonnull align 8 dereferenceable(609) %245, ptr noundef %46, ptr noundef nonnull align 8 dereferenceable(88) %254)
          to label %256 unwind label %264

256:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #5
  br label %257

257:                                              ; preds = %256
  %258 = load i64, ptr %45, align 8, !tbaa !13
  %259 = add i64 %258, 1
  store i64 %259, ptr %45, align 8, !tbaa !13
  br label %211, !llvm.loop !17

260:                                              ; preds = %250, %249, %248, %244
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %16, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %17, align 4
  br label %268

264:                                              ; preds = %255
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %16, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #5
  br label %268

268:                                              ; preds = %264, %260
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %271

269:                                              ; preds = %215
  %270 = load ptr, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  ret ptr %270

271:                                              ; preds = %268, %240, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  br label %272

272:                                              ; preds = %271, %232
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br label %273

273:                                              ; preds = %272, %228
  call void @llvm.lifetime.end.p0(i64 24, ptr %39) #5
  br label %274

274:                                              ; preds = %273, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %275

275:                                              ; preds = %274, %220
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  br label %276

276:                                              ; preds = %275, %216
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br label %277

277:                                              ; preds = %276, %162
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #5
  br label %278

278:                                              ; preds = %277, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %279

279:                                              ; preds = %278, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %280

280:                                              ; preds = %279
  %281 = load ptr, ptr %16, align 8
  %282 = load i32, ptr %17, align 4
  %283 = insertvalue { ptr, i32 } poison, ptr %281, 0
  %284 = insertvalue { ptr, i32 } %283, i32 %282, 1
  resume { ptr, i32 } %284
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler17TspLibSceneLoader16loadBinaryMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler17TspLibSceneLoader13loadXmlMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

declare noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312)) #3

declare noundef nonnull align 8 dereferenceable(377) ptr @_ZN9Scheduler12SceneManager18createSceneContextEv(ptr noundef nonnull align 8 dereferenceable(160)) #3

declare noundef nonnull align 8 dereferenceable(152) ptr @_ZN9Scheduler12SceneContext13createVehicleEv(ptr noundef nonnull align 8 dereferenceable(377)) #3

declare void @_ZN9Scheduler7Vehicle7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZN9Scheduler12SceneContext15createPerformerEv(ptr noundef nonnull align 8 dereferenceable(377)) #3

declare void @_ZN9Scheduler9Performer7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 4 dereferenceable(8)) #3

declare void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #3

declare void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZN9Scheduler12SceneContext11createOrderERKNS_8LocationE(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 8 dereferenceable(48)) #3

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZN9Scheduler5Order16getWorkOperationEv(ptr noundef nonnull align 8 dereferenceable(88)) #3

declare void @_ZN9Scheduler9Operation7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) #4

declare void @_ZN9Scheduler9Operation11setDurationERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) #3

declare void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

declare noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler12SceneManager11createSceneERKNS_12SceneContextE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(377)) #3

declare noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 8 dereferenceable(128)) #3

declare void @_ZN9Scheduler26ScheduleActualizationModelC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(144) ptr @_ZN9Scheduler6Engine20getAlgorithmsManagerEv(ptr noundef nonnull align 8 dereferenceable(312)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZN9Scheduler17AlgorithmsManager15createAlgorithmINS_34DefaultRouteActualizationAlgorithmEJRNS_20TspLibRoutingServiceEEEERT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare void @_ZN9Scheduler26ScheduleActualizationModel30setRouteActualizationAlgorithmERKNS_27RouteActualizationAlgorithmE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) #3

declare void @_ZN9Scheduler8Schedule21setActualizationModelERKNS_26ScheduleActualizationModelE(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef nonnull align 8 dereferenceable(24)) #3

declare ptr @_ZN9Scheduler8Schedule9createRunEN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperINS_3RunEESt6vectorIS5_SaIS5_EEEERKNS_8LocationESE_(ptr noundef nonnull align 8 dereferenceable(352), ptr, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #3

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 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)) #1 align 2

declare void @_ZN9Scheduler3Run10setVehicleEN5boost8optionalIRKNS_7VehicleEEE(ptr noundef nonnull align 8 dereferenceable(609), ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost8optionalIRKN9Scheduler7VehicleEEC2IS2_EERT_NS_11enable_if_cIXaasr6detail15is_same_decayedIS3_S7_EE5valuentsr6detail36is_const_integral_bad_for_conversionIS7_EE5valueEbE4typeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152), i1 noundef zeroext) unnamed_addr #1 align 2

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

declare void @_ZN9Scheduler3Run13allocateOrderENS_16RangeTypeAdapterINS_5RangeINS2_IN5boost9intrusive4listINS_4StopEJNS4_12value_traitsINS6_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSD_NS4_13list_iteratorIS8_Lb1EEEEERKNS_5OrderE(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") align 8, ptr noundef nonnull align 8 dereferenceable(609), ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler16RangeTypeAdapterINS_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") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9Scheduler9Operation8getOrderEv(ptr noundef nonnull align 8 dereferenceable(128)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN9Scheduler17TspLibSceneLoader6FormatE", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN9Scheduler17TspLibSceneLoaderE", !6, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !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.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::vector.148" = type { %"struct.std::_Vector_base.149" }
%"struct.std::_Vector_base.149" = type { %"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::reference_wrapper<Scheduler::WorkOperation>, std::allocator<std::reference_wrapper<Scheduler::WorkOperation>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Scheduler::Site" = type { %"class.Scheduler::Coordinate", %"class.Scheduler::Coordinate" }
%"class.Scheduler::Coordinate" = type { i32 }
%"class.Scheduler::Duration" = type { i64 }
%"class.std::reference_wrapper" = type { ptr }
%"class.Scheduler::ScheduleActualizationModel" = type { %"class.std::reference_wrapper.189", %"class.std::reference_wrapper.198", %"class.std::reference_wrapper.207" }
%"class.std::reference_wrapper.189" = type { ptr }
%"class.std::reference_wrapper.198" = type { ptr }
%"class.std::reference_wrapper.207" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.boost::optional.271" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.321" = type { [8 x i8], %"class.boost::intrusive::list_iterator.323" }
%"class.boost::intrusive::list_iterator.323" = type { %"struct.boost::intrusive::iiterator_members" }
%"struct.boost::intrusive::iiterator_members" = type { ptr }
%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator" = type { [8 x i8], %"class.boost::intrusive::list_iterator" }
%"class.boost::intrusive::list_iterator" = type { %"struct.boost::intrusive::iiterator_members" }

@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler17TspLibSceneLoader9loadSceneERSiRNS_20TspLibRoutingServiceENS0_6FormatERj(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i64, align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::vector.148", align 8
  %12 = alloca %"class.Scheduler::Site", align 4
  %13 = alloca %"class.Scheduler::Coordinate", align 4
  %14 = alloca %"class.Scheduler::Coordinate", align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.Scheduler::Duration", align 8
  %18 = alloca %"class.std::reference_wrapper", align 8
  %19 = alloca %"class.Scheduler::Site", align 4
  %20 = alloca %"class.Scheduler::Coordinate", align 4
  %21 = alloca %"class.Scheduler::Coordinate", align 4
  %22 = alloca %"class.Scheduler::ScheduleActualizationModel", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.boost::optional.271", align 8
  %25 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.321", align 8
  %26 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  %27 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  switch i32 %3, label %30 [
    i32 1, label %28
    i32 0, label %29
  ]

28:                                               ; preds = %5
  call void @_ZN9Scheduler17TspLibSceneLoader16loadBinaryMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %30

29:                                               ; preds = %5
  call void @_ZN9Scheduler17TspLibSceneLoader13loadXmlMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 4 dereferenceable(4) %4)
  br label %30

30:                                               ; preds = %29, %28, %5
  %31 = load ptr, ptr %0, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %31)
  %33 = call noundef nonnull align 8 dereferenceable(377) ptr @_ZN9Scheduler12SceneManager18createSceneContextEv(ptr noundef nonnull align 8 dereferenceable(160) %32)
  %34 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZN9Scheduler12SceneContext13createVehicleEv(ptr noundef nonnull align 8 dereferenceable(377) %33)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %35 unwind label %42

35:                                               ; preds = %30
  invoke void @_ZN9Scheduler7Vehicle7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152) %34, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %36 unwind label %44

36:                                               ; preds = %35
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  %37 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZN9Scheduler12SceneContext15createPerformerEv(ptr noundef nonnull align 8 dereferenceable(377) %33)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %38 unwind label %47

38:                                               ; preds = %36
  invoke void @_ZN9Scheduler9Performer7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %37, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %39 unwind label %49

39:                                               ; preds = %38
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %40 = load i64, ptr %6, align 8, !tbaa !10
  %41 = icmp ugt i64 %40, 1
  br i1 %41, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %67, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 0)
          to label %89 unwind label %117

42:                                               ; preds = %30
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %46

44:                                               ; preds = %35
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %46

46:                                               ; preds = %44, %42
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  br label %150

47:                                               ; preds = %36
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %51

49:                                               ; preds = %38
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %51

51:                                               ; preds = %49, %47
  %.pn63 = phi { ptr, i32 } [ %50, %49 ], [ %48, %47 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  br label %150

.lr.ph:                                           ; preds = %39, %67
  %.06183 = phi i64 [ %68, %67 ], [ 1, %39 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %52 = trunc i64 %.06183 to i32
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 noundef %52)
          to label %53 unwind label %71

53:                                               ; preds = %.lr.ph
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %14, i32 noundef 0)
          to label %54 unwind label %71

54:                                               ; preds = %53
  invoke void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull %13, ptr noundef nonnull %14)
          to label %55 unwind label %71

55:                                               ; preds = %54
  %56 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377) %33, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %57 unwind label %71

57:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %58 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN9Scheduler12SceneContext11createOrderERKNS_8LocationE(ptr noundef nonnull align 8 dereferenceable(377) %33, ptr noundef nonnull align 8 dereferenceable(48) %56)
          to label %59 unwind label %73

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZN9Scheduler5Order16getWorkOperationEv(ptr noundef nonnull align 8 dereferenceable(88) %58)
          to label %61 unwind label %75

61:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #5
  invoke void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %16, i64 noundef %.06183)
          to label %62 unwind label %77

62:                                               ; preds = %61
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull @.str.5, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %63 unwind label %79

63:                                               ; preds = %62
  invoke void @_ZN9Scheduler9Operation7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %64 unwind label %81

64:                                               ; preds = %63
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  invoke void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8) %17, i64 noundef 0)
          to label %65 unwind label %85

65:                                               ; preds = %64
  invoke void @_ZN9Scheduler9Operation11setDurationERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %66 unwind label %85

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @_ZNSt17reference_wrapperIN9Scheduler13WorkOperationEEC2IRS1_vPS1_EEOT_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(136) %60) #5
  invoke void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %67 unwind label %87

67:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  %68 = add nuw i64 %.06183, 1
  %69 = load i64, ptr %6, align 8, !tbaa !10
  %70 = icmp ult i64 %68, %69
  br i1 %70, label %.lr.ph, label %._crit_edge, !llvm.loop !12

71:                                               ; preds = %55, %54, %53, %.lr.ph
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %149

73:                                               ; preds = %57
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %149

75:                                               ; preds = %59
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %149

77:                                               ; preds = %61
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %84

79:                                               ; preds = %62
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %83

81:                                               ; preds = %63
  %82 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %83

83:                                               ; preds = %81, %79
  %.pn73 = phi { ptr, i32 } [ %82, %81 ], [ %80, %79 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %84

84:                                               ; preds = %83, %77
  %.pn73.pn = phi { ptr, i32 } [ %.pn73, %83 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #5
  br label %149

85:                                               ; preds = %65, %64
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br label %149

87:                                               ; preds = %66
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  br label %149

89:                                               ; preds = %._crit_edge
  invoke void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4) %21, i32 noundef 0)
          to label %90 unwind label %117

90:                                               ; preds = %89
  invoke void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull %20, ptr noundef nonnull %21)
          to label %91 unwind label %117

91:                                               ; preds = %90
  %92 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377) %33, ptr noundef nonnull align 4 dereferenceable(8) %19)
          to label %93 unwind label %117

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  %94 = load ptr, ptr %0, align 8, !tbaa !5
  %95 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %94)
          to label %96 unwind label %119

96:                                               ; preds = %93
  %97 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler12SceneManager11createSceneERKNS_12SceneContextE(ptr noundef nonnull align 8 dereferenceable(160) %95, ptr noundef nonnull align 8 dereferenceable(377) %33)
          to label %98 unwind label %119

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344) %97, ptr noundef nonnull align 8 dereferenceable(128) %37)
          to label %100 unwind label %121

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #5
  invoke void @_ZN9Scheduler26ScheduleActualizationModelC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %101 unwind label %123

101:                                              ; preds = %100
  %102 = load ptr, ptr %0, align 8, !tbaa !5
  %103 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN9Scheduler6Engine20getAlgorithmsManagerEv(ptr noundef nonnull align 8 dereferenceable(312) %102)
          to label %104 unwind label %125

104:                                              ; preds = %101
  %105 = invoke noundef nonnull align 8 dereferenceable(20) ptr @_ZN9Scheduler17AlgorithmsManager15createAlgorithmINS_34DefaultRouteActualizationAlgorithmEJRNS_20TspLibRoutingServiceEEEERT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(144) %103, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %106 unwind label %125

106:                                              ; preds = %104
  invoke void @_ZN9Scheduler26ScheduleActualizationModel30setRouteActualizationAlgorithmERKNS_27RouteActualizationAlgorithmE(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(8) %105)
          to label %107 unwind label %125

107:                                              ; preds = %106
  invoke void @_ZN9Scheduler8Schedule21setActualizationModelERKNS_26ScheduleActualizationModelE(ptr noundef nonnull align 8 dereferenceable(352) %99, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %108 unwind label %125

108:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %109 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler8Schedule7getRunsEv(ptr noundef nonnull align 8 dereferenceable(352) %99)
          to label %110 unwind label %127

110:                                              ; preds = %108
  %111 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #5
  %112 = invoke ptr @_ZN9Scheduler8Schedule9createRunEN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperINS_3RunEESt6vectorIS5_SaIS5_EEEERKNS_8LocationESE_(ptr noundef nonnull align 8 dereferenceable(352) %99, ptr %111, ptr noundef nonnull align 8 dereferenceable(48) %92, ptr noundef nonnull align 8 dereferenceable(48) %92)
          to label %113 unwind label %127

113:                                              ; preds = %110
  store ptr %112, ptr %23, align 8
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %115 = call noundef nonnull align 8 dereferenceable(609) ptr @_ZNKSt17reference_wrapperIN9Scheduler3RunEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %114) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @_ZN5boost8optionalIRKN9Scheduler7VehicleEEC2IS2_EERT_NS_11enable_if_cIXaasr6detail15is_same_decayedIS3_S7_EE5valuentsr6detail36is_const_integral_bad_for_conversionIS7_EE5valueEbE4typeE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(152) %34, i1 noundef zeroext true) #5
  invoke void @_ZN9Scheduler3Run10setVehicleEN5boost8optionalIRKNS_7VehicleEEE(ptr noundef nonnull align 8 dereferenceable(609) %115, ptr noundef nonnull %24)
          to label %.preheader unwind label %129

.preheader:                                       ; preds = %113
  %116 = call noundef i64 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %.not = icmp eq i64 %116, 0
  br i1 %.not, label %._crit_edge86, label %.lr.ph85

._crit_edge86:                                    ; preds = %139, %.preheader
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #5
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  ret ptr %97

117:                                              ; preds = %91, %90, %89, %._crit_edge
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %149

119:                                              ; preds = %96, %93
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %149

121:                                              ; preds = %98
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %149

123:                                              ; preds = %100
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %148

125:                                              ; preds = %107, %106, %104, %101
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %148

127:                                              ; preds = %110, %108
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  br label %148

129:                                              ; preds = %113
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %148

.lr.ph85:                                         ; preds = %.preheader, %139
  %.084 = phi i64 [ %140, %139 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #5
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609) %115)
          to label %132 unwind label %143

132:                                              ; preds = %.lr.ph85
  invoke void @_ZN9Scheduler16RangeTypeAdapterINS_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") align 8 %26, ptr noundef nonnull align 8 dereferenceable(8) %131)
          to label %133 unwind label %143

133:                                              ; preds = %132
  invoke void @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEC2INSE_ISC_NSG_IS7_Lb0EEEEEEERKT_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %134 unwind label %143

134:                                              ; preds = %133
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %.084) #5
  %136 = call noundef nonnull align 8 dereferenceable(136) ptr @_ZNKSt17reference_wrapperIN9Scheduler13WorkOperationEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %135) #5
  %137 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9Scheduler9Operation8getOrderEv(ptr noundef nonnull align 8 dereferenceable(128) %136)
          to label %138 unwind label %143

138:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #5
  invoke void @_ZN9Scheduler3Run13allocateOrderENS_16RangeTypeAdapterINS_5RangeINS2_IN5boost9intrusive4listINS_4StopEJNS4_12value_traitsINS6_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSD_NS4_13list_iteratorIS8_Lb1EEEEERKNS_5OrderE(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") align 8 %27, ptr noundef nonnull align 8 dereferenceable(609) %115, ptr noundef nonnull %25, ptr noundef nonnull align 8 dereferenceable(88) %137)
          to label %139 unwind label %145

139:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  %140 = add nuw i64 %.084, 1
  %141 = call noundef i64 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %142 = icmp ult i64 %140, %141
  br i1 %142, label %.lr.ph85, label %._crit_edge86, !llvm.loop !14

143:                                              ; preds = %134, %133, %132, %.lr.ph85
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %138
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #5
  br label %147

147:                                              ; preds = %145, %143
  %.pn65 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #5
  br label %148

148:                                              ; preds = %125, %147, %129, %127, %123
  %.pn65.pn.pn.pn = phi { ptr, i32 } [ %124, %123 ], [ %126, %125 ], [ %.pn65, %147 ], [ %130, %129 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #5
  br label %149

149:                                              ; preds = %117, %121, %148, %119, %71, %75, %84, %85, %87, %73
  %.pn76.pn.pn.pn = phi { ptr, i32 } [ %72, %71 ], [ %74, %73 ], [ %88, %87 ], [ %86, %85 ], [ %.pn73.pn, %84 ], [ %76, %75 ], [ %118, %117 ], [ %120, %119 ], [ %.pn65.pn.pn.pn, %148 ], [ %122, %121 ]
  call void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %150

150:                                              ; preds = %51, %149, %46
  %.pn76.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn, %46 ], [ %.pn76.pn.pn.pn, %149 ], [ %.pn63, %51 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn76.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler17TspLibSceneLoader16loadBinaryMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler17TspLibSceneLoader13loadXmlMatrixERSiRmRNS_20TspLibRoutingServiceERj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(160) ptr @_ZN9Scheduler6Engine15getSceneManagerEv(ptr noundef nonnull align 8 dereferenceable(312)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(377) ptr @_ZN9Scheduler12SceneManager18createSceneContextEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(152) ptr @_ZN9Scheduler12SceneContext13createVehicleEv(ptr noundef nonnull align 8 dereferenceable(377)) local_unnamed_addr #3

declare void @_ZN9Scheduler7Vehicle7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(152), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZN9Scheduler12SceneContext15createPerformerEv(ptr noundef nonnull align 8 dereferenceable(377)) local_unnamed_addr #3

declare void @_ZN9Scheduler9Performer7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN9Scheduler12SceneContext14createLocationERKNS_4SiteE(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN9Scheduler10CoordinateC1Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #3

declare void @_ZN9Scheduler4SiteC1ENS_10CoordinateES1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZN9Scheduler12SceneContext11createOrderERKNS_8LocationE(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZN9Scheduler5Order16getWorkOperationEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

declare void @_ZN9Scheduler9Operation7setNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i64 noundef) local_unnamed_addr #4

declare void @_ZN9Scheduler9Operation11setDurationERKNS_8DurationE(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN9Scheduler8DurationC1El(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt17reference_wrapperIN9Scheduler13WorkOperationEESaIS3_EE9push_backEOS3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

declare noundef nonnull align 8 dereferenceable(344) ptr @_ZN9Scheduler12SceneManager11createSceneERKNS_12SceneContextE(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(377)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344), ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3

declare void @_ZN9Scheduler26ScheduleActualizationModelC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(144) ptr @_ZN9Scheduler6Engine20getAlgorithmsManagerEv(ptr noundef nonnull align 8 dereferenceable(312)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(20) ptr @_ZN9Scheduler17AlgorithmsManager15createAlgorithmINS_34DefaultRouteActualizationAlgorithmEJRNS_20TspLibRoutingServiceEEEERT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

declare void @_ZN9Scheduler26ScheduleActualizationModel30setRouteActualizationAlgorithmERKNS_27RouteActualizationAlgorithmE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare void @_ZN9Scheduler8Schedule21setActualizationModelERKNS_26ScheduleActualizationModelE(ptr noundef nonnull align 8 dereferenceable(352), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare ptr @_ZN9Scheduler8Schedule9createRunEN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperINS_3RunEESt6vectorIS5_SaIS5_EEEERKNS_8LocationESE_(ptr noundef nonnull align 8 dereferenceable(352), ptr, ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler3RunEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) 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_iteratorIPSt17reference_wrapperIN9Scheduler3RunEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 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 #1 align 2

declare void @_ZN9Scheduler3Run10setVehicleEN5boost8optionalIRKNS_7VehicleEEE(ptr noundef nonnull align 8 dereferenceable(609), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost8optionalIRKN9Scheduler7VehicleEEC2IS2_EERT_NS_11enable_if_cIXaasr6detail15is_same_decayedIS3_S7_EE5valuentsr6detail36is_const_integral_bad_for_conversionIS7_EE5valueEbE4typeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(152), i1 noundef zeroext) unnamed_addr #1 align 2

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

declare void @_ZN9Scheduler3Run13allocateOrderENS_16RangeTypeAdapterINS_5RangeINS2_IN5boost9intrusive4listINS_4StopEJNS4_12value_traitsINS6_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSD_NS4_13list_iteratorIS8_Lb1EEEEERKNS_5OrderE(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") align 8, ptr noundef nonnull align 8 dereferenceable(609), ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9Scheduler3Run12getWorkStopsEv(ptr noundef nonnull align 8 dereferenceable(609)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9Scheduler16RangeTypeAdapterINS_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") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

declare noundef nonnull align 8 dereferenceable(88) ptr @_ZNK9Scheduler9Operation8getOrderEv(ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN9Scheduler17TspLibSceneLoaderE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


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