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

; 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.sf::VideoMode" = type { i32, i32, i32 }
%"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.std::locale" = type { ptr }
%"struct.sf::ContextSettings" = type <{ i32, i32, i32, i32, i32, i32, i8, [3 x i8] }>
%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::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 }

@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ApplicationC2Ev(ptr noundef nonnull align 8 dereferenceable(1673) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.sf::VideoMode", align 4
  %4 = alloca %"class.sf::String", align 8
  %5 = alloca %"class.std::locale", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.sf::ContextSettings", align 4
  %9 = alloca { i64, i32 }, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  %11 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 0
  call void @_ZN2sf9VideoModeC1Ejjj(ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef 1600, i32 noundef 900, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  call void @_ZNSt6localeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  invoke void @_ZN2sf6StringC1EPKcRKSt6locale(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef @.str, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %12 unwind label %35

12:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 28, ptr %8) #8
  invoke void @_ZN2sf15ContextSettingsC2Ejjjjjjb(ptr noundef nonnull align 4 dereferenceable(25) %8, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false)
          to label %13 unwind label %39

13:                                               ; preds = %12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %3, i64 12, i1 false)
  %14 = getelementptr inbounds { i64, i32 }, ptr %9, i32 0, i32 0
  %15 = load i64, ptr %14, align 4
  %16 = getelementptr inbounds { i64, i32 }, ptr %9, i32 0, i32 1
  %17 = load i32, ptr %16, align 4
  invoke void @_ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE(ptr noundef nonnull align 8 dereferenceable(528) %11, i64 %15, i32 %17, ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(25) %8)
          to label %18 unwind label %39

18:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 28, ptr %8) #8
  call void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #8
  %19 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 1
  invoke void @_ZN4GridC1Eiii(ptr noundef nonnull align 8 dereferenceable(61) %19, i32 noundef 32, i32 noundef 18, i32 noundef 40)
          to label %20 unwind label %44

20:                                               ; preds = %18
  %21 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 2
  %22 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 0
  %23 = getelementptr inbounds i8, ptr %22, i64 48
  invoke void @_ZN3GuiC1ERN2sf12RenderTargetE(ptr noundef nonnull align 8 dereferenceable(57) %21, ptr noundef nonnull align 8 dereferenceable(480) %23)
          to label %24 unwind label %48

24:                                               ; preds = %20
  %25 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 3
  invoke void @_ZN14MousePositionsC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25)
          to label %26 unwind label %52

26:                                               ; preds = %24
  %27 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 4
  invoke void @_ZN17InformationWindowC1Ev(ptr noundef nonnull align 8 dereferenceable(864) %27)
          to label %28 unwind label %52

28:                                               ; preds = %26
  %29 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 5
  invoke void @_ZN10PathSolverC1Ev(ptr noundef nonnull align 8 dereferenceable(129) %29)
          to label %30 unwind label %56

30:                                               ; preds = %28
  %31 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 6
  store i8 0, ptr %31, align 8, !tbaa !9
  invoke void @_ZN11Application4initEv(ptr noundef nonnull align 8 dereferenceable(1673) %10)
          to label %32 unwind label %60

32:                                               ; preds = %30
  %33 = getelementptr inbounds %class.Application, ptr %10, i32 0, i32 2
  invoke void @_ZN3Gui4initEv(ptr noundef nonnull align 8 dereferenceable(57) %33)
          to label %34 unwind label %60

34:                                               ; preds = %32
  ret void

35:                                               ; preds = %1
  %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
  br label %43

39:                                               ; preds = %13, %12
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %6, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 28, ptr %8) #8
  call void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  br label %43

43:                                               ; preds = %39, %35
  call void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #8
  br label %68

44:                                               ; preds = %18
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %6, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %7, align 4
  br label %67

48:                                               ; preds = %20
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %6, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %7, align 4
  br label %66

52:                                               ; preds = %26, %24
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %7, align 4
  br label %65

56:                                               ; preds = %28
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  br label %64

60:                                               ; preds = %32, %30
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %6, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %7, align 4
  call void @_ZN10PathSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(129) %29) #8
  br label %64

64:                                               ; preds = %60, %56
  call void @_ZN17InformationWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(864) %27) #8
  br label %65

65:                                               ; preds = %64, %52
  call void @_ZN3GuiD2Ev(ptr noundef nonnull align 8 dereferenceable(57) %21) #8
  br label %66

66:                                               ; preds = %65, %48
  call void @_ZN4GridD2Ev(ptr noundef nonnull align 8 dereferenceable(61) %19) #8
  br label %67

67:                                               ; preds = %66, %44
  call void @_ZN2sf12RenderWindowD1Ev(ptr noundef nonnull align 8 dereferenceable(528) %11) #8
  br label %68

68:                                               ; preds = %67, %43
  %69 = load ptr, ptr %6, align 8
  %70 = load i32, ptr %7, align 4
  %71 = insertvalue { ptr, i32 } poison, ptr %69, 0
  %72 = insertvalue { ptr, i32 } %71, i32 %70, 1
  resume { ptr, i32 } %72
}

declare void @_ZN2sf9VideoModeC1Ejjj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1

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

; Function Attrs: nounwind
declare void @_ZNSt6localeC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZN2sf6StringC1EPKcRKSt6locale(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2sf15ContextSettingsC2Ejjjjjjb(ptr noundef nonnull align 4 dereferenceable(25), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #4 align 2

declare void @_ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE(ptr noundef nonnull align 8 dereferenceable(528), i64, i32, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 4 dereferenceable(25)) unnamed_addr #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 align 2

; Function Attrs: nounwind
declare void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZN4GridC1Eiii(ptr noundef nonnull align 8 dereferenceable(61), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1

declare void @_ZN3GuiC1ERN2sf12RenderTargetE(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14MousePositionsC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #7 align 2

declare void @_ZN17InformationWindowC1Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #1

declare void @_ZN10PathSolverC1Ev(ptr noundef nonnull align 8 dereferenceable(129)) unnamed_addr #1

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

declare void @_ZN3Gui4initEv(ptr noundef nonnull align 8 dereferenceable(57)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10PathSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(129)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN17InformationWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3GuiD2Ev(ptr noundef nonnull align 8 dereferenceable(57)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4GridD2Ev(ptr noundef nonnull align 8 dereferenceable(61)) unnamed_addr #6 align 2

; Function Attrs: nounwind
declare void @_ZN2sf12RenderWindowD1Ev(ptr noundef nonnull align 8 dereferenceable(528)) unnamed_addr #3

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


; 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.sf::VideoMode" = type { i32, i32, i32 }
%"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.std::locale" = type { ptr }
%"struct.sf::ContextSettings" = type <{ i32, i32, i32, i32, i32, i32, i8, [3 x i8] }>

@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ApplicationC2Ev(ptr noundef nonnull align 8 dereferenceable(1673) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.sf::VideoMode", align 8
  %3 = alloca %"class.sf::String", align 8
  %4 = alloca %"class.std::locale", align 8
  %5 = alloca %"struct.sf::ContextSettings", align 4
  call void @_ZN2sf9VideoModeC1Ejjj(ptr noundef nonnull align 4 dereferenceable(12) %2, i32 noundef 1600, i32 noundef 900, i32 noundef 32)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @_ZNSt6localeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  invoke void @_ZN2sf6StringC1EPKcRKSt6locale(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %6 unwind label %22

6:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %5) #7
  call void @_ZN2sf15ContextSettingsC2Ejjjjjjb(ptr noundef nonnull align 4 dereferenceable(25) %5, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 1, i32 noundef 0, i1 noundef zeroext false)
  %.sroa.0.0.copyload = load i64, ptr %2, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8
  invoke void @_ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE(ptr noundef nonnull align 8 dereferenceable(528) %0, i64 %.sroa.0.0.copyload, i32 %.sroa.2.0.copyload, ptr noundef nonnull align 8 dereferenceable(32) %3, i32 noundef 7, ptr noundef nonnull align 4 dereferenceable(25) %5)
          to label %7 unwind label %24

7:                                                ; preds = %6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #7
  call void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  %8 = getelementptr inbounds i8, ptr %0, i64 528
  invoke void @_ZN4GridC1Eiii(ptr noundef nonnull align 8 dereferenceable(61) %8, i32 noundef 32, i32 noundef 18, i32 noundef 40)
          to label %9 unwind label %27

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 592
  %11 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZN3GuiC1ERN2sf12RenderTargetE(ptr noundef nonnull align 8 dereferenceable(57) %10, ptr noundef nonnull align 8 dereferenceable(480) %11)
          to label %12 unwind label %29

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %0, i64 656
  invoke void @_ZN14MousePositionsC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %14 unwind label %31

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 672
  invoke void @_ZN17InformationWindowC1Ev(ptr noundef nonnull align 8 dereferenceable(864) %15)
          to label %16 unwind label %31

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 1536
  invoke void @_ZN10PathSolverC1Ev(ptr noundef nonnull align 8 dereferenceable(129) %17)
          to label %18 unwind label %33

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %0, i64 1672
  store i8 0, ptr %19, align 8, !tbaa !5
  invoke void @_ZN11Application4initEv(ptr noundef nonnull align 8 dereferenceable(1673) %0)
          to label %20 unwind label %35

20:                                               ; preds = %18
  invoke void @_ZN3Gui4initEv(ptr noundef nonnull align 8 dereferenceable(57) %10)
          to label %21 unwind label %35

21:                                               ; preds = %20
  ret void

22:                                               ; preds = %1
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %26

24:                                               ; preds = %6
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %5) #7
  call void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  br label %26

26:                                               ; preds = %24, %22
  %.pn = phi { ptr, i32 } [ %25, %24 ], [ %23, %22 ]
  call void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  br label %41

27:                                               ; preds = %7
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %40

29:                                               ; preds = %9
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %39

31:                                               ; preds = %14, %12
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %38

33:                                               ; preds = %16
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %20, %18
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN10PathSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(129) %17) #7
  br label %37

37:                                               ; preds = %35, %33
  %.pn9 = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @_ZN17InformationWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(864) %15) #7
  br label %38

38:                                               ; preds = %37, %31
  %.pn9.pn = phi { ptr, i32 } [ %.pn9, %37 ], [ %32, %31 ]
  call void @_ZN3GuiD2Ev(ptr noundef nonnull align 8 dereferenceable(57) %10) #7
  br label %39

39:                                               ; preds = %38, %29
  %.pn9.pn.pn = phi { ptr, i32 } [ %.pn9.pn, %38 ], [ %30, %29 ]
  call void @_ZN4GridD2Ev(ptr noundef nonnull align 8 dereferenceable(61) %8) #7
  br label %40

40:                                               ; preds = %39, %27
  %.pn9.pn.pn.pn = phi { ptr, i32 } [ %.pn9.pn.pn, %39 ], [ %28, %27 ]
  call void @_ZN2sf12RenderWindowD1Ev(ptr noundef nonnull align 8 dereferenceable(528) %0) #7
  br label %41

41:                                               ; preds = %40, %26
  %.pn9.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn9.pn.pn.pn, %40 ], [ %.pn, %26 ]
  resume { ptr, i32 } %.pn9.pn.pn.pn.pn
}

declare void @_ZN2sf9VideoModeC1Ejjj(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1

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

; Function Attrs: nounwind
declare void @_ZNSt6localeC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZN2sf6StringC1EPKcRKSt6locale(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2sf15ContextSettingsC2Ejjjjjjb(ptr noundef nonnull align 4 dereferenceable(25), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #4 align 2

declare void @_ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE(ptr noundef nonnull align 8 dereferenceable(528), i64, i32, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, ptr noundef nonnull align 4 dereferenceable(25)) unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN2sf6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZNSt6localeD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZN4GridC1Eiii(ptr noundef nonnull align 8 dereferenceable(61), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1

declare void @_ZN3GuiC1ERN2sf12RenderTargetE(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef nonnull align 8 dereferenceable(480)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN14MousePositionsC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

declare void @_ZN17InformationWindowC1Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #1

declare void @_ZN10PathSolverC1Ev(ptr noundef nonnull align 8 dereferenceable(129)) unnamed_addr #1

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

declare void @_ZN3Gui4initEv(ptr noundef nonnull align 8 dereferenceable(57)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10PathSolverD2Ev(ptr noundef nonnull align 8 dereferenceable(129)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN17InformationWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(864)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3GuiD2Ev(ptr noundef nonnull align 8 dereferenceable(57)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4GridD2Ev(ptr noundef nonnull align 8 dereferenceable(61)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN2sf12RenderWindowD1Ev(ptr noundef nonnull align 8 dereferenceable(528)) unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass