; LLVM IR from Eaglegor/SchedulerEngine :: Engine/SceneManager/Utils (SceneCloner)

; 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.__gnu_cxx::__normal_iterator.209" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [100 x i8], align 1
@__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_ = external hidden unnamed_addr constant [84 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(344) %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = call noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344) %10)
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = call noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344) %12)
  %14 = call noundef zeroext i1 @_ZNK9Scheduler12SceneContexteqERKS0_(ptr noundef nonnull align 8 dereferenceable(377) %11, ptr noundef nonnull align 8 dereferenceable(377) %13)
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  br label %18

16:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 56, ptr noundef @__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_) #6
  unreachable

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %19)
  %21 = call noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  br label %25

23:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.4, i32 noundef 57, ptr noundef @__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_) #6
  unreachable

24:                                               ; No predecessors!
  br label %25

25:                                               ; preds = %24, %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %26)
  store ptr %27, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.209", ptr %6, i32 0, i32 0
  store ptr %29, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.209", ptr %7, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  br label %34

34:                                               ; preds = %46, %25
  %35 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br i1 %35, label %37, label %36

36:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %48

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  %39 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #7
  store ptr %39, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9Scheduler8Schedule12getPerformerEv(ptr noundef nonnull align 8 dereferenceable(352) %41)
  %43 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344) %40, ptr noundef nonnull align 8 dereferenceable(128) %42)
  store ptr %43, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN9Scheduler11SceneCloner23cloneSchedulePropertiesERKNS_8ScheduleERS1_(ptr noundef nonnull align 8 dereferenceable(352) %44, ptr noundef nonnull align 8 dereferenceable(352) %45)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %46

46:                                               ; preds = %37
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br label %34

48:                                               ; preds = %36
  ret void
}

declare noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344)) #2

declare noundef zeroext i1 @_ZNK9Scheduler12SceneContexteqERKS0_(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 8 dereferenceable(377)) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9Scheduler8Schedule12getPerformerEv(ptr noundef nonnull align 8 dereferenceable(352)) #2

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

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


; 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.__gnu_cxx::__normal_iterator.209" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [100 x i8], align 1
@__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_ = external hidden unnamed_addr constant [84 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(344) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %5 = tail call noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344) %0)
  %6 = tail call noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344) %1)
  %7 = tail call noundef zeroext i1 @_ZNK9Scheduler12SceneContexteqERKS0_(ptr noundef nonnull align 8 dereferenceable(377) %5, ptr noundef nonnull align 8 dereferenceable(377) %6)
  br i1 %7, label %9, label %8

8:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 56, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_) #6
  unreachable

9:                                                ; preds = %2
  %10 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %1)
  %11 = tail call noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br i1 %11, label %13, label %12

12:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.4, i32 noundef 57, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9Scheduler11SceneCloner23cloneSceneSchedulesPoolERKNS_5SceneERS1_) #6
  unreachable

13:                                               ; preds = %9
  %14 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9Scheduler5Scene12getSchedulesEv(ptr noundef nonnull align 8 dereferenceable(344) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %15 = tail call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %15, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %16 = tail call ptr @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %16, ptr %4, align 8
  %17 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %17, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  ret void

.lr.ph:                                           ; preds = %13, %.lr.ph
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %19 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZNKSt17reference_wrapperIN9Scheduler8ScheduleEEcvRS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  %20 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9Scheduler8Schedule12getPerformerEv(ptr noundef nonnull align 8 dereferenceable(352) %19)
  %21 = call noundef nonnull align 8 dereferenceable(352) ptr @_ZN9Scheduler5Scene14createScheduleERKNS_9PerformerE(ptr noundef nonnull align 8 dereferenceable(344) %1, ptr noundef nonnull align 8 dereferenceable(128) %20)
  call void @_ZN9Scheduler11SceneCloner23cloneSchedulePropertiesERKNS_8ScheduleERS1_(ptr noundef nonnull align 8 dereferenceable(352) %19, ptr noundef nonnull align 8 dereferenceable(352) %21)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %23 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt17reference_wrapperIN9Scheduler8ScheduleEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %23, label %.lr.ph, label %._crit_edge
}

declare noundef nonnull align 8 dereferenceable(377) ptr @_ZNK9Scheduler5Scene10getContextEv(ptr noundef nonnull align 8 dereferenceable(344)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK9Scheduler12SceneContexteqERKS0_(ptr noundef nonnull align 8 dereferenceable(377), ptr noundef nonnull align 8 dereferenceable(377)) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt17reference_wrapperIN9Scheduler8ScheduleEESaIS3_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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 #2

declare noundef nonnull align 8 dereferenceable(128) ptr @_ZNK9Scheduler8Schedule12getPerformerEv(ptr noundef nonnull align 8 dereferenceable(352)) local_unnamed_addr #2

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

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


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