; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui/imgui_draw.ll (ZN11ImFontAtlasC2Ev)

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

%struct.ImVec2 = type { float, float }
%struct.ImFontAtlas = type { i8, i32, ptr, i32, i32, ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, [64 x %struct.ImVec4], i32, i32 }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11ImFontAtlasC2Ev(ptr noundef nonnull align 8 dereferenceable(1144) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %9 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 10
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %9)
  %10 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 11
  call void @_ZN8ImVectorIP6ImFontEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %11 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 12
  invoke void @_ZN8ImVectorI21ImFontAtlasCustomRectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %12 unwind label %39

12:                                               ; preds = %1
  %13 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 13
  invoke void @_ZN8ImVectorI12ImFontConfigEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %14 unwind label %43

14:                                               ; preds = %12
  %15 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 14
  %16 = getelementptr inbounds [64 x %struct.ImVec4], ptr %15, i32 0, i32 0
  %17 = getelementptr inbounds %struct.ImVec4, ptr %16, i64 64
  br label %18

18:                                               ; preds = %20, %14
  %19 = phi ptr [ %16, %14 ], [ %21, %20 ]
  invoke void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %19)
          to label %20 unwind label %47

20:                                               ; preds = %18
  %21 = getelementptr inbounds %struct.ImVec4, ptr %19, i64 1
  %22 = icmp eq ptr %21, %17
  br i1 %22, label %23, label %18

23:                                               ; preds = %20
  %24 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 0
  store i8 0, ptr %24, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 1
  store i32 0, ptr %25, align 4, !tbaa !18
  %26 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 2
  store ptr null, ptr %26, align 8, !tbaa !19
  %27 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 3
  store i32 0, ptr %27, align 8, !tbaa !20
  %28 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 4
  store i32 1, ptr %28, align 4, !tbaa !21
  %29 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 5
  store ptr null, ptr %29, align 8, !tbaa !22
  %30 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 6
  store ptr null, ptr %30, align 8, !tbaa !23
  %31 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 8
  store i32 0, ptr %31, align 4, !tbaa !24
  %32 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 7
  store i32 0, ptr %32, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %33 unwind label %51

33:                                               ; preds = %23
  %34 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %35 unwind label %55

35:                                               ; preds = %33
  %36 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %37 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 16
  store i32 -1, ptr %37, align 4, !tbaa !28
  %38 = getelementptr inbounds %struct.ImFontAtlas, ptr %7, i32 0, i32 15
  store i32 -1, ptr %38, align 8, !tbaa !29
  ret void

39:                                               ; preds = %1
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %3, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %4, align 4
  br label %61

43:                                               ; preds = %12
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %3, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %4, align 4
  br label %60

47:                                               ; preds = %18
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %3, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %4, align 4
  br label %59

51:                                               ; preds = %23
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %3, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %59

55:                                               ; preds = %33
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %3, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %59

59:                                               ; preds = %55, %51, %47
  call void @_ZN8ImVectorI12ImFontConfigED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %60

60:                                               ; preds = %59, %43
  call void @_ZN8ImVectorI21ImFontAtlasCustomRectED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br label %61

61:                                               ; preds = %60, %39
  call void @_ZN8ImVectorIP6ImFontED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  br label %62

62:                                               ; preds = %61
  %63 = load ptr, ptr %3, align 8
  %64 = load i32, ptr %4, align 4
  %65 = insertvalue { ptr, i32 } poison, ptr %63, 0
  %66 = insertvalue { ptr, i32 } %65, i32 %64, 1
  resume { ptr, i32 } %66
}

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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, !11, i64 0}
!10 = !{!"_ZTS11ImFontAtlas", !11, i64 0, !12, i64 4, !6, i64 8, !12, i64 16, !12, i64 20, !6, i64 24, !6, i64 32, !12, i64 40, !12, i64 44, !13, i64 48, !13, i64 56, !15, i64 64, !16, i64 80, !17, i64 96, !7, i64 112, !12, i64 1136, !12, i64 1140}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTS8ImVectorIP6ImFontE", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !12, i64 0, !12, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI12ImFontConfigE", !12, i64 0, !12, i64 4, !6, i64 8}
!18 = !{!10, !12, i64 4}
!19 = !{!10, !6, i64 8}
!20 = !{!10, !12, i64 16}
!21 = !{!10, !12, i64 20}
!22 = !{!10, !6, i64 24}
!23 = !{!10, !6, i64 32}
!24 = !{!10, !12, i64 44}
!25 = !{!10, !12, i64 40}
!26 = !{i64 0, i64 4, !27, i64 4, i64 4, !27}
!27 = !{!14, !14, i64 0}
!28 = !{!10, !12, i64 1140}
!29 = !{!10, !12, i64 1136}


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

%struct.ImVec2 = type { float, float }

; 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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN11ImFontAtlasC2Ev(ptr noundef nonnull align 8 dereferenceable(1144) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %struct.ImVec2, align 8
  %3 = alloca %struct.ImVec2, align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %5)
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZN8ImVectorIP6ImFontEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZN8ImVectorI21ImFontAtlasCustomRectEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %8 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN8ImVectorI12ImFontConfigEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8)
  %.ptr = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr)
  %.ptr.1 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %0, i64 160
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %0, i64 176
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %0, i64 192
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.5)
  %.ptr.6 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.6)
  %.ptr.7 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.7)
  %.ptr.8 = getelementptr inbounds i8, ptr %0, i64 240
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.8)
  %.ptr.9 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.9)
  %.ptr.10 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.10)
  %.ptr.11 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.11)
  %.ptr.12 = getelementptr inbounds i8, ptr %0, i64 304
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.12)
  %.ptr.13 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.13)
  %.ptr.14 = getelementptr inbounds i8, ptr %0, i64 336
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.14)
  %.ptr.15 = getelementptr inbounds i8, ptr %0, i64 352
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.15)
  %.ptr.16 = getelementptr inbounds i8, ptr %0, i64 368
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.16)
  %.ptr.17 = getelementptr inbounds i8, ptr %0, i64 384
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.17)
  %.ptr.18 = getelementptr inbounds i8, ptr %0, i64 400
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.18)
  %.ptr.19 = getelementptr inbounds i8, ptr %0, i64 416
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.19)
  %.ptr.20 = getelementptr inbounds i8, ptr %0, i64 432
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.20)
  %.ptr.21 = getelementptr inbounds i8, ptr %0, i64 448
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.21)
  %.ptr.22 = getelementptr inbounds i8, ptr %0, i64 464
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.22)
  %.ptr.23 = getelementptr inbounds i8, ptr %0, i64 480
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.23)
  %.ptr.24 = getelementptr inbounds i8, ptr %0, i64 496
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.24)
  %.ptr.25 = getelementptr inbounds i8, ptr %0, i64 512
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.25)
  %.ptr.26 = getelementptr inbounds i8, ptr %0, i64 528
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.26)
  %.ptr.27 = getelementptr inbounds i8, ptr %0, i64 544
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.27)
  %.ptr.28 = getelementptr inbounds i8, ptr %0, i64 560
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.28)
  %.ptr.29 = getelementptr inbounds i8, ptr %0, i64 576
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.29)
  %.ptr.30 = getelementptr inbounds i8, ptr %0, i64 592
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.30)
  %.ptr.31 = getelementptr inbounds i8, ptr %0, i64 608
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.31)
  %.ptr.32 = getelementptr inbounds i8, ptr %0, i64 624
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.32)
  %.ptr.33 = getelementptr inbounds i8, ptr %0, i64 640
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.33)
  %.ptr.34 = getelementptr inbounds i8, ptr %0, i64 656
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.34)
  %.ptr.35 = getelementptr inbounds i8, ptr %0, i64 672
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.35)
  %.ptr.36 = getelementptr inbounds i8, ptr %0, i64 688
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.36)
  %.ptr.37 = getelementptr inbounds i8, ptr %0, i64 704
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.37)
  %.ptr.38 = getelementptr inbounds i8, ptr %0, i64 720
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.38)
  %.ptr.39 = getelementptr inbounds i8, ptr %0, i64 736
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.39)
  %.ptr.40 = getelementptr inbounds i8, ptr %0, i64 752
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.40)
  %.ptr.41 = getelementptr inbounds i8, ptr %0, i64 768
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.41)
  %.ptr.42 = getelementptr inbounds i8, ptr %0, i64 784
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.42)
  %.ptr.43 = getelementptr inbounds i8, ptr %0, i64 800
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.43)
  %.ptr.44 = getelementptr inbounds i8, ptr %0, i64 816
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.44)
  %.ptr.45 = getelementptr inbounds i8, ptr %0, i64 832
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.45)
  %.ptr.46 = getelementptr inbounds i8, ptr %0, i64 848
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.46)
  %.ptr.47 = getelementptr inbounds i8, ptr %0, i64 864
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.47)
  %.ptr.48 = getelementptr inbounds i8, ptr %0, i64 880
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.48)
  %.ptr.49 = getelementptr inbounds i8, ptr %0, i64 896
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.49)
  %.ptr.50 = getelementptr inbounds i8, ptr %0, i64 912
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.50)
  %.ptr.51 = getelementptr inbounds i8, ptr %0, i64 928
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.51)
  %.ptr.52 = getelementptr inbounds i8, ptr %0, i64 944
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.52)
  %.ptr.53 = getelementptr inbounds i8, ptr %0, i64 960
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.53)
  %.ptr.54 = getelementptr inbounds i8, ptr %0, i64 976
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.54)
  %.ptr.55 = getelementptr inbounds i8, ptr %0, i64 992
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.55)
  %.ptr.56 = getelementptr inbounds i8, ptr %0, i64 1008
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.56)
  %.ptr.57 = getelementptr inbounds i8, ptr %0, i64 1024
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.57)
  %.ptr.58 = getelementptr inbounds i8, ptr %0, i64 1040
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.58)
  %.ptr.59 = getelementptr inbounds i8, ptr %0, i64 1056
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.59)
  %.ptr.60 = getelementptr inbounds i8, ptr %0, i64 1072
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.60)
  %.ptr.61 = getelementptr inbounds i8, ptr %0, i64 1088
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.61)
  %.ptr.62 = getelementptr inbounds i8, ptr %0, i64 1104
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.62)
  %.ptr.63 = getelementptr inbounds i8, ptr %0, i64 1120
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %.ptr.63)
  store i8 0, ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 4
  %10 = getelementptr inbounds i8, ptr %0, i64 20
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %9, i8 0, i64 16, i1 false)
  store i32 1, ptr %10, align 4, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %2, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %12 = load i64, ptr %2, align 8
  store i64 %12, ptr %4, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %13 = load i64, ptr %3, align 8
  store i64 %13, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %14 = getelementptr inbounds i8, ptr %0, i64 1140
  store i32 -1, ptr %14, align 4, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %0, i64 1136
  store i32 -1, ptr %15, align 8, !tbaa !19
  ret void
}

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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, !7, i64 0}
!6 = !{!"_ZTS11ImFontAtlas", !7, i64 0, !10, i64 4, !11, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !11, i64 32, !10, i64 40, !10, i64 44, !12, i64 48, !12, i64 56, !14, i64 64, !15, i64 80, !16, i64 96, !8, i64 112, !10, i64 1136, !10, i64 1140}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !8, i64 0}
!14 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !11, i64 8}
!15 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !10, i64 0, !10, i64 4, !11, i64 8}
!16 = !{!"_ZTS8ImVectorI12ImFontConfigE", !10, i64 0, !10, i64 4, !11, i64 8}
!17 = !{!6, !10, i64 20}
!18 = !{!6, !10, i64 1140}
!19 = !{!6, !10, i64 1136}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass