; LLVM IR from mackorone/mms :: old/v1/src/algo/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<Cell *, std::allocator<Cell *>>::_Deque_impl" }
%"struct.std::_Deque_base<Cell *, std::allocator<Cell *>>::_Deque_impl" = type { %"struct.std::_Deque_base<Cell *, std::allocator<Cell *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<Cell *, std::allocator<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 = type <{ %class.IAlgorithm, ptr, [16 x [16 x %class.Cell]], i32, i32, i32, i32, i8, i8, [6 x i8], %class.History, i8, [7 x i8] }>
%class.IAlgorithm = type { ptr }
%class.Cell = type { i32, i32, i32, i8, i8, [4 x i8], [4 x i8], ptr }
%class.History = type { i32, i32, ptr, %"class.std::stack", %"class.std::queue", %"class.std::__cxx11::list", %"class.std::__cxx11::list.9" }
%"class.std::queue" = type { %"class.std::deque.0" }
%"class.std::deque.0" = type { %"class.std::_Deque_base.1" }
%"class.std::_Deque_base.1" = type { %"struct.std::_Deque_base<std::stack<Cell *>, std::allocator<std::stack<Cell *>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::stack<Cell *>, std::allocator<std::stack<Cell *>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::stack<Cell *>, std::allocator<std::stack<Cell *>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::stack<Cell *>, std::allocator<std::stack<Cell *>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.5", %"struct.std::_Deque_iterator.5" }
%"struct.std::_Deque_iterator.5" = 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.9" = type { %"class.std::__cxx11::_List_base.10" }
%"class.std::__cxx11::_List_base.10" = type { %"struct.std::__cxx11::_List_base<std::__cxx11::list<Cellmod>, std::allocator<std::__cxx11::list<Cellmod>>>::_List_impl" }
%"struct.std::__cxx11::_List_base<std::__cxx11::list<Cellmod>, std::allocator<std::__cxx11::list<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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9FloodFill10bffVictoryESt5stackIP4CellSt5dequeIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(8457) %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 = %128, %2
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(80) %1)
  br label %11

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

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

14:                                               ; preds = %13
  %15 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %18 unwind label %35

18:                                               ; preds = %14
  br i1 %17, label %24, label %19

19:                                               ; preds = %18
  %20 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %23 unwind label %35

23:                                               ; preds = %19
  br label %24

24:                                               ; preds = %23, %18
  %25 = phi i1 [ true, %18 ], [ %22, %23 ]
  %26 = xor i1 %25, true
  br label %27

27:                                               ; preds = %24, %13
  %28 = phi i1 [ false, %13 ], [ %26, %24 ]
  br i1 %28, label %29, label %39

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

31:                                               ; preds = %29
  %32 = load ptr, ptr %30, align 8, !tbaa !5
  invoke void @_ZN9FloodFill11moveOneCellEP4Cell(ptr noundef nonnull align 8 dereferenceable(8457) %9, ptr noundef %32)
          to label %33 unwind label %35

33:                                               ; preds = %31
  invoke void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %5)
          to label %34 unwind label %35

34:                                               ; preds = %33
  br label %11, !llvm.loop !36

35:                                               ; preds = %121, %115, %110, %106, %103, %100, %95, %92, %90, %81, %76, %74, %63, %53, %48, %33, %31, %29, %19, %14, %11
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %6, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %7, align 4
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  br label %130

39:                                               ; preds = %27
  br label %40

40:                                               ; preds = %75, %39
  %41 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 3
  %42 = load i32, ptr %41, align 8, !tbaa !38
  %43 = icmp ne i32 %42, 0
  br i1 %43, label %48, label %44

44:                                               ; preds = %40
  %45 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 4
  %46 = load i32, ptr %45, align 4, !tbaa !39
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %61

48:                                               ; preds = %44, %40
  %49 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %50)
          to label %52 unwind label %35

52:                                               ; preds = %48
  br i1 %51, label %58, label %53

53:                                               ; preds = %52
  %54 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %55)
          to label %57 unwind label %35

57:                                               ; preds = %53
  br label %58

58:                                               ; preds = %57, %52
  %59 = phi i1 [ true, %52 ], [ %56, %57 ]
  %60 = xor i1 %59, true
  br label %61

61:                                               ; preds = %58, %44
  %62 = phi i1 [ false, %44 ], [ %60, %58 ]
  br i1 %62, label %63, label %76

63:                                               ; preds = %61
  %64 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 2
  %65 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 3
  %66 = load i32, ptr %65, align 8, !tbaa !38
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %64, i64 0, i64 %67
  %69 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 4
  %70 = load i32, ptr %69, align 4, !tbaa !39
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [16 x %class.Cell], ptr %68, i64 0, i64 %71
  %73 = invoke noundef ptr @_ZN4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(32) %72)
          to label %74 unwind label %35

74:                                               ; preds = %63
  invoke void @_ZN9FloodFill11moveOneCellEP4Cell(ptr noundef nonnull align 8 dereferenceable(8457) %9, ptr noundef %73)
          to label %75 unwind label %35

75:                                               ; preds = %74
  br label %40, !llvm.loop !40

76:                                               ; preds = %61
  %77 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %78)
          to label %80 unwind label %35

80:                                               ; preds = %76
  br i1 %79, label %95, label %81

81:                                               ; preds = %80
  %82 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %83)
          to label %85 unwind label %35

85:                                               ; preds = %81
  br i1 %84, label %95, label %86

86:                                               ; preds = %85
  %87 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 5
  %88 = load i32, ptr %87, align 8, !tbaa !41
  %89 = icmp eq i32 %88, 2
  br i1 %89, label %90, label %92

90:                                               ; preds = %86
  invoke void @_ZN9FloodFill10turnAroundEv(ptr noundef nonnull align 8 dereferenceable(8457) %9)
          to label %91 unwind label %35

91:                                               ; preds = %90
  br label %94

92:                                               ; preds = %86
  invoke void @_ZN9FloodFill9turnRightEv(ptr noundef nonnull align 8 dereferenceable(8457) %9)
          to label %93 unwind label %35

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93, %91
  br label %95

95:                                               ; preds = %94, %85, %80
  %96 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %97)
          to label %99 unwind label %35

99:                                               ; preds = %95
  br i1 %98, label %100, label %110

100:                                              ; preds = %99
  %101 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40) %102)
          to label %103 unwind label %35

103:                                              ; preds = %100
  %104 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  invoke void @_ZN3sim14MouseInterface11resetColorsEii(ptr noundef nonnull align 8 dereferenceable(40) %105, i32 noundef 0, i32 noundef 0)
          to label %106 unwind label %35

106:                                              ; preds = %103
  %107 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  invoke void @_ZN3sim14MouseInterface12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(40) %108)
          to label %109 unwind label %35

109:                                              ; preds = %106
  store i32 1, ptr %8, align 4
  br label %126

110:                                              ; preds = %99
  %111 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %112)
          to label %114 unwind label %35

114:                                              ; preds = %110
  br i1 %113, label %115, label %125

115:                                              ; preds = %114
  %116 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 3
  store i32 0, ptr %116, align 8, !tbaa !38
  %117 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 4
  store i32 0, ptr %117, align 4, !tbaa !39
  %118 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 5
  store i32 0, ptr %118, align 8, !tbaa !41
  %119 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40) %120)
          to label %121 unwind label %35

121:                                              ; preds = %115
  %122 = getelementptr inbounds %class.FloodFill, ptr %9, i32 0, i32 1
  %123 = load ptr, ptr %122, align 8, !tbaa !9
  invoke void @_ZN3sim14MouseInterface11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(40) %123)
          to label %124 unwind label %35

124:                                              ; preds = %121
  br label %125

125:                                              ; preds = %124, %114
  store i32 0, ptr %8, align 4
  br label %126

126:                                              ; preds = %125, %109
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  %127 = load i32, ptr %8, align 4
  switch i32 %127, label %135 [
    i32 0, label %128
    i32 1, label %129
  ]

128:                                              ; preds = %126
  br label %10, !llvm.loop !42

129:                                              ; preds = %126
  ret void

130:                                              ; preds = %35
  %131 = load ptr, ptr %6, align 8
  %132 = load i32, ptr %7, align 4
  %133 = insertvalue { ptr, i32 } poison, ptr %131, 0
  %134 = insertvalue { ptr, i32 } %133, i32 %132, 1
  resume { ptr, i32 } %134

135:                                              ; preds = %126
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEEC2ERKS5_(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 @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

declare void @_ZN3sim14MouseInterface11resetColorsEii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) #4

declare noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

declare noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

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

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

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

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

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

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

declare void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

declare void @_ZN3sim14MouseInterface12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

declare void @_ZN3sim14MouseInterface11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(40)) #4

declare noundef ptr @_ZN4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(32)) #4

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 = { "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 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS9FloodFill", !11, i64 0, !6, i64 8, !7, i64 16, !12, i64 8208, !12, i64 8212, !12, i64 8216, !12, i64 8220, !13, i64 8224, !13, i64 8225, !14, i64 8232, !13, i64 8456}
!11 = !{!"_ZTS10IAlgorithm"}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7History", !12, i64 0, !12, i64 4, !6, i64 8, !15, i64 16, !22, i64 96, !28, i64 176, !33, i64 200}
!15 = !{!"_ZTSSt5stackIP4CellSt5dequeIS1_SaIS1_EEE", !16, i64 0}
!16 = !{!"_ZTSSt5dequeIP4CellSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt11_Deque_baseIP4CellSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt11_Deque_baseIP4CellSaIS1_EE11_Deque_implE", !19, i64 0}
!19 = !{!"_ZTSNSt11_Deque_baseIP4CellSaIS1_EE16_Deque_impl_dataE", !6, i64 0, !20, i64 8, !21, i64 16, !21, i64 48}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSSt15_Deque_iteratorIP4CellRS1_PS1_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!22 = !{!"_ZTSSt5queueISt5stackIP4CellSt5dequeIS2_SaIS2_EEES3_IS6_SaIS6_EEE", !23, i64 0}
!23 = !{!"_ZTSSt5dequeISt5stackIP4CellS_IS2_SaIS2_EEESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE", !25, i64 0}
!25 = !{!"_ZTSNSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE11_Deque_implE", !26, i64 0}
!26 = !{!"_ZTSNSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE16_Deque_impl_dataE", !6, i64 0, !20, i64 8, !27, i64 16, !27, i64 48}
!27 = !{!"_ZTSSt15_Deque_iteratorISt5stackIP4CellSt5dequeIS2_SaIS2_EEERS6_PS6_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!28 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !30, i64 0}
!30 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !31, i64 0}
!31 = !{!"_ZTSNSt8__detail17_List_node_headerE", !32, i64 0, !20, i64 16}
!32 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!33 = !{!"_ZTSNSt7__cxx114listINS0_I7CellmodSaIS1_EEESaIS3_EEE", !34, i64 0}
!34 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listI7CellmodSaIS2_EEESaIS4_EEE", !35, i64 0}
!35 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listI7CellmodSaIS2_EEESaIS4_EE10_List_implE", !31, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!10, !12, i64 8208}
!39 = !{!10, !12, i64 8212}
!40 = distinct !{!40, !37}
!41 = !{!10, !12, i64 8216}
!42 = distinct !{!42, !37}


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

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9FloodFill10bffVictoryESt5stackIP4CellSt5dequeIS2_SaIS2_EEE(ptr noundef nonnull align 8 dereferenceable(8457) %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 8
  %5 = getelementptr inbounds i8, ptr %0, i64 8208
  %6 = getelementptr inbounds i8, ptr %0, i64 8212
  %7 = getelementptr inbounds i8, ptr %0, i64 16
  %8 = getelementptr inbounds i8, ptr %0, i64 8216
  br label %9

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

.critedge.preheader:                              ; preds = %17, %21, %13, %9
  br label %.critedge

.lr.ph:                                           ; preds = %9, %21
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %13 unwind label %.loopexit.split-lp.loopexit

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

14:                                               ; preds = %13
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %17 unwind label %.loopexit.split-lp.loopexit

17:                                               ; preds = %14
  br i1 %16, label %.critedge.preheader, label %18

18:                                               ; preds = %17
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEE3topEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %20 = load ptr, ptr %19, align 8, !tbaa !35
  invoke void @_ZN9FloodFill11moveOneCellEP4Cell(ptr noundef nonnull align 8 dereferenceable(8457) %0, ptr noundef %20)
          to label %21 unwind label %.loopexit.split-lp.loopexit

21:                                               ; preds = %18
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEE3popEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  %22 = call noundef zeroext i1 @_ZNKSt5stackIP4CellSt5dequeIS1_SaIS1_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(80) %3)
  br i1 %22, label %.critedge.preheader, label %.lr.ph, !llvm.loop !36

.loopexit:                                        ; preds = %25, %29, %33, %40
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

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

.loopexit.split-lp.loopexit.split-lp.loopexit:    ; preds = %.critedge2, %44, %51, %52, %53, %63, %66, %68
  %lpad.loopexit13 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp: ; preds = %58, %59, %61
  %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 @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_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, %40
  %23 = load i32, ptr %5, align 8, !tbaa !38
  %.not = icmp eq i32 %23, 0
  %24 = load i32, ptr %6, align 4
  %.not5 = icmp eq i32 %24, 0
  %or.cond = select i1 %.not, i1 %.not5, i1 false
  br i1 %or.cond, label %.critedge2, label %25

25:                                               ; preds = %.critedge
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %28 unwind label %.loopexit

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

29:                                               ; preds = %28
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %30)
          to label %32 unwind label %.loopexit

32:                                               ; preds = %29
  br i1 %31, label %.critedge2, label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %5, align 8, !tbaa !38
  %35 = sext i32 %34 to i64
  %36 = load i32, ptr %6, align 4, !tbaa !39
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %7, i64 0, i64 %35, i64 %37
  %39 = invoke noundef ptr @_ZN4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %40 unwind label %.loopexit

40:                                               ; preds = %33
  invoke void @_ZN9FloodFill11moveOneCellEP4Cell(ptr noundef nonnull align 8 dereferenceable(8457) %0, ptr noundef %39)
          to label %.critedge unwind label %.loopexit, !llvm.loop !40

.critedge2:                                       ; preds = %28, %.critedge, %32
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %41)
          to label %43 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

43:                                               ; preds = %.critedge2
  br i1 %42, label %53, label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %45)
          to label %47 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

47:                                               ; preds = %44
  br i1 %46, label %53, label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %8, align 8, !tbaa !41
  %50 = icmp eq i32 %49, 2
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  invoke void @_ZN9FloodFill10turnAroundEv(ptr noundef nonnull align 8 dereferenceable(8457) %0)
          to label %53 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

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

53:                                               ; preds = %51, %52, %47, %43
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %54)
          to label %56 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

56:                                               ; preds = %53
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  br i1 %55, label %58, label %63

58:                                               ; preds = %56
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40) %57)
          to label %59 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

59:                                               ; preds = %58
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3sim14MouseInterface11resetColorsEii(ptr noundef nonnull align 8 dereferenceable(40) %60, i32 noundef 0, i32 noundef 0)
          to label %61 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

61:                                               ; preds = %59
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3sim14MouseInterface12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(40) %62)
          to label %71 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp

63:                                               ; preds = %56
  %64 = invoke noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40) %57)
          to label %65 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

65:                                               ; preds = %63
  br i1 %64, label %66, label %70

66:                                               ; preds = %65
  store i32 0, ptr %5, align 8, !tbaa !38
  store i32 0, ptr %6, align 4, !tbaa !39
  store i32 0, ptr %8, align 8, !tbaa !41
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40) %67)
          to label %68 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

68:                                               ; preds = %66
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3sim14MouseInterface11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(40) %69)
          to label %70 unwind label %.loopexit.split-lp.loopexit.split-lp.loopexit

70:                                               ; preds = %65, %68
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_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

71:                                               ; preds = %61
  call void @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_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 @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEEC2ERKS5_(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 @_ZNSt5stackIP4CellSt5dequeIS1_SaIS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #3 align 2

declare void @_ZN3sim14MouseInterface11resetColorsEii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN3sim14MouseInterface13undoRequestedEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN3sim14MouseInterface14resetRequestedEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

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

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

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

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

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

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

declare void @_ZN3sim14MouseInterface13resetPositionEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

declare void @_ZN3sim14MouseInterface12resetHonoredEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

declare void @_ZN3sim14MouseInterface11undoHonoredEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

declare noundef ptr @_ZN4Cell7getPrevEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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 = { "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 = { 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 8}
!6 = !{!"_ZTS9FloodFill", !7, i64 0, !8, i64 8, !9, i64 16, !11, i64 8208, !11, i64 8212, !11, i64 8216, !11, i64 8220, !12, i64 8224, !12, i64 8225, !13, i64 8232, !12, i64 8456}
!7 = !{!"_ZTS10IAlgorithm"}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"bool", !9, i64 0}
!13 = !{!"_ZTS7History", !11, i64 0, !11, i64 4, !8, i64 8, !14, i64 16, !21, i64 96, !27, i64 176, !32, i64 200}
!14 = !{!"_ZTSSt5stackIP4CellSt5dequeIS1_SaIS1_EEE", !15, i64 0}
!15 = !{!"_ZTSSt5dequeIP4CellSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt11_Deque_baseIP4CellSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt11_Deque_baseIP4CellSaIS1_EE11_Deque_implE", !18, i64 0}
!18 = !{!"_ZTSNSt11_Deque_baseIP4CellSaIS1_EE16_Deque_impl_dataE", !8, i64 0, !19, i64 8, !20, i64 16, !20, i64 48}
!19 = !{!"long", !9, i64 0}
!20 = !{!"_ZTSSt15_Deque_iteratorIP4CellRS1_PS1_E", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!21 = !{!"_ZTSSt5queueISt5stackIP4CellSt5dequeIS2_SaIS2_EEES3_IS6_SaIS6_EEE", !22, i64 0}
!22 = !{!"_ZTSSt5dequeISt5stackIP4CellS_IS2_SaIS2_EEESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE11_Deque_implE", !25, i64 0}
!25 = !{!"_ZTSNSt11_Deque_baseISt5stackIP4CellSt5dequeIS2_SaIS2_EEESaIS6_EE16_Deque_impl_dataE", !8, i64 0, !19, i64 8, !26, i64 16, !26, i64 48}
!26 = !{!"_ZTSSt15_Deque_iteratorISt5stackIP4CellSt5dequeIS2_SaIS2_EEERS6_PS6_E", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!27 = !{!"_ZTSNSt7__cxx114listIiSaIiEEE", !28, i64 0}
!28 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEEE", !29, i64 0}
!29 = !{!"_ZTSNSt7__cxx1110_List_baseIiSaIiEE10_List_implE", !30, i64 0}
!30 = !{!"_ZTSNSt8__detail17_List_node_headerE", !31, i64 0, !19, i64 16}
!31 = !{!"_ZTSNSt8__detail15_List_node_baseE", !8, i64 0, !8, i64 8}
!32 = !{!"_ZTSNSt7__cxx114listINS0_I7CellmodSaIS1_EEESaIS3_EEE", !33, i64 0}
!33 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listI7CellmodSaIS2_EEESaIS4_EEE", !34, i64 0}
!34 = !{!"_ZTSNSt7__cxx1110_List_baseINS_4listI7CellmodSaIS2_EEESaIS4_EE10_List_implE", !30, i64 0}
!35 = !{!8, !8, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!6, !11, i64 8208}
!39 = !{!6, !11, i64 8212}
!40 = distinct !{!40, !37}
!41 = !{!6, !11, i64 8216}


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