; LLVM IR from mackorone/mms :: old/v1/src/algo/FloodFill/FloodFill.ll (ZN9FloodFill5solveEPN3sim14MouseInterfaceE)

; 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.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::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.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: mustprogress uwtable
define dso_local void @_ZN9FloodFill5solveEPN3sim14MouseInterfaceE(ptr noundef nonnull align 8 dereferenceable(8457) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %class.FloodFill, ptr %8, i32 0, i32 1
  store ptr %9, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !36
  br label %11

11:                                               ; preds = %41, %2
  %12 = load i32, ptr %5, align 4, !tbaa !36
  %13 = icmp slt i32 %12, 16
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %44

15:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !36
  br label %16

16:                                               ; preds = %37, %15
  %17 = load i32, ptr %7, align 4, !tbaa !36
  %18 = icmp slt i32 %17, 16
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %40

20:                                               ; preds = %16
  %21 = getelementptr inbounds %class.FloodFill, ptr %8, i32 0, i32 2
  %22 = load i32, ptr %5, align 4, !tbaa !36
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %21, i64 0, i64 %23
  %25 = load i32, ptr %7, align 4, !tbaa !36
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [16 x %class.Cell], ptr %24, i64 0, i64 %26
  %28 = load i32, ptr %5, align 4, !tbaa !36
  call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %27, i32 noundef %28)
  %29 = getelementptr inbounds %class.FloodFill, ptr %8, i32 0, i32 2
  %30 = load i32, ptr %5, align 4, !tbaa !36
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %29, i64 0, i64 %31
  %33 = load i32, ptr %7, align 4, !tbaa !36
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [16 x %class.Cell], ptr %32, i64 0, i64 %34
  %36 = load i32, ptr %7, align 4, !tbaa !36
  call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %35, i32 noundef %36)
  br label %37

37:                                               ; preds = %20
  %38 = load i32, ptr %7, align 4, !tbaa !36
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %7, align 4, !tbaa !36
  br label %16, !llvm.loop !37

40:                                               ; preds = %19
  br label %41

41:                                               ; preds = %40
  %42 = load i32, ptr %5, align 4, !tbaa !36
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %5, align 4, !tbaa !36
  br label %11, !llvm.loop !39

44:                                               ; preds = %14
  call void @_ZN9FloodFill14extensiveSolveEv(ptr noundef nonnull align 8 dereferenceable(8457) %8)
  ret void
}

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

declare void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2

declare void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!12, !12, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = distinct !{!39, !38}


; 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.Cell = type { i32, i32, i32, i8, i8, [4 x i8], [4 x i8], ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9FloodFill5solveEPN3sim14MouseInterfaceE(ptr noundef nonnull align 8 dereferenceable(8457) %0, ptr noundef %1) unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  br label %.preheader

.preheader:                                       ; preds = %2, %.preheader
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %.preheader ]
  %5 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 0
  %6 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %5, i32 noundef 0)
  %7 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 1
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %7, i32 noundef 1)
  %8 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 2
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef 2)
  %9 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 3
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 3)
  %10 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 4
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 4)
  %11 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 5
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 5)
  %12 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 6
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef 6)
  %13 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 7
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 7)
  %14 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 8
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %14, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %14, i32 noundef 8)
  %15 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 9
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %15, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %15, i32 noundef 9)
  %16 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 10
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %16, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %16, i32 noundef 10)
  %17 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 11
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 11)
  %18 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 12
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef 12)
  %19 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 13
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef 13)
  %20 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 14
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef 14)
  %21 = getelementptr inbounds [16 x [16 x %class.Cell]], ptr %4, i64 0, i64 %indvars.iv, i64 15
  tail call void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef %6)
  tail call void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 15)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 16
  br i1 %exitcond.not, label %22, label %.preheader, !llvm.loop !35

22:                                               ; preds = %.preheader
  tail call void @_ZN9FloodFill14extensiveSolveEv(ptr noundef nonnull align 8 dereferenceable(8457) %0)
  ret void
}

declare void @_ZN4Cell4setXEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

declare void @_ZN4Cell4setYEi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

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

attributes #0 = { 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 #1 = { "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" }

!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 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass