; LLVM IR from mackorone/mms :: old/v2/src/mouse/floodFill (FloodFill)

; 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::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl" }
%"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl" = type { %"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.floodFill::FloodFill" = type <{ %class.IMouseAlgorithm, ptr, [16 x [16 x %"class.floodFill::Cell"]], i32, i32, i32, i32, i8, i8, [6 x i8], %"class.floodFill::History", i8, [7 x i8] }>
%class.IMouseAlgorithm = type { ptr }
%"class.floodFill::Cell" = type { i32, i32, i32, i8, i8, [4 x i8], [4 x i8], ptr, ptr }
%"class.floodFill::History" = type { i32, i32, ptr, %"class.std::stack", %"class.std::queue", %"class.std::__cxx11::list", %"class.std::__cxx11::list.183" }
%"class.std::queue" = type { %"class.std::deque.174" }
%"class.std::deque.174" = type { %"class.std::_Deque_base.175" }
%"class.std::_Deque_base.175" = type { %"struct.std::_Deque_base<std::stack<floodFill::Cell *>, std::allocator<std::stack<floodFill::Cell *>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::stack<floodFill::Cell *>, std::allocator<std::stack<floodFill::Cell *>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::stack<floodFill::Cell *>, std::allocator<std::stack<floodFill::Cell *>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::stack<floodFill::Cell *>, std::allocator<std::stack<floodFill::Cell *>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.179", %"struct.std::_Deque_iterator.179" }
%"struct.std::_Deque_iterator.179" = type { ptr, ptr, ptr, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" }
%"struct.std::__cxx11::_List_base<int, std::allocator<int>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.std::__cxx11::list.183" = type { %"class.std::__cxx11::_List_base.184" }
%"class.std::__cxx11::_List_base.184" = type { %"struct.std::__cxx11::_List_base<std::__cxx11::list<floodFill::Cellmod>, std::allocator<std::__cxx11::list<floodFill::Cellmod>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::__cxx11::list<floodFill::Cellmod>, std::allocator<std::__cxx11::list<floodFill::Cellmod>>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZN9floodFill9FloodFill10bffVictoryESt5stackIPNS_4CellESt5dequeIS3_SaIS3_EEE(ptr noundef nonnull align 8 dereferenceable(10505) %0, ptr noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::stack", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  br label %10

10:                                               ; preds = %106, %2
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(80) %1)
  br label %11

11:                                               ; preds = %30, %10
  %12 = invoke noundef zeroext i1 @_ZNKSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %13 unwind label %31

13:                                               ; preds = %11
  br i1 %12, label %23, label %14

14:                                               ; preds = %13
  %15 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %16 unwind label %31

16:                                               ; preds = %14
  br i1 %15, label %20, label %17

17:                                               ; preds = %16
  %18 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %19 unwind label %31

19:                                               ; preds = %17
  br label %20

20:                                               ; preds = %19, %16
  %21 = phi i1 [ true, %16 ], [ %18, %19 ]
  %22 = xor i1 %21, true
  br label %23

23:                                               ; preds = %20, %13
  %24 = phi i1 [ false, %13 ], [ %22, %20 ]
  br i1 %24, label %25, label %35

25:                                               ; preds = %23
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %27 unwind label %31

27:                                               ; preds = %25
  %28 = load ptr, ptr %26, align 8, !tbaa !5
  invoke void @_ZN9floodFill9FloodFill11moveOneCellEPNS_4CellE(ptr noundef nonnull align 8 dereferenceable(10505) %9, ptr noundef %28)
          to label %29 unwind label %31

29:                                               ; preds = %27
  invoke void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %30 unwind label %31

30:                                               ; preds = %29
  br label %11, !llvm.loop !9

31:                                               ; preds = %101, %95, %92, %90, %89, %86, %83, %80, %78, %71, %68, %66, %55, %47, %44, %29, %27, %25, %17, %14, %11
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %6, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %7, align 4
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  br label %108

35:                                               ; preds = %23
  br label %36

36:                                               ; preds = %67, %35
  %37 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 3
  %38 = load i32, ptr %37, align 8, !tbaa !11
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %44, label %40

40:                                               ; preds = %36
  %41 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 4
  %42 = load i32, ptr %41, align 4, !tbaa !38
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %44, label %53

44:                                               ; preds = %40, %36
  %45 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %46 unwind label %31

46:                                               ; preds = %44
  br i1 %45, label %50, label %47

47:                                               ; preds = %46
  %48 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %49 unwind label %31

49:                                               ; preds = %47
  br label %50

50:                                               ; preds = %49, %46
  %51 = phi i1 [ true, %46 ], [ %48, %49 ]
  %52 = xor i1 %51, true
  br label %53

53:                                               ; preds = %50, %40
  %54 = phi i1 [ false, %40 ], [ %52, %50 ]
  br i1 %54, label %55, label %68

55:                                               ; preds = %53
  %56 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 2
  %57 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 3
  %58 = load i32, ptr %57, align 8, !tbaa !11
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [16 x [16 x %"class.floodFill::Cell"]], ptr %56, i64 0, i64 %59
  %61 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 4
  %62 = load i32, ptr %61, align 4, !tbaa !38
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [16 x %"class.floodFill::Cell"], ptr %60, i64 0, i64 %63
  %65 = invoke noundef ptr @_ZN9floodFill4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(40) %64)
          to label %66 unwind label %31

66:                                               ; preds = %55
  invoke void @_ZN9floodFill9FloodFill11moveOneCellEPNS_4CellE(ptr noundef nonnull align 8 dereferenceable(10505) %9, ptr noundef %65)
          to label %67 unwind label %31

67:                                               ; preds = %66
  br label %36, !llvm.loop !39

68:                                               ; preds = %53
  %69 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %70 unwind label %31

70:                                               ; preds = %68
  br i1 %69, label %83, label %71

71:                                               ; preds = %70
  %72 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %73 unwind label %31

73:                                               ; preds = %71
  br i1 %72, label %83, label %74

74:                                               ; preds = %73
  %75 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 5
  %76 = load i32, ptr %75, align 8, !tbaa !40
  %77 = icmp eq i32 %76, 2
  br i1 %77, label %78, label %80

78:                                               ; preds = %74
  invoke void @_ZN9floodFill9FloodFill10turnAroundEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %79 unwind label %31

79:                                               ; preds = %78
  br label %82

80:                                               ; preds = %74
  invoke void @_ZN9floodFill9FloodFill9turnRightEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %81 unwind label %31

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81, %79
  br label %83

83:                                               ; preds = %82, %73, %70
  %84 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %85 unwind label %31

85:                                               ; preds = %83
  br i1 %84, label %86, label %92

86:                                               ; preds = %85
  %87 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !41
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296) %88)
          to label %89 unwind label %31

89:                                               ; preds = %86
  invoke void @_ZN9floodFill9FloodFill11resetColorsEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %90 unwind label %31

90:                                               ; preds = %89
  invoke void @_ZN9floodFill9FloodFill12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %91 unwind label %31

91:                                               ; preds = %90
  store i32 1, ptr %8, align 4
  br label %104

92:                                               ; preds = %85
  %93 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %94 unwind label %31

94:                                               ; preds = %92
  br i1 %93, label %95, label %103

95:                                               ; preds = %94
  %96 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 3
  store i32 0, ptr %96, align 8, !tbaa !11
  %97 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 4
  store i32 0, ptr %97, align 4, !tbaa !38
  %98 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 5
  store i32 0, ptr %98, align 8, !tbaa !40
  %99 = getelementptr inbounds %"class.floodFill::FloodFill", ptr %9, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !41
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296) %100)
          to label %101 unwind label %31

101:                                              ; preds = %95
  invoke void @_ZN9floodFill9FloodFill11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(10505) %9)
          to label %102 unwind label %31

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102, %94
  store i32 0, ptr %8, align 4
  br label %104

104:                                              ; preds = %103, %91
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  %105 = load i32, ptr %8, align 4
  switch i32 %105, label %113 [
    i32 0, label %106
    i32 1, label %107
  ]

106:                                              ; preds = %104
  br label %10, !llvm.loop !42

107:                                              ; preds = %104
  ret void

108:                                              ; preds = %31
  %109 = load ptr, ptr %6, align 8
  %110 = load i32, ptr %7, align 4
  %111 = insertvalue { ptr, i32 } poison, ptr %109, 0
  %112 = insertvalue { ptr, i32 } %111, i32 %110, 1
  resume { ptr, i32 } %112

113:                                              ; preds = %104
  unreachable
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296)) #5

declare noundef ptr @_ZN9floodFill4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(40)) #5

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 10256}
!12 = !{!"_ZTSN9floodFill9FloodFillE", !13, i64 0, !6, i64 8, !7, i64 16, !14, i64 10256, !14, i64 10260, !14, i64 10264, !14, i64 10268, !15, i64 10272, !15, i64 10273, !16, i64 10280, !15, i64 10504}
!13 = !{!"_ZTS15IMouseAlgorithm"}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN9floodFill7HistoryE", !14, i64 0, !14, i64 4, !6, i64 8, !17, i64 16, !24, i64 96, !30, i64 176, !35, i64 200}
!17 = !{!"_ZTSSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE", !18, i64 0}
!18 = !{!"_ZTSSt5dequeIPN9floodFill4CellESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt11_Deque_baseIPN9floodFill4CellESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt11_Deque_baseIPN9floodFill4CellESaIS2_EE11_Deque_implE", !21, i64 0}
!21 = !{!"_ZTSNSt11_Deque_baseIPN9floodFill4CellESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !23, i64 16, !23, i64 48}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt15_Deque_iteratorIPN9floodFill4CellERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt5queueISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEES4_IS7_SaIS7_EEE", !25, i64 0}
!25 = !{!"_ZTSSt5dequeISt5stackIPN9floodFill4CellES_IS3_SaIS3_EEESaIS6_EE", !26, i64 0}
!26 = !{!"_ZTSSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE11_Deque_implE", !28, i64 0}
!28 = !{!"_ZTSNSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !29, i64 16, !29, i64 48}
!29 = !{!"_ZTSSt15_Deque_iteratorISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEERS7_PS7_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !31, i64 0}
!31 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !32, i64 0}
!32 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !33, i64 0}
!33 = !{!"_ZTSNSt8__detail17_List_node_headerE", !34, i64 0, !22, i64 16}
!34 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!35 = !{!"_ZTSNSt7__cxx114listINS0_IN9floodFill7CellmodESaIS2_EEESaIS4_EEE", !36, i64 0}
!36 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listIN9floodFill7CellmodESaIS3_EEESaIS5_EEE", !37, i64 0}
!37 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listIN9floodFill7CellmodESaIS3_EEESaIS5_EE10_List_implE", !33, i64 0}
!38 = !{!12, !14, i64 10260}
!39 = distinct !{!39, !10}
!40 = !{!12, !14, i64 10264}
!41 = !{!12, !6, i64 8}
!42 = distinct !{!42, !10}


; 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::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl" }
%"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl" = type { %"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<floodFill::Cell *, std::allocator<floodFill::Cell *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.floodFill::Cell" = type { i32, i32, i32, i8, i8, [4 x i8], [4 x i8], ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZN9floodFill9FloodFill10bffVictoryESt5stackIPNS_4CellESt5dequeIS3_SaIS3_EEE(ptr noundef nonnull align 8 dereferenceable(10505) %0, ptr noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::stack", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 10256
  %5 = getelementptr inbounds i8, ptr %0, i64 10260
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = getelementptr inbounds i8, ptr %0, i64 10264
  %8 = getelementptr inbounds i8, ptr %0, i64 8
  br label %9

9:                                                ; preds = %60, %2
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #6
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEEC2ERKS6_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(80) %1)
  %10 = call noundef zeroext i1 @_ZNKSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %10, label %.critedge.preheader, label %.lr.ph

.critedge.preheader:                              ; preds = %15, %19, %12, %9
  br label %.critedge

.lr.ph:                                           ; preds = %9, %19
  %11 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %12 unwind label %.loopexit.split-lp.loopexit

12:                                               ; preds = %.lr.ph
  br i1 %11, label %.critedge.preheader, label %13

13:                                               ; preds = %12
  %14 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %15 unwind label %.loopexit.split-lp.loopexit

15:                                               ; preds = %13
  br i1 %14, label %.critedge.preheader, label %16

16:                                               ; preds = %15
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN9floodFill9FloodFill11moveOneCellEPNS_4CellE(ptr noundef nonnull align 8 dereferenceable(10505) %0, ptr noundef %18)
          to label %19 unwind label %.loopexit.split-lp.loopexit

19:                                               ; preds = %16
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %20 = call noundef zeroext i1 @_ZNKSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %20, label %.critedge.preheader, label %.lr.ph, !llvm.loop !9

.loopexit:                                        ; preds = %23, %26, %29, %36
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %16, %13, %.lr.ph
  %lpad.loopexit10 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.critedge2, %39, %45, %46, %47, %54, %57, %59
  %lpad.loopexit13 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %50, %52, %53
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp:                               ; preds = %.loopexit.split-lp.loopexit, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit10, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit13, %.loopexit.split-lp.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  resume { ptr, i32 } %lpad.phi

.critedge:                                        ; preds = %.critedge.preheader, %36
  %21 = load i32, ptr %4, align 8, !tbaa !11
  %.not = icmp eq i32 %21, 0
  %22 = load i32, ptr %5, align 4
  %.not5 = icmp eq i32 %22, 0
  %or.cond = select i1 %.not, i1 %.not5, i1 false
  br i1 %or.cond, label %.critedge2, label %23

23:                                               ; preds = %.critedge
  %24 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %25 unwind label %.loopexit

25:                                               ; preds = %23
  br i1 %24, label %.critedge2, label %26

26:                                               ; preds = %25
  %27 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %28 unwind label %.loopexit

28:                                               ; preds = %26
  br i1 %27, label %.critedge2, label %29

29:                                               ; preds = %28
  %30 = load i32, ptr %4, align 8, !tbaa !11
  %31 = sext i32 %30 to i64
  %32 = load i32, ptr %5, align 4, !tbaa !38
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [16 x [16 x %"class.floodFill::Cell"]], ptr %6, i64 0, i64 %31, i64 %33
  %35 = invoke noundef ptr @_ZN9floodFill4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %36 unwind label %.loopexit

36:                                               ; preds = %29
  invoke void @_ZN9floodFill9FloodFill11moveOneCellEPNS_4CellE(ptr noundef nonnull align 8 dereferenceable(10505) %0, ptr noundef %35)
          to label %.critedge unwind label %.loopexit, !llvm.loop !39

.critedge2:                                       ; preds = %25, %.critedge, %28
  %37 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %38 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

38:                                               ; preds = %.critedge2
  br i1 %37, label %47, label %39

39:                                               ; preds = %38
  %40 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %41 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

41:                                               ; preds = %39
  br i1 %40, label %47, label %42

42:                                               ; preds = %41
  %43 = load i32, ptr %7, align 8, !tbaa !40
  %44 = icmp eq i32 %43, 2
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  invoke void @_ZN9floodFill9FloodFill10turnAroundEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %47 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

46:                                               ; preds = %42
  invoke void @_ZN9floodFill9FloodFill9turnRightEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %47 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

47:                                               ; preds = %45, %46, %41, %38
  %48 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %49 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

49:                                               ; preds = %47
  br i1 %48, label %50, label %54

50:                                               ; preds = %49
  %51 = load ptr, ptr %8, align 8, !tbaa !41
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296) %51)
          to label %52 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

52:                                               ; preds = %50
  invoke void @_ZN9floodFill9FloodFill11resetColorsEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %53 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

53:                                               ; preds = %52
  invoke void @_ZN9floodFill9FloodFill12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %61 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

54:                                               ; preds = %49
  %55 = invoke noundef zeroext i1 @_ZN9floodFill9FloodFill13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %56 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

56:                                               ; preds = %54
  br i1 %55, label %57, label %60

57:                                               ; preds = %56
  store i32 0, ptr %4, align 8, !tbaa !11
  store i32 0, ptr %5, align 4, !tbaa !38
  store i32 0, ptr %7, align 8, !tbaa !40
  %58 = load ptr, ptr %8, align 8, !tbaa !41
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296) %58)
          to label %59 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

59:                                               ; preds = %57
  invoke void @_ZN9floodFill9FloodFill11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(10505) %0)
          to label %60 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

60:                                               ; preds = %56, %59
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  br label %9

61:                                               ; preds = %53
  call void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #5

declare noundef ptr @_ZN9floodFill4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #5

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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress 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 = { 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !14, i64 10256}
!12 = !{!"_ZTSN9floodFill9FloodFillE", !13, i64 0, !6, i64 8, !7, i64 16, !14, i64 10256, !14, i64 10260, !14, i64 10264, !14, i64 10268, !15, i64 10272, !15, i64 10273, !16, i64 10280, !15, i64 10504}
!13 = !{!"_ZTS15IMouseAlgorithm"}
!14 = !{!"int", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN9floodFill7HistoryE", !14, i64 0, !14, i64 4, !6, i64 8, !17, i64 16, !24, i64 96, !30, i64 176, !35, i64 200}
!17 = !{!"_ZTSSt5stackIPN9floodFill4CellESt5dequeIS2_SaIS2_EEE", !18, i64 0}
!18 = !{!"_ZTSSt5dequeIPN9floodFill4CellESaIS2_EE", !19, i64 0}
!19 = !{!"_ZTSSt11_Deque_baseIPN9floodFill4CellESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSNSt11_Deque_baseIPN9floodFill4CellESaIS2_EE11_Deque_implE", !21, i64 0}
!21 = !{!"_ZTSNSt11_Deque_baseIPN9floodFill4CellESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !23, i64 16, !23, i64 48}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSSt15_Deque_iteratorIPN9floodFill4CellERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!24 = !{!"_ZTSSt5queueISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEES4_IS7_SaIS7_EEE", !25, i64 0}
!25 = !{!"_ZTSSt5dequeISt5stackIPN9floodFill4CellES_IS3_SaIS3_EEESaIS6_EE", !26, i64 0}
!26 = !{!"_ZTSSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE11_Deque_implE", !28, i64 0}
!28 = !{!"_ZTSNSt11_Deque_baseISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEESaIS7_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !29, i64 16, !29, i64 48}
!29 = !{!"_ZTSSt15_Deque_iteratorISt5stackIPN9floodFill4CellESt5dequeIS3_SaIS3_EEERS7_PS7_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !31, i64 0}
!31 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !32, i64 0}
!32 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !33, i64 0}
!33 = !{!"_ZTSNSt8__detail17_List_node_headerE", !34, i64 0, !22, i64 16}
!34 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!35 = !{!"_ZTSNSt7__cxx114listINS0_IN9floodFill7CellmodESaIS2_EEESaIS4_EEE", !36, i64 0}
!36 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listIN9floodFill7CellmodESaIS3_EEESaIS5_EEE", !37, i64 0}
!37 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listIN9floodFill7CellmodESaIS3_EEESaIS5_EE10_List_implE", !33, i64 0}
!38 = !{!12, !14, i64 10260}
!39 = distinct !{!39, !10}
!40 = !{!12, !14, i64 10264}
!41 = !{!12, !6, i64 8}


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