; LLVM IR from Eaglegor/SchedulerEngine :: Engine/SceneManager/Run.ll (ZNK9Scheduler3Run12isConsistentEv)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.boost::intrusive::list_iterator" = 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.122" = type { [8 x i8], %"class.boost::intrusive::list_iterator" }
%"class.Scheduler::Run" = type <{ i64, %"struct.Scheduler::Run::Context", ptr, %"class.boost::optional", %"class.Scheduler::DepotStop", %"class.Scheduler::DepotStop", %"class.Scheduler::DurationActualizer", %"class.Scheduler::Range", %"class.Scheduler::Range.36", %"class.Scheduler::RangeTypeAdapter", ptr, %"class.boost::intrusive::list", i8, [7 x i8] }>
%"struct.Scheduler::Run::Context" = type { ptr, ptr, ptr }
%"class.boost::optional" = type { ptr }
%"class.Scheduler::DepotStop" = type { %"class.Scheduler::Stop", ptr, %"class.std::unordered_set" }
%"class.Scheduler::Stop" = type { ptr, %"class.Scheduler::Stop::IntrusiveListNode", %"struct.Scheduler::Stop::Context", %"class.Scheduler::RouteActualizer", %"class.Scheduler::Actualizable", %"class.Scheduler::Actualizable.1", %"class.Scheduler::Actualizable.11", %"class.std::reference_wrapper.21" }
%"class.Scheduler::Stop::IntrusiveListNode" = type { ptr, ptr, ptr }
%"struct.Scheduler::Stop::Context" = type { ptr, ptr }
%"class.Scheduler::RouteActualizer" = type <{ ptr, i8, [7 x i8] }>
%"class.Scheduler::Actualizable" = type { %"class.Scheduler::TimeWindow", %"class.std::reference_wrapper" }
%"class.Scheduler::TimeWindow" = type { %"class.Scheduler::TimePoint", %"class.Scheduler::TimePoint" }
%"class.Scheduler::TimePoint" = type { i64 }
%"class.std::reference_wrapper" = type { ptr }
%"class.Scheduler::Actualizable.1" = type { %"class.Scheduler::Duration", %"class.std::reference_wrapper.2" }
%"class.Scheduler::Duration" = type { i64 }
%"class.std::reference_wrapper.2" = type { ptr }
%"class.Scheduler::Actualizable.11" = type { %"class.Scheduler::Route", %"class.std::reference_wrapper.12" }
%"class.Scheduler::Route" = type { %"class.Scheduler::Site", %"class.Scheduler::Site", %"class.Scheduler::Distance", %"class.Scheduler::Duration" }
%"class.Scheduler::Site" = type { %"class.Scheduler::Coordinate", %"class.Scheduler::Coordinate" }
%"class.Scheduler::Coordinate" = type { i32 }
%"class.Scheduler::Distance" = type { float }
%"class.std::reference_wrapper.12" = type { ptr }
%"class.std::reference_wrapper.21" = type { ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.Scheduler::DurationActualizer" = type <{ ptr, i8, i8, [6 x i8] }>
%"class.Scheduler::Range" = type { i64, %"class.boost::intrusive::list_iterator.35", %"class.boost::intrusive::list_iterator.35", ptr }
%"class.boost::intrusive::list_iterator.35" = type { %"struct.boost::intrusive::iiterator_members" }
%"class.Scheduler::Range.36" = type { i64, %"class.boost::intrusive::list_iterator.35", %"class.boost::intrusive::list_iterator.35", ptr }
%"class.Scheduler::RangeTypeAdapter" = type { ptr }
%"class.boost::intrusive::list" = type { %"class.boost::intrusive::list_impl" }
%"class.boost::intrusive::list_impl" = type { %"struct.boost::intrusive::list_impl<Scheduler::Stop::IntrusiveValueTraits, unsigned long, true, void>::data_t" }
%"struct.boost::intrusive::list_impl<Scheduler::Stop::IntrusiveValueTraits, unsigned long, true, void>::data_t" = type { %"struct.boost::intrusive::list_impl<Scheduler::Stop::IntrusiveValueTraits, unsigned long, true, void>::root_plus_size" }
%"struct.boost::intrusive::list_impl<Scheduler::Stop::IntrusiveValueTraits, unsigned long, true, void>::root_plus_size" = type { %"struct.boost::intrusive::detail::size_holder", %"struct.boost::intrusive::detail::default_header_holder" }
%"struct.boost::intrusive::detail::size_holder" = type { i64 }
%"struct.boost::intrusive::detail::default_header_holder" = type { %"class.Scheduler::Stop::IntrusiveListNode" }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK9Scheduler3Run12isConsistentEv(ptr noundef nonnull align 8 dereferenceable(609) %0) #1 align 2 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.boost::intrusive::list_iterator", align 8
  %6 = alloca %"class.boost::intrusive::list_iterator", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.boost::intrusive::list_iterator", align 8
  %9 = alloca %"class.boost::intrusive::list_iterator", align 8
  %10 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122", align 8
  %11 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %13 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 7
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %13)
  br label %14

14:                                               ; preds = %31, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %15 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 7
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(32) %15)
  %16 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br i1 %16, label %18, label %17

17:                                               ; preds = %14
  store i32 2, ptr %7, align 4
  br label %33

18:                                               ; preds = %14
  %19 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %33

22:                                               ; preds = %18
  %23 = load i64, ptr %4, align 8, !tbaa !9
  %24 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 7
  %25 = call noundef i64 @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %24)
  %26 = icmp uge i64 %23, %25
  br i1 %26, label %27, label %28

27:                                               ; preds = %22
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %33

28:                                               ; preds = %22
  %29 = load i64, ptr %4, align 8, !tbaa !9
  %30 = add i64 %29, 1
  store i64 %30, ptr %4, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %28
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  br label %14, !llvm.loop !11

33:                                               ; preds = %27, %21, %17
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %34 = load i32, ptr %7, align 4
  switch i32 %34, label %100 [
    i32 2, label %35
  ]

35:                                               ; preds = %33
  %36 = load i64, ptr %4, align 8, !tbaa !9
  %37 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 7
  %38 = call noundef i64 @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %37)
  %39 = icmp ne i64 %36, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %100

41:                                               ; preds = %35
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %42 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 8
  call void @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE5beginEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %42)
  br label %43

43:                                               ; preds = %60, %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %44 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 8
  call void @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE3endEv(ptr dead_on_unwind writable sret(%"class.boost::intrusive::list_iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %44)
  %45 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 5, ptr %7, align 4
  br label %62

47:                                               ; preds = %43
  %48 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  %49 = icmp eq ptr %48, null
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %62

51:                                               ; preds = %47
  %52 = load i64, ptr %4, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 8
  %54 = call noundef i64 @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %53)
  %55 = icmp uge i64 %52, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %51
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %62

57:                                               ; preds = %51
  %58 = load i64, ptr %4, align 8, !tbaa !9
  %59 = add i64 %58, 1
  store i64 %59, ptr %4, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %57
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
  br label %43, !llvm.loop !13

62:                                               ; preds = %56, %50, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %63 = load i32, ptr %7, align 4
  switch i32 %63, label %100 [
    i32 5, label %64
  ]

64:                                               ; preds = %62
  %65 = load i64, ptr %4, align 8, !tbaa !9
  %66 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 8
  %67 = call noundef i64 @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %66)
  %68 = icmp ne i64 %65, %67
  br i1 %68, label %69, label %70

69:                                               ; preds = %64
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %100

70:                                               ; preds = %64
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %71 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 9
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %71)
  br label %72

72:                                               ; preds = %89, %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %73 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 9
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %73)
  %74 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  store i32 8, ptr %7, align 4
  br label %91

76:                                               ; preds = %72
  %77 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %78 = icmp eq ptr %77, null
  br i1 %78, label %79, label %80

79:                                               ; preds = %76
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %91

80:                                               ; preds = %76
  %81 = load i64, ptr %4, align 8, !tbaa !9
  %82 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 9
  %83 = call noundef i64 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %82)
  %84 = icmp uge i64 %81, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %80
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %91

86:                                               ; preds = %80
  %87 = load i64, ptr %4, align 8, !tbaa !9
  %88 = add i64 %87, 1
  store i64 %88, ptr %4, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %86
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  br label %72, !llvm.loop !14

91:                                               ; preds = %85, %79, %75
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  %92 = load i32, ptr %7, align 4
  switch i32 %92, label %100 [
    i32 8, label %93
  ]

93:                                               ; preds = %91
  %94 = load i64, ptr %4, align 8, !tbaa !9
  %95 = getelementptr inbounds %"class.Scheduler::Run", ptr %12, i32 0, i32 9
  %96 = call noundef i64 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %95)
  %97 = icmp ne i64 %94, %96
  br i1 %97, label %98, label %99

98:                                               ; preds = %93
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %100

99:                                               ; preds = %93
  store i1 true, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %100

100:                                              ; preds = %99, %98, %91, %69, %62, %40, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %101 = load i1, ptr %2, align 1
  ret i1 %101
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

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

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

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.boost::intrusive::list_iterator" = 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.122" = type { [8 x i8], %"class.boost::intrusive::list_iterator" }

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK9Scheduler3Run12isConsistentEv(ptr noundef nonnull align 8 dereferenceable(609) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"class.boost::intrusive::list_iterator", align 8
  %3 = alloca %"class.boost::intrusive::list_iterator", align 8
  %4 = alloca %"class.boost::intrusive::list_iterator", align 8
  %5 = alloca %"class.boost::intrusive::list_iterator", align 8
  %6 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122", align 8
  %7 = alloca %"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  %8 = getelementptr inbounds i8, ptr %0, i64 496
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %2, ptr noundef nonnull align 8 dereferenceable(32) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %8)
  %9 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1, %12
  %.01533 = phi i64 [ %13, %12 ], [ 0, %1 ]
  %10 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %11 = call noundef i64 @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %.not = icmp ult i64 %.01533, %11
  br i1 %.not, label %12, label %16

12:                                               ; preds = %.lr.ph
  %13 = add nuw i64 %.01533, 1
  %14 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(32) %8)
  %15 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br i1 %15, label %.lr.ph, label %._crit_edge, !llvm.loop !5

16:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %40

._crit_edge:                                      ; preds = %12, %1
  %.015.lcssa = phi i64 [ 0, %1 ], [ %13, %12 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  %17 = call noundef i64 @_ZNK9Scheduler5RangeIN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %.not21 = icmp eq i64 %.015.lcssa, %17
  br i1 %.not21, label %18, label %40

18:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %19 = getelementptr inbounds i8, ptr %0, i64 528
  call void @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(32) %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %19)
  %20 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %20, label %.lr.ph36, label %._crit_edge37

.lr.ph36:                                         ; preds = %18, %23
  %.11634 = phi i64 [ %24, %23 ], [ 0, %18 ]
  %21 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  %22 = call noundef i64 @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
  %.not22 = icmp ult i64 %.11634, %22
  br i1 %.not22, label %23, label %27

23:                                               ; preds = %.lr.ph36
  %24 = add nuw i64 %.11634, 1
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::intrusive::list_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %19)
  %26 = call noundef zeroext i1 @_ZN5boost9intrusiveneERKNS0_13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEES7_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %26, label %.lr.ph36, label %._crit_edge37, !llvm.loop !7

27:                                               ; preds = %.lr.ph36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %40

._crit_edge37:                                    ; preds = %23, %18
  %.116.lcssa = phi i64 [ 0, %18 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %28 = call noundef i64 @_ZNK9Scheduler5RangeINS0_IN5boost9intrusive4listINS_4StopEJNS2_12value_traitsINS4_20IntrusiveValueTraitsEEEEEEEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
  %.not23 = icmp eq i64 %.116.lcssa, %28
  br i1 %.not23, label %29, label %40

29:                                               ; preds = %._crit_edge37
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %30 = getelementptr inbounds i8, ptr %0, i64 560
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %30)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %31 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br i1 %31, label %.lr.ph41, label %._crit_edge42

.lr.ph41:                                         ; preds = %29, %34
  %.21739 = phi i64 [ %35, %34 ], [ 0, %29 ]
  %32 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %33 = call noundef i64 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %.not24 = icmp ult i64 %.21739, %33
  br i1 %.not24, label %34, label %38

34:                                               ; preds = %.lr.ph41
  %35 = add nuw i64 %.21739, 1
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEppEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.Scheduler::RangeTypeAdapter<Scheduler::Range<Scheduler::Range<boost::intrusive::list<Scheduler::Stop, boost::intrusive::value_traits<Scheduler::Stop::IntrusiveValueTraits>>>>, Scheduler::WorkStop>::Iterator.122") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %37 = call noundef zeroext i1 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE8IteratorIKSC_NS3_13list_iteratorIS7_Lb1EEEEneERKSI_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  br i1 %37, label %.lr.ph41, label %._crit_edge42, !llvm.loop !8

38:                                               ; preds = %.lr.ph41
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %40

._crit_edge42:                                    ; preds = %34, %29
  %.217.lcssa = phi i64 [ 0, %29 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  %39 = call noundef i64 @_ZNK9Scheduler16RangeTypeAdapterINS_5RangeINS1_IN5boost9intrusive4listINS_4StopEJNS3_12value_traitsINS5_20IntrusiveValueTraitsEEEEEEEEEENS_8WorkStopEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %.not25 = icmp eq i64 %.217.lcssa, %39
  br label %40

40:                                               ; preds = %38, %27, %16, %._crit_edge42, %._crit_edge37, %._crit_edge
  %.3 = phi i1 [ false, %38 ], [ false, %27 ], [ false, %16 ], [ false, %._crit_edge ], [ false, %._crit_edge37 ], [ %.not25, %._crit_edge42 ]
  ret i1 %.3
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(152) ptr @_ZNK5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN5boost9intrusive13list_iteratorIN9Scheduler4Stop20IntrusiveValueTraitsELb1EEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

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

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


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