; LLVM IR from xhub/reshop :: gui/external/imgui (imgui_draw)

; 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.ImFontConfig = type { ptr, i32, i8, i32, float, i32, i32, i8, %struct.ImVec2, %struct.ImVec2, ptr, float, float, i8, i32, float, float, i16, [40 x i8], ptr }
%struct.ImVec2 = type { float, float }
%struct.ImFontAtlas = type <{ i32, [4 x i8], i64, i32, i32, i8, [7 x i8], ptr, i8, i8, [6 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt = external hidden unnamed_addr constant [100 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180) %0, ptr noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4) #5 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %struct.ImFontConfig, align 8
  %16 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store float %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %17 = load ptr, ptr %7, align 8
  %18 = getelementptr inbounds %struct.ImFontAtlas, ptr %17, i32 0, i32 5
  %19 = load i8, ptr %18, align 8, !tbaa !11, !range !20, !noundef !21
  %20 = trunc i8 %19 to i1
  br i1 %20, label %22, label %21

21:                                               ; preds = %5
  br label %22

22:                                               ; preds = %21, %5
  %23 = phi i1 [ false, %5 ], [ true, %21 ]
  br i1 %23, label %24, label %25

24:                                               ; preds = %22
  br label %27

25:                                               ; preds = %22
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.1, i32 noundef 2660, ptr noundef @__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt) #6
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  store i64 0, ptr %12, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = call noundef ptr @_Z18ImFileLoadToMemoryPKcS0_Pmi(ptr noundef %28, ptr noundef @.str.29, ptr noundef %12, i32 noundef 0)
  store ptr %29, ptr %13, align 8, !tbaa !5
  %30 = load ptr, ptr %13, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %39, label %32

32:                                               ; preds = %27
  br label %33

33:                                               ; preds = %32
  %34 = call noundef zeroext i1 @_ZN5ImGui8ErrorLogEPKc(ptr noundef @.str.30)
  br i1 %34, label %35, label %36

35:                                               ; preds = %33
  call void @__assert_fail(ptr noundef @.str.31, ptr noundef @.str.1, i32 noundef 2665, ptr noundef @__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt) #6
  unreachable

36:                                               ; preds = %33
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  store ptr null, ptr %6, align 8
  store i32 1, ptr %14, align 4
  br label %92

39:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 144, ptr %15) #7
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %44

42:                                               ; preds = %39
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %43, i64 144, i1 false), !tbaa.struct !24
  br label %45

44:                                               ; preds = %39
  call void @_ZN12ImFontConfigC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %15)
  br label %45

45:                                               ; preds = %44, %42
  %46 = getelementptr inbounds %struct.ImFontConfig, ptr %15, i32 0, i32 18
  %47 = getelementptr inbounds [40 x i8], ptr %46, i64 0, i64 0
  %48 = load i8, ptr %47, align 2, !tbaa !29
  %49 = sext i8 %48 to i32
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %85

51:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = call i64 @strlen(ptr noundef %53) #8
  %55 = getelementptr inbounds i8, ptr %52, i64 %54
  store ptr %55, ptr %16, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %75, %51
  %57 = load ptr, ptr %16, align 8, !tbaa !5
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = icmp ugt ptr %57, %58
  br i1 %59, label %60, label %72

60:                                               ; preds = %56
  %61 = load ptr, ptr %16, align 8, !tbaa !5
  %62 = getelementptr inbounds i8, ptr %61, i64 -1
  %63 = load i8, ptr %62, align 1, !tbaa !29
  %64 = sext i8 %63 to i32
  %65 = icmp ne i32 %64, 47
  br i1 %65, label %66, label %72

66:                                               ; preds = %60
  %67 = load ptr, ptr %16, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 -1
  %69 = load i8, ptr %68, align 1, !tbaa !29
  %70 = sext i8 %69 to i32
  %71 = icmp ne i32 %70, 92
  br label %72

72:                                               ; preds = %66, %60, %56
  %73 = phi i1 [ false, %60 ], [ false, %56 ], [ %71, %66 ]
  br i1 %73, label %74, label %78

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %16, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i32 -1
  store ptr %77, ptr %16, align 8, !tbaa !5
  br label %56, !llvm.loop !30

78:                                               ; preds = %72
  %79 = getelementptr inbounds %struct.ImFontConfig, ptr %15, i32 0, i32 18
  %80 = getelementptr inbounds [40 x i8], ptr %79, i64 0, i64 0
  %81 = load ptr, ptr %16, align 8, !tbaa !5
  %82 = load float, ptr %9, align 4, !tbaa !9
  %83 = fpext float %82 to double
  %84 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef %80, i64 noundef 40, ptr noundef @.str.32, ptr noundef %81, double noundef %83)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %85

85:                                               ; preds = %78, %45
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = load i64, ptr %12, align 8, !tbaa !22
  %88 = trunc i64 %87 to i32
  %89 = load float, ptr %9, align 4, !tbaa !9
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = call noundef ptr @_ZN11ImFontAtlas20AddFontFromMemoryTTFEPvifPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180) %17, ptr noundef %86, i32 noundef %88, float noundef %89, ptr noundef %15, ptr noundef %90)
  store ptr %91, ptr %6, align 8
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #7
  br label %92

92:                                               ; preds = %85, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %93 = load ptr, ptr %6, align 8
  ret ptr %93
}

declare noundef ptr @_Z18ImFileLoadToMemoryPKcS0_Pmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #4

declare noundef zeroext i1 @_ZN5ImGui8ErrorLogEPKc(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11ImFontAtlas20AddFontFromMemoryTTFEPvifPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180), ptr noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) #5 align 2

declare void @_ZN12ImFontConfigC1Ev(ptr)

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

!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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !15, i64 24}
!12 = !{!"_ZTS11ImFontAtlas", !13, i64 0, !14, i64 8, !13, i64 16, !13, i64 20, !15, i64 24, !6, i64 32, !15, i64 40, !15, i64 41, !6, i64 48, !6, i64 56, !13, i64 64, !13, i64 68, !16, i64 72, !16, i64 80, !17, i64 88, !18, i64 104, !19, i64 120, !7, i64 136, !6, i64 1160, !13, i64 1168, !13, i64 1172, !13, i64 1176}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!17 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI12ImFontConfigE", !13, i64 0, !13, i64 4, !6, i64 8}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{i64 0, i64 8, !5, i64 8, i64 4, !25, i64 12, i64 1, !26, i64 16, i64 4, !25, i64 20, i64 4, !9, i64 24, i64 4, !25, i64 28, i64 4, !25, i64 32, i64 1, !26, i64 36, i64 4, !9, i64 40, i64 4, !9, i64 44, i64 4, !9, i64 48, i64 4, !9, i64 56, i64 8, !5, i64 64, i64 4, !9, i64 68, i64 4, !9, i64 72, i64 1, !26, i64 76, i64 4, !25, i64 80, i64 4, !9, i64 84, i64 4, !9, i64 88, i64 2, !27, i64 90, i64 40, !29, i64 136, i64 8, !5}
!25 = !{!13, !13, i64 0}
!26 = !{!15, !15, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"short", !7, i64 0}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"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"

%struct.ImFontConfig = type { ptr, i32, i8, i32, float, i32, i32, i8, %struct.ImVec2, %struct.ImVec2, ptr, float, float, i8, i32, float, float, i16, [40 x i8], ptr }
%struct.ImVec2 = type { float, float }

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [90 x i8], align 1
@__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt = external hidden unnamed_addr constant [100 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1

; 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 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

declare noundef i32 @_Z14ImFormatStringPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180) %0, ptr noundef %1, float noundef %2, ptr noundef readonly %3, ptr noundef %4) local_unnamed_addr #5 align 2 {
  %6 = alloca i64, align 8
  %7 = alloca %struct.ImFontConfig, align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  %9 = load i8, ptr %8, align 8, !tbaa !5, !range !18, !noundef !19
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %12

11:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.1, i32 noundef 2660, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt) #6
  unreachable

12:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  store i64 0, ptr %6, align 8, !tbaa !20
  %13 = call noundef ptr @_Z18ImFileLoadToMemoryPKcS0_Pmi(ptr noundef %1, ptr noundef nonnull @.str.29, ptr noundef nonnull %6, i32 noundef 0)
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %14, label %17

14:                                               ; preds = %12
  %15 = call noundef zeroext i1 @_ZN5ImGui8ErrorLogEPKc(ptr noundef nonnull @.str.30)
  br i1 %15, label %16, label %38

16:                                               ; preds = %14
  call void @__assert_fail(ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.1, i32 noundef 2665, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11ImFontAtlas18AddFontFromFileTTFEPKcfPK12ImFontConfigPKt) #6
  unreachable

17:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #7
  %.not22 = icmp eq ptr %3, null
  br i1 %.not22, label %19, label %18

18:                                               ; preds = %17
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(144) %7, ptr noundef nonnull align 8 dereferenceable(144) %3, i64 144, i1 false), !tbaa.struct !22
  br label %20

19:                                               ; preds = %17
  call void @_ZN12ImFontConfigC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %7)
  br label %20

20:                                               ; preds = %19, %18
  %21 = getelementptr inbounds i8, ptr %7, i64 90
  %22 = load i8, ptr %21, align 2, !tbaa !29
  %23 = icmp eq i8 %22, 0
  br i1 %23, label %24, label %34

24:                                               ; preds = %20
  %25 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #8
  %26 = getelementptr inbounds i8, ptr %1, i64 %25
  br label %27

27:                                               ; preds = %29, %24
  %.0 = phi ptr [ %26, %24 ], [ %30, %29 ]
  %28 = icmp ugt ptr %.0, %1
  br i1 %28, label %29, label %.critedge

29:                                               ; preds = %27
  %30 = getelementptr inbounds i8, ptr %.0, i64 -1
  %31 = load i8, ptr %30, align 1, !tbaa !29
  switch i8 %31, label %27 [
    i8 47, label %.critedge
    i8 92, label %.critedge
  ], !llvm.loop !30

.critedge:                                        ; preds = %29, %29, %27
  %32 = fpext float %2 to double
  %33 = call noundef i32 (ptr, i64, ptr, ...) @_Z14ImFormatStringPcmPKcz(ptr noundef nonnull %21, i64 noundef 40, ptr noundef nonnull @.str.32, ptr noundef %.0, double noundef %32)
  br label %34

34:                                               ; preds = %.critedge, %20
  %35 = load i64, ptr %6, align 8, !tbaa !20
  %36 = trunc i64 %35 to i32
  %37 = call noundef ptr @_ZN11ImFontAtlas20AddFontFromMemoryTTFEPvifPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180) %0, ptr noundef nonnull %13, i32 noundef %36, float noundef %2, ptr noundef nonnull %7, ptr noundef %4)
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #7
  br label %38

38:                                               ; preds = %14, %34
  %.018 = phi ptr [ %37, %34 ], [ null, %14 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  ret ptr %.018
}

declare noundef ptr @_Z18ImFileLoadToMemoryPKcS0_Pmi(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui8ErrorLogEPKc(ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN11ImFontAtlas20AddFontFromMemoryTTFEPvifPK12ImFontConfigPKt(ptr noundef nonnull align 8 dereferenceable(1180), ptr noundef, i32 noundef, float noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

declare void @_ZN12ImFontConfigC1Ev(ptr) local_unnamed_addr

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

!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, !11, i64 24}
!6 = !{!"_ZTS11ImFontAtlas", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !12, i64 32, !11, i64 40, !11, i64 41, !12, i64 48, !12, i64 56, !7, i64 64, !7, i64 68, !13, i64 72, !13, i64 80, !15, i64 88, !16, i64 104, !17, i64 120, !8, i64 136, !12, i64 1160, !7, i64 1168, !7, i64 1172, !7, i64 1176}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long long", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !8, i64 0}
!15 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !12, i64 8}
!16 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!"_ZTS8ImVectorI12ImFontConfigE", !7, i64 0, !7, i64 4, !12, i64 8}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{i64 0, i64 8, !23, i64 8, i64 4, !24, i64 12, i64 1, !25, i64 16, i64 4, !24, i64 20, i64 4, !26, i64 24, i64 4, !24, i64 28, i64 4, !24, i64 32, i64 1, !25, i64 36, i64 4, !26, i64 40, i64 4, !26, i64 44, i64 4, !26, i64 48, i64 4, !26, i64 56, i64 8, !23, i64 64, i64 4, !26, i64 68, i64 4, !26, i64 72, i64 1, !25, i64 76, i64 4, !24, i64 80, i64 4, !26, i64 84, i64 4, !26, i64 88, i64 2, !27, i64 90, i64 40, !29, i64 136, i64 8, !23}
!23 = !{!12, !12, i64 0}
!24 = !{!7, !7, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!14, !14, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"short", !8, i64 0}
!29 = !{!8, !8, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass