; LLVM IR from Whittler23/A-star-algorithm-SFML :: src/application.ll (ZN11Application3runEv)

; 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.Application = type <{ %"class.sf::RenderWindow", %class.Grid, %class.Gui, %struct.MousePositions, %class.InformationWindow, %class.PathSolver, i8, [7 x i8] }>
%"class.sf::RenderWindow" = type { %"class.sf::Window", %"class.sf::RenderTarget" }
%"class.sf::Window" = type { ptr, ptr, ptr, %"class.sf::Clock", %"class.sf::Time", %"class.sf::Vector2" }
%"class.sf::Clock" = type { %"class.sf::Time" }
%"class.sf::Time" = type { i64 }
%"class.sf::Vector2" = type { i32, i32 }
%"class.sf::RenderTarget" = type { ptr, %"class.sf::View", %"class.sf::View", %"struct.sf::RenderTarget::StatesCache", i64 }
%"class.sf::View" = type <{ %"class.sf::Vector2.0", %"class.sf::Vector2.0", float, %"class.sf::Rect", %"class.sf::Transform", %"class.sf::Transform", i8, i8, [2 x i8] }>
%"class.sf::Vector2.0" = type { float, float }
%"class.sf::Rect" = type { float, float, float, float }
%"class.sf::Transform" = type { [16 x float] }
%"struct.sf::RenderTarget::StatesCache" = type <{ i8, i8, i8, i8, %"struct.sf::BlendMode", [4 x i8], i64, i8, i8, [2 x i8], [4 x %"class.sf::Vertex"], [4 x i8] }>
%"struct.sf::BlendMode" = type { i32, i32, i32, i32, i32, i32 }
%"class.sf::Vertex" = type { %"class.sf::Vector2.0", %"class.sf::Color", %"class.sf::Vector2.0" }
%"class.sf::Color" = type { i8, i8, i8, i8 }
%class.Grid = type <{ %"class.sf::Drawable", %"class.std::vector", ptr, ptr, i32, i32, i32, i8, [3 x i8] }>
%"class.sf::Drawable" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::unique_ptr<Node>, std::allocator<std::unique_ptr<Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<Node>, std::allocator<std::unique_ptr<Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<Node>, std::allocator<std::unique_ptr<Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<Node>, std::allocator<std::unique_ptr<Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Gui = type <{ ptr, %"class.std::map", i8, [7 x i8] }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<Button>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<Button>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<Button>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::unique_ptr<Button>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%struct.MousePositions = type { %"class.sf::Vector2.0", %"class.sf::Vector2.4" }
%"class.sf::Vector2.4" = type { i32, i32 }
%class.InformationWindow = type { %"class.sf::Drawable", %"class.sf::RectangleShape", %"class.sf::Text", %"class.sf::Font" }
%"class.sf::RectangleShape" = type { %"class.sf::Shape", %"class.sf::Vector2.0" }
%"class.sf::Shape" = type { %"class.sf::Drawable", %"class.sf::Transformable.base", ptr, %"class.sf::Rect.5", %"class.sf::Color", %"class.sf::Color", float, [4 x i8], %"class.sf::VertexArray", %"class.sf::VertexArray", %"class.sf::Rect", %"class.sf::Rect" }
%"class.sf::Transformable.base" = type <{ ptr, %"class.sf::Vector2.0", %"class.sf::Vector2.0", float, %"class.sf::Vector2.0", %"class.sf::Transform", i8, [3 x i8], %"class.sf::Transform", i8 }>
%"class.sf::Rect.5" = type { i32, i32, i32, i32 }
%"class.sf::VertexArray" = type <{ %"class.sf::Drawable", %"class.std::vector.6", i32, [4 x i8] }>
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<sf::Vertex, std::allocator<sf::Vertex>>::_Vector_impl" }
%"struct.std::_Vector_base<sf::Vertex, std::allocator<sf::Vertex>>::_Vector_impl" = type { %"struct.std::_Vector_base<sf::Vertex, std::allocator<sf::Vertex>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sf::Vertex, std::allocator<sf::Vertex>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sf::Text" = type { %"class.sf::Drawable", %"class.sf::Transformable.base", %"class.sf::String", ptr, i32, float, float, i32, %"class.sf::Color", %"class.sf::Color", float, [4 x i8], %"class.sf::VertexArray", %"class.sf::VertexArray", %"class.sf::Rect", i8, i64 }
%"class.sf::String" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<unsigned int>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<unsigned int>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.sf::Font" = type { ptr, ptr, ptr, ptr, ptr, %"struct.sf::Font::Info", %"class.std::map.19", %"class.std::vector.25" }
%"struct.sf::Font::Info" = type { %"class.std::__cxx11::basic_string.14" }
%"class.std::__cxx11::basic_string.14" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.18 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.18 = type { i64, [8 x i8] }
%"class.std::map.19" = type { %"class.std::_Rb_tree.20" }
%"class.std::_Rb_tree.20" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, sf::Font::Page>, std::_Select1st<std::pair<const unsigned int, sf::Font::Page>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, sf::Font::Page>, std::_Select1st<std::pair<const unsigned int, sf::Font::Page>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.PathSolver = type <{ ptr, %class.PathDrawer, %"class.std::vector.30", %"class.std::vector.30", ptr, ptr, ptr, %"class.sf::Time", i8, [7 x i8] }>
%class.PathDrawer = type <{ %"class.std::vector.30", %"class.sf::Clock", i32, i8, [3 x i8] }>
%"class.std::vector.30" = type { %"struct.std::_Vector_base.31" }
%"struct.std::_Vector_base.31" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Node *, std::allocator<Node *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11Application3runEv(ptr noundef nonnull align 8 dereferenceable(1673) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %3 = load ptr, ptr %2, align 8
  br label %4

4:                                                ; preds = %10, %1
  %5 = getelementptr inbounds %class.Application, ptr %3, i32 0, i32 6
  %6 = load i8, ptr %5, align 8, !tbaa !9, !range !82, !noundef !83
  %7 = trunc i8 %6 to i1
  %8 = zext i1 %7 to i32
  %9 = icmp ne i32 %8, 1
  br i1 %9, label %10, label %11

10:                                               ; preds = %4
  call void @_ZN11Application13processEventsEv(ptr noundef nonnull align 8 dereferenceable(1673) %3)
  call void @_ZN11Application14processButtonsEv(ptr noundef nonnull align 8 dereferenceable(1673) %3)
  call void @_ZN11Application6updateEv(ptr noundef nonnull align 8 dereferenceable(1673) %3)
  call void @_ZN11Application4drawEv(ptr noundef nonnull align 8 dereferenceable(1673) %3)
  br label %4, !llvm.loop !84

11:                                               ; preds = %4
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11Application4drawEv(ptr noundef nonnull align 8 dereferenceable(1673)) #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" }

!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, !24, i64 1672}
!10 = !{!"_ZTS11Application", !11, i64 0, !29, i64 528, !35, i64 592, !45, i64 656, !47, i64 672, !76, i64 1536, !24, i64 1672}
!11 = !{!"_ZTSN2sf12RenderWindowE", !12, i64 0, !18, i64 48}
!12 = !{!"_ZTSN2sf6WindowE", !6, i64 8, !6, i64 16, !13, i64 24, !14, i64 32, !16, i64 40}
!13 = !{!"_ZTSN2sf5ClockE", !14, i64 0}
!14 = !{!"_ZTSN2sf4TimeE", !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"_ZTSN2sf7Vector2IjEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN2sf12RenderTargetE", !19, i64 8, !19, i64 176, !25, i64 344, !15, i64 472}
!19 = !{!"_ZTSN2sf4ViewE", !20, i64 0, !20, i64 8, !21, i64 16, !22, i64 20, !23, i64 36, !23, i64 100, !24, i64 164, !24, i64 165}
!20 = !{!"_ZTSN2sf7Vector2IfEE", !21, i64 0, !21, i64 4}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSN2sf4RectIfEE", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!23 = !{!"_ZTSN2sf9TransformE", !7, i64 0}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"_ZTSN2sf12RenderTarget11StatesCacheE", !24, i64 0, !24, i64 1, !24, i64 2, !26, i64 4, !15, i64 32, !24, i64 40, !24, i64 41, !7, i64 44}
!26 = !{!"_ZTSN2sf9BlendModeE", !27, i64 0, !27, i64 4, !28, i64 8, !27, i64 12, !27, i64 16, !28, i64 20}
!27 = !{!"_ZTSN2sf9BlendMode6FactorE", !7, i64 0}
!28 = !{!"_ZTSN2sf9BlendMode8EquationE", !7, i64 0}
!29 = !{!"_ZTS4Grid", !30, i64 0, !31, i64 8, !6, i64 32, !6, i64 40, !17, i64 48, !17, i64 52, !17, i64 56, !24, i64 60}
!30 = !{!"_ZTSN2sf8DrawableE"}
!31 = !{!"_ZTSSt6vectorISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"_ZTS3Gui", !6, i64 0, !36, i64 8, !24, i64 56}
!36 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10unique_ptrI6ButtonSt14default_deleteIS7_EESt4lessIS5_ESaISt4pairIKS5_SA_EEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10unique_ptrI6ButtonSt14default_deleteIS9_EEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10unique_ptrI6ButtonSt14default_deleteIS9_EEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE13_Rb_tree_implISH_Lb1EEE", !39, i64 0, !41, i64 8}
!39 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !40, i64 0}
!40 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!41 = !{!"_ZTSSt15_Rb_tree_header", !42, i64 0, !44, i64 32}
!42 = !{!"_ZTSSt18_Rb_tree_node_base", !43, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!43 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!44 = !{!"long", !7, i64 0}
!45 = !{!"_ZTS14MousePositions", !20, i64 0, !46, i64 8}
!46 = !{!"_ZTSN2sf7Vector2IiEE", !17, i64 0, !17, i64 4}
!47 = !{!"_ZTS17InformationWindow", !30, i64 0, !48, i64 8, !59, i64 352, !63, i64 720}
!48 = !{!"_ZTSN2sf14RectangleShapeE", !49, i64 0, !20, i64 336}
!49 = !{!"_ZTSN2sf5ShapeE", !30, i64 0, !50, i64 8, !6, i64 184, !51, i64 192, !52, i64 208, !52, i64 212, !21, i64 216, !53, i64 224, !53, i64 264, !22, i64 304, !22, i64 320}
!50 = !{!"_ZTSN2sf13TransformableE", !20, i64 8, !20, i64 16, !21, i64 24, !20, i64 28, !23, i64 36, !24, i64 100, !23, i64 104, !24, i64 168}
!51 = !{!"_ZTSN2sf4RectIiEE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!52 = !{!"_ZTSN2sf5ColorE", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3}
!53 = !{!"_ZTSN2sf11VertexArrayE", !30, i64 0, !54, i64 8, !58, i64 32}
!54 = !{!"_ZTSSt6vectorIN2sf6VertexESaIS1_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseIN2sf6VertexESaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN2sf6VertexESaIS1_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIN2sf6VertexESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTSN2sf13PrimitiveTypeE", !7, i64 0}
!59 = !{!"_ZTSN2sf4TextE", !30, i64 0, !50, i64 8, !60, i64 184, !6, i64 216, !17, i64 224, !21, i64 228, !21, i64 232, !17, i64 236, !52, i64 240, !52, i64 244, !21, i64 248, !53, i64 256, !53, i64 296, !22, i64 336, !24, i64 352, !15, i64 360}
!60 = !{!"_ZTSN2sf6StringE", !61, i64 0}
!61 = !{!"_ZTSNSt7__cxx1112basic_stringIjSt11char_traitsIjESaIjEEE", !62, i64 0, !44, i64 8, !7, i64 16}
!62 = !{!"_ZTSNSt7__cxx1112basic_stringIjSt11char_traitsIjESaIjEE12_Alloc_hiderE", !6, i64 0}
!63 = !{!"_ZTSN2sf4FontE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !64, i64 40, !67, i64 72, !72, i64 120}
!64 = !{!"_ZTSN2sf4Font4InfoE", !65, i64 0}
!65 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !66, i64 0, !44, i64 8, !7, i64 16}
!66 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!67 = !{!"_ZTSSt3mapIjN2sf4Font4PageESt4lessIjESaISt4pairIKjS2_EEE", !68, i64 0}
!68 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjN2sf4Font4PageEESt10_Select1stIS5_ESt4lessIjESaIS5_EE", !69, i64 0}
!69 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjN2sf4Font4PageEESt10_Select1stIS5_ESt4lessIjESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !70, i64 0, !41, i64 8}
!70 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !71, i64 0}
!71 = !{!"_ZTSSt4lessIjE"}
!72 = !{!"_ZTSSt6vectorIhSaIhEE", !73, i64 0}
!73 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !75, i64 0}
!75 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!76 = !{!"_ZTS10PathSolver", !6, i64 0, !77, i64 8, !78, i64 48, !78, i64 72, !6, i64 96, !6, i64 104, !6, i64 112, !14, i64 120, !24, i64 128}
!77 = !{!"_ZTS10PathDrawer", !78, i64 0, !13, i64 24, !17, i64 32, !24, i64 36}
!78 = !{!"_ZTSSt6vectorIP4NodeSaIS1_EE", !79, i64 0}
!79 = !{!"_ZTSSt12_Vector_baseIP4NodeSaIS1_EE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseIP4NodeSaIS1_EE12_Vector_implE", !81, i64 0}
!81 = !{!"_ZTSNSt12_Vector_baseIP4NodeSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}


; 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"

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11Application3runEv(ptr noundef nonnull align 8 dereferenceable(1673) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 1672
  %3 = load i8, ptr %2, align 8, !tbaa !5, !range !81, !noundef !82
  %.not.not1 = icmp eq i8 %3, 0
  br i1 %.not.not1, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1, %.lr.ph
  tail call void @_ZN11Application13processEventsEv(ptr noundef nonnull align 8 dereferenceable(1673) %0)
  tail call void @_ZN11Application14processButtonsEv(ptr noundef nonnull align 8 dereferenceable(1673) %0)
  tail call void @_ZN11Application6updateEv(ptr noundef nonnull align 8 dereferenceable(1673) %0)
  tail call void @_ZN11Application4drawEv(ptr noundef nonnull align 8 dereferenceable(1673) %0)
  %4 = load i8, ptr %2, align 8, !tbaa !5, !range !81, !noundef !82
  %.not.not = icmp eq i8 %4, 0
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !83

._crit_edge:                                      ; preds = %.lr.ph, %1
  ret void
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11Application4drawEv(ptr noundef nonnull align 8 dereferenceable(1673)) 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" }

!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, !23, i64 1672}
!6 = !{!"_ZTS11Application", !7, i64 0, !28, i64 528, !34, i64 592, !44, i64 656, !46, i64 672, !75, i64 1536, !23, i64 1672}
!7 = !{!"_ZTSN2sf12RenderWindowE", !8, i64 0, !17, i64 48}
!8 = !{!"_ZTSN2sf6WindowE", !9, i64 8, !9, i64 16, !12, i64 24, !13, i64 32, !15, i64 40}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN2sf5ClockE", !13, i64 0}
!13 = !{!"_ZTSN2sf4TimeE", !14, i64 0}
!14 = !{!"long long", !10, i64 0}
!15 = !{!"_ZTSN2sf7Vector2IjEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !10, i64 0}
!17 = !{!"_ZTSN2sf12RenderTargetE", !18, i64 8, !18, i64 176, !24, i64 344, !14, i64 472}
!18 = !{!"_ZTSN2sf4ViewE", !19, i64 0, !19, i64 8, !20, i64 16, !21, i64 20, !22, i64 36, !22, i64 100, !23, i64 164, !23, i64 165}
!19 = !{!"_ZTSN2sf7Vector2IfEE", !20, i64 0, !20, i64 4}
!20 = !{!"float", !10, i64 0}
!21 = !{!"_ZTSN2sf4RectIfEE", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!22 = !{!"_ZTSN2sf9TransformE", !10, i64 0}
!23 = !{!"bool", !10, i64 0}
!24 = !{!"_ZTSN2sf12RenderTarget11StatesCacheE", !23, i64 0, !23, i64 1, !23, i64 2, !25, i64 4, !14, i64 32, !23, i64 40, !23, i64 41, !10, i64 44}
!25 = !{!"_ZTSN2sf9BlendModeE", !26, i64 0, !26, i64 4, !27, i64 8, !26, i64 12, !26, i64 16, !27, i64 20}
!26 = !{!"_ZTSN2sf9BlendMode6FactorE", !10, i64 0}
!27 = !{!"_ZTSN2sf9BlendMode8EquationE", !10, i64 0}
!28 = !{!"_ZTS4Grid", !29, i64 0, !30, i64 8, !9, i64 32, !9, i64 40, !16, i64 48, !16, i64 52, !16, i64 56, !23, i64 60}
!29 = !{!"_ZTSN2sf8DrawableE"}
!30 = !{!"_ZTSSt6vectorISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrI4NodeSt14default_deleteIS1_EESaIS4_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!34 = !{!"_ZTS3Gui", !9, i64 0, !35, i64 8, !23, i64 56}
!35 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10unique_ptrI6ButtonSt14default_deleteIS7_EESt4lessIS5_ESaISt4pairIKS5_SA_EEE", !36, i64 0}
!36 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10unique_ptrI6ButtonSt14default_deleteIS9_EEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE", !37, i64 0}
!37 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10unique_ptrI6ButtonSt14default_deleteIS9_EEESt10_Select1stISD_ESt4lessIS5_ESaISD_EE13_Rb_tree_implISH_Lb1EEE", !38, i64 0, !40, i64 8}
!38 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !39, i64 0}
!39 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!40 = !{!"_ZTSSt15_Rb_tree_header", !41, i64 0, !43, i64 32}
!41 = !{!"_ZTSSt18_Rb_tree_node_base", !42, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!42 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!43 = !{!"long", !10, i64 0}
!44 = !{!"_ZTS14MousePositions", !19, i64 0, !45, i64 8}
!45 = !{!"_ZTSN2sf7Vector2IiEE", !16, i64 0, !16, i64 4}
!46 = !{!"_ZTS17InformationWindow", !29, i64 0, !47, i64 8, !58, i64 352, !62, i64 720}
!47 = !{!"_ZTSN2sf14RectangleShapeE", !48, i64 0, !19, i64 336}
!48 = !{!"_ZTSN2sf5ShapeE", !29, i64 0, !49, i64 8, !9, i64 184, !50, i64 192, !51, i64 208, !51, i64 212, !20, i64 216, !52, i64 224, !52, i64 264, !21, i64 304, !21, i64 320}
!49 = !{!"_ZTSN2sf13TransformableE", !19, i64 8, !19, i64 16, !20, i64 24, !19, i64 28, !22, i64 36, !23, i64 100, !22, i64 104, !23, i64 168}
!50 = !{!"_ZTSN2sf4RectIiEE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!51 = !{!"_ZTSN2sf5ColorE", !10, i64 0, !10, i64 1, !10, i64 2, !10, i64 3}
!52 = !{!"_ZTSN2sf11VertexArrayE", !29, i64 0, !53, i64 8, !57, i64 32}
!53 = !{!"_ZTSSt6vectorIN2sf6VertexESaIS1_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIN2sf6VertexESaIS1_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN2sf6VertexESaIS1_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN2sf6VertexESaIS1_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!57 = !{!"_ZTSN2sf13PrimitiveTypeE", !10, i64 0}
!58 = !{!"_ZTSN2sf4TextE", !29, i64 0, !49, i64 8, !59, i64 184, !9, i64 216, !16, i64 224, !20, i64 228, !20, i64 232, !16, i64 236, !51, i64 240, !51, i64 244, !20, i64 248, !52, i64 256, !52, i64 296, !21, i64 336, !23, i64 352, !14, i64 360}
!59 = !{!"_ZTSN2sf6StringE", !60, i64 0}
!60 = !{!"_ZTSNSt7__cxx1112basic_stringIjSt11char_traitsIjESaIjEEE", !61, i64 0, !43, i64 8, !10, i64 16}
!61 = !{!"_ZTSNSt7__cxx1112basic_stringIjSt11char_traitsIjESaIjEE12_Alloc_hiderE", !9, i64 0}
!62 = !{!"_ZTSN2sf4FontE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !63, i64 40, !66, i64 72, !71, i64 120}
!63 = !{!"_ZTSN2sf4Font4InfoE", !64, i64 0}
!64 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !65, i64 0, !43, i64 8, !10, i64 16}
!65 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!66 = !{!"_ZTSSt3mapIjN2sf4Font4PageESt4lessIjESaISt4pairIKjS2_EEE", !67, i64 0}
!67 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjN2sf4Font4PageEESt10_Select1stIS5_ESt4lessIjESaIS5_EE", !68, i64 0}
!68 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjN2sf4Font4PageEESt10_Select1stIS5_ESt4lessIjESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !69, i64 0, !40, i64 8}
!69 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !70, i64 0}
!70 = !{!"_ZTSSt4lessIjE"}
!71 = !{!"_ZTSSt6vectorIhSaIhEE", !72, i64 0}
!72 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !73, i64 0}
!73 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !74, i64 0}
!74 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!75 = !{!"_ZTS10PathSolver", !9, i64 0, !76, i64 8, !77, i64 48, !77, i64 72, !9, i64 96, !9, i64 104, !9, i64 112, !13, i64 120, !23, i64 128}
!76 = !{!"_ZTS10PathDrawer", !77, i64 0, !12, i64 24, !16, i64 32, !23, i64 36}
!77 = !{!"_ZTSSt6vectorIP4NodeSaIS1_EE", !78, i64 0}
!78 = !{!"_ZTSSt12_Vector_baseIP4NodeSaIS1_EE", !79, i64 0}
!79 = !{!"_ZTSNSt12_Vector_baseIP4NodeSaIS1_EE12_Vector_implE", !80, i64 0}
!80 = !{!"_ZTSNSt12_Vector_baseIP4NodeSaIS1_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!81 = !{i8 0, i8 2}
!82 = !{}
!83 = distinct !{!83, !84}
!84 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass