; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/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.ImFontAtlas = type <{ i32, [4 x i8], ptr, i32, i32, i8, [7 x i8], ptr, i8, i8, [6 x i8], ptr, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, [64 x %struct.ImVec4], ptr, i32, i32, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }
%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 }

@.str.1 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [35 x i8], align 1
@__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch = external hidden unnamed_addr constant [116 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [36 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 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) #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i8 noundef signext %6, i8 noundef zeroext %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !5
  store i8 %6, ptr %15, align 1, !tbaa !11
  store i8 %7, ptr %16, align 1, !tbaa !11
  %21 = load i32, ptr %10, align 4, !tbaa !9
  %22 = icmp sge i32 %21, 0
  br i1 %22, label %23, label %31

23:                                               ; preds = %8
  %24 = load i32, ptr %10, align 4, !tbaa !9
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = add nsw i32 %24, %25
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImFontAtlas, ptr %27, i32 0, i32 13
  %29 = load i32, ptr %28, align 8, !tbaa !12
  %30 = icmp sle i32 %26, %29
  br label %31

31:                                               ; preds = %23, %8
  %32 = phi i1 [ false, %8 ], [ %30, %23 ]
  br i1 %32, label %33, label %34

33:                                               ; preds = %31
  br label %36

34:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.29, ptr noundef @.str.1, i32 noundef 2648, ptr noundef @__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch) #3
  unreachable

35:                                               ; No predecessors!
  br label %36

36:                                               ; preds = %35, %33
  %37 = load i32, ptr %11, align 4, !tbaa !9
  %38 = icmp sge i32 %37, 0
  br i1 %38, label %39, label %47

39:                                               ; preds = %36
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = add nsw i32 %40, %41
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImFontAtlas, ptr %43, i32 0, i32 14
  %45 = load i32, ptr %44, align 4, !tbaa !20
  %46 = icmp sle i32 %42, %45
  br label %47

47:                                               ; preds = %39, %36
  %48 = phi i1 [ false, %36 ], [ %46, %39 ]
  br i1 %48, label %49, label %50

49:                                               ; preds = %47
  br label %52

50:                                               ; preds = %47
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.1, i32 noundef 2649, ptr noundef @__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch) #3
  unreachable

51:                                               ; No predecessors!
  br label %52

52:                                               ; preds = %51, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImFontAtlas, ptr %53, i32 0, i32 11
  %55 = load ptr, ptr %54, align 8, !tbaa !21
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds i8, ptr %55, i64 %57
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImFontAtlas, ptr %60, i32 0, i32 13
  %62 = load i32, ptr %61, align 8, !tbaa !12
  %63 = mul nsw i32 %59, %62
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i8, ptr %58, i64 %64
  store ptr %65, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %102, %52
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %13, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %115

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %98, %71
  %73 = load i32, ptr %20, align 4, !tbaa !9
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = icmp slt i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %101

77:                                               ; preds = %72
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = load i32, ptr %20, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds i8, ptr %78, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !11
  %83 = sext i8 %82 to i32
  %84 = load i8, ptr %15, align 1, !tbaa !11
  %85 = sext i8 %84 to i32
  %86 = icmp eq i32 %83, %85
  br i1 %86, label %87, label %90

87:                                               ; preds = %77
  %88 = load i8, ptr %16, align 1, !tbaa !11
  %89 = zext i8 %88 to i32
  br label %91

90:                                               ; preds = %77
  br label %91

91:                                               ; preds = %90, %87
  %92 = phi i32 [ %89, %87 ], [ 0, %90 ]
  %93 = trunc i32 %92 to i8
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  %95 = load i32, ptr %20, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds i8, ptr %94, i64 %96
  store i8 %93, ptr %97, align 1, !tbaa !11
  br label %98

98:                                               ; preds = %91
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %20, align 4, !tbaa !9
  br label %72, !llvm.loop !22

101:                                              ; preds = %76
  br label %102

102:                                              ; preds = %101
  %103 = load i32, ptr %18, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %18, align 4, !tbaa !9
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImFontAtlas, ptr %105, i32 0, i32 13
  %107 = load i32, ptr %106, align 8, !tbaa !12
  %108 = load ptr, ptr %17, align 8, !tbaa !5
  %109 = sext i32 %107 to i64
  %110 = getelementptr inbounds i8, ptr %108, i64 %109
  store ptr %110, ptr %17, align 8, !tbaa !5
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = sext i32 %111 to i64
  %114 = getelementptr inbounds i8, ptr %112, i64 %113
  store ptr %114, ptr %14, align 8, !tbaa !5
  br label %66, !llvm.loop !24

115:                                              ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { noreturn nounwind }
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, !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 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 64}
!13 = !{!"_ZTS11ImFontAtlas", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !14, i64 24, !6, i64 32, !14, i64 40, !14, i64 41, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 68, !15, i64 72, !15, i64 80, !17, i64 88, !18, i64 104, !19, i64 120, !7, i64 136, !6, i64 1160, !10, i64 1168, !10, i64 1172, !10, i64 1176}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !10, i64 0, !10, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI12ImFontConfigE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!13, !10, i64 68}
!21 = !{!13, !6, i64 48}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}


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

@.str.1 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [35 x i8], align 1
@__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch = external hidden unnamed_addr constant [116 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [36 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5, i8 noundef signext %6, i8 noundef zeroext %7) local_unnamed_addr #1 {
  %9 = ptrtoint ptr %5 to i64
  %10 = icmp sgt i32 %1, -1
  br i1 %10, label %11, label %.critedge

11:                                               ; preds = %8
  %12 = add nsw i32 %3, %1
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %.not = icmp sgt i32 %12, %14
  br i1 %.not, label %.critedge, label %15

.critedge:                                        ; preds = %8, %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.1, i32 noundef 2648, ptr noundef nonnull @__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch) #2
  unreachable

15:                                               ; preds = %11
  %16 = icmp sgt i32 %2, -1
  br i1 %16, label %17, label %.critedge2

17:                                               ; preds = %15
  %18 = add nsw i32 %4, %2
  %19 = getelementptr inbounds i8, ptr %0, i64 68
  %20 = load i32, ptr %19, align 4, !tbaa !17
  %.not36 = icmp sgt i32 %18, %20
  br i1 %.not36, label %.critedge2, label %21

.critedge2:                                       ; preds = %15, %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.1, i32 noundef 2649, ptr noundef nonnull @__PRETTY_FUNCTION__._Z40ImFontAtlasBuildRender8bppRectFromStringP11ImFontAtlasiiiiPKcch) #2
  unreachable

21:                                               ; preds = %17
  %22 = icmp sgt i32 %4, 0
  br i1 %22, label %.preheader.lr.ph, label %._crit_edge41

.preheader.lr.ph:                                 ; preds = %21
  %23 = icmp sgt i32 %3, 0
  %24 = sext i32 %3 to i64
  br i1 %23, label %.preheader.us.preheader, label %._crit_edge41

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  %26 = load ptr, ptr %25, align 8, !tbaa !18
  %27 = zext nneg i32 %1 to i64
  %28 = getelementptr inbounds i8, ptr %26, i64 %27
  %29 = mul nsw i32 %14, %2
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i8, ptr %28, i64 %30
  %wide.trip.count = zext nneg i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 8
  %min.iters.check46 = icmp ult i32 %3, 32
  %n.vec = and i64 %wide.trip.count, 2147483616
  %broadcast.splatinsert = insertelement <16 x i8> poison, i8 %6, i64 0
  %broadcast.splat = shufflevector <16 x i8> %broadcast.splatinsert, <16 x i8> poison, <16 x i32> zeroinitializer
  %broadcast.splatinsert48 = insertelement <16 x i8> poison, i8 %7, i64 0
  %broadcast.splat49 = shufflevector <16 x i8> %broadcast.splatinsert48, <16 x i8> poison, <16 x i32> zeroinitializer
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %n.vec.remaining = and i64 %wide.trip.count, 24
  %min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
  %n.vec51 = and i64 %wide.trip.count, 2147483640
  %broadcast.splatinsert54 = insertelement <8 x i8> poison, i8 %6, i64 0
  %broadcast.splat55 = shufflevector <8 x i8> %broadcast.splatinsert54, <8 x i8> poison, <8 x i32> zeroinitializer
  %broadcast.splatinsert56 = insertelement <8 x i8> poison, i8 %7, i64 0
  %broadcast.splat57 = shufflevector <8 x i8> %broadcast.splatinsert56, <8 x i8> poison, <8 x i32> zeroinitializer
  %cmp.n59 = icmp eq i64 %n.vec51, %wide.trip.count
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %iter.check

iter.check:                                       ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvar = phi i64 [ 0, %.preheader.us.preheader ], [ %indvar.next, %._crit_edge.us ]
  %.02940.us = phi i32 [ 0, %.preheader.us.preheader ], [ %71, %._crit_edge.us ]
  %.03039.us = phi ptr [ %31, %.preheader.us.preheader ], [ %74, %._crit_edge.us ]
  %.03138.us = phi ptr [ %5, %.preheader.us.preheader ], [ %75, %._crit_edge.us ]
  br i1 %min.iters.check, label %vec.epilog.scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %iter.check
  %32 = mul i64 %indvar, %24
  %33 = add i64 %32, %9
  %.03039.us45 = ptrtoint ptr %.03039.us to i64
  %34 = sub i64 %.03039.us45, %33
  %diff.check = icmp ult i64 %34, 32
  br i1 %diff.check, label %vec.epilog.scalar.ph.preheader, label %vector.main.loop.iter.check

vector.main.loop.iter.check:                      ; preds = %vector.memcheck
  br i1 %min.iters.check46, label %vec.epilog.ph, label %vector.body

vector.body:                                      ; preds = %vector.main.loop.iter.check, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %vector.main.loop.iter.check ]
  %35 = getelementptr inbounds i8, ptr %.03138.us, i64 %index
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %wide.load = load <16 x i8>, ptr %35, align 1, !tbaa !19
  %wide.load47 = load <16 x i8>, ptr %36, align 1, !tbaa !19
  %37 = icmp eq <16 x i8> %wide.load, %broadcast.splat
  %38 = icmp eq <16 x i8> %wide.load47, %broadcast.splat
  %39 = select <16 x i1> %37, <16 x i8> %broadcast.splat49, <16 x i8> zeroinitializer
  %40 = select <16 x i1> %38, <16 x i8> %broadcast.splat49, <16 x i8> zeroinitializer
  %41 = getelementptr inbounds i8, ptr %.03039.us, i64 %index
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  store <16 x i8> %39, ptr %41, align 1, !tbaa !19
  store <16 x i8> %40, ptr %42, align 1, !tbaa !19
  %index.next = add nuw i64 %index, 32
  %43 = icmp eq i64 %index.next, %n.vec
  br i1 %43, label %middle.block, label %vector.body, !llvm.loop !20

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %vec.epilog.iter.check

vec.epilog.iter.check:                            ; preds = %middle.block
  br i1 %min.epilog.iters.check, label %vec.epilog.scalar.ph.preheader, label %vec.epilog.ph

vec.epilog.ph:                                    ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
  br label %vec.epilog.vector.body

vec.epilog.vector.body:                           ; preds = %vec.epilog.vector.body, %vec.epilog.ph
  %index52 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next58, %vec.epilog.vector.body ]
  %44 = getelementptr inbounds i8, ptr %.03138.us, i64 %index52
  %wide.load53 = load <8 x i8>, ptr %44, align 1, !tbaa !19
  %45 = icmp eq <8 x i8> %wide.load53, %broadcast.splat55
  %46 = select <8 x i1> %45, <8 x i8> %broadcast.splat57, <8 x i8> zeroinitializer
  %47 = getelementptr inbounds i8, ptr %.03039.us, i64 %index52
  store <8 x i8> %46, ptr %47, align 1, !tbaa !19
  %index.next58 = add nuw i64 %index52, 8
  %48 = icmp eq i64 %index.next58, %n.vec51
  br i1 %48, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !24

vec.epilog.middle.block:                          ; preds = %vec.epilog.vector.body
  br i1 %cmp.n59, label %._crit_edge.us, label %vec.epilog.scalar.ph.preheader

vec.epilog.scalar.ph.preheader:                   ; preds = %vec.epilog.middle.block, %vector.memcheck, %iter.check, %vec.epilog.iter.check
  %indvars.iv.ph = phi i64 [ 0, %iter.check ], [ 0, %vector.memcheck ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec51, %vec.epilog.middle.block ]
  br i1 %lcmp.mod.not, label %vec.epilog.scalar.ph.prol.loopexit, label %vec.epilog.scalar.ph.prol

vec.epilog.scalar.ph.prol:                        ; preds = %vec.epilog.scalar.ph.preheader, %vec.epilog.scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %vec.epilog.scalar.ph.prol ], [ %indvars.iv.ph, %vec.epilog.scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %vec.epilog.scalar.ph.prol ], [ 0, %vec.epilog.scalar.ph.preheader ]
  %49 = getelementptr inbounds i8, ptr %.03138.us, i64 %indvars.iv.prol
  %50 = load i8, ptr %49, align 1, !tbaa !19
  %51 = icmp eq i8 %50, %6
  %narrow.us.prol = select i1 %51, i8 %7, i8 0
  %52 = getelementptr inbounds i8, ptr %.03039.us, i64 %indvars.iv.prol
  store i8 %narrow.us.prol, ptr %52, align 1, !tbaa !19
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %vec.epilog.scalar.ph.prol.loopexit, label %vec.epilog.scalar.ph.prol, !llvm.loop !25

vec.epilog.scalar.ph.prol.loopexit:               ; preds = %vec.epilog.scalar.ph.prol, %vec.epilog.scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %vec.epilog.scalar.ph.preheader ], [ %indvars.iv.next.prol, %vec.epilog.scalar.ph.prol ]
  %53 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %54 = icmp ugt i64 %53, -4
  br i1 %54, label %._crit_edge.us, label %vec.epilog.scalar.ph

vec.epilog.scalar.ph:                             ; preds = %vec.epilog.scalar.ph.prol.loopexit, %vec.epilog.scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %vec.epilog.scalar.ph ], [ %indvars.iv.unr, %vec.epilog.scalar.ph.prol.loopexit ]
  %55 = getelementptr inbounds i8, ptr %.03138.us, i64 %indvars.iv
  %56 = load i8, ptr %55, align 1, !tbaa !19
  %57 = icmp eq i8 %56, %6
  %narrow.us = select i1 %57, i8 %7, i8 0
  %58 = getelementptr inbounds i8, ptr %.03039.us, i64 %indvars.iv
  store i8 %narrow.us, ptr %58, align 1, !tbaa !19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = getelementptr inbounds i8, ptr %.03138.us, i64 %indvars.iv.next
  %60 = load i8, ptr %59, align 1, !tbaa !19
  %61 = icmp eq i8 %60, %6
  %narrow.us.1 = select i1 %61, i8 %7, i8 0
  %62 = getelementptr inbounds i8, ptr %.03039.us, i64 %indvars.iv.next
  store i8 %narrow.us.1, ptr %62, align 1, !tbaa !19
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %63 = getelementptr inbounds i8, ptr %.03138.us, i64 %indvars.iv.next.1
  %64 = load i8, ptr %63, align 1, !tbaa !19
  %65 = icmp eq i8 %64, %6
  %narrow.us.2 = select i1 %65, i8 %7, i8 0
  %66 = getelementptr inbounds i8, ptr %.03039.us, i64 %indvars.iv.next.1
  store i8 %narrow.us.2, ptr %66, align 1, !tbaa !19
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %67 = getelementptr inbounds i8, ptr %.03138.us, i64 %indvars.iv.next.2
  %68 = load i8, ptr %67, align 1, !tbaa !19
  %69 = icmp eq i8 %68, %6
  %narrow.us.3 = select i1 %69, i8 %7, i8 0
  %70 = getelementptr inbounds i8, ptr %.03039.us, i64 %indvars.iv.next.2
  store i8 %narrow.us.3, ptr %70, align 1, !tbaa !19
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge.us, label %vec.epilog.scalar.ph, !llvm.loop !27

._crit_edge.us:                                   ; preds = %vec.epilog.scalar.ph.prol.loopexit, %vec.epilog.scalar.ph, %vec.epilog.middle.block, %middle.block
  %71 = add nuw nsw i32 %.02940.us, 1
  %72 = load i32, ptr %13, align 8, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds i8, ptr %.03039.us, i64 %73
  %75 = getelementptr inbounds i8, ptr %.03138.us, i64 %24
  %exitcond44.not = icmp eq i32 %71, %4
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond44.not, label %._crit_edge41, label %iter.check, !llvm.loop !28

._crit_edge41:                                    ; preds = %._crit_edge.us, %.preheader.lr.ph, %21
  ret void
}

attributes #0 = { 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 #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 = { noreturn 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 64}
!6 = !{!"_ZTS11ImFontAtlas", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !11, i64 24, !10, i64 32, !11, i64 40, !11, i64 41, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 68, !12, i64 72, !12, i64 80, !14, i64 88, !15, i64 104, !16, i64 120, !8, i64 136, !10, 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 = !{!"any pointer", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !8, i64 0}
!14 = !{!"_ZTS8ImVectorIP6ImFontE", !7, i64 0, !7, i64 4, !10, i64 8}
!15 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !7, i64 0, !7, i64 4, !10, i64 8}
!16 = !{!"_ZTS8ImVectorI12ImFontConfigE", !7, i64 0, !7, i64 4, !10, i64 8}
!17 = !{!6, !7, i64 68}
!18 = !{!6, !10, i64 48}
!19 = !{!8, !8, i64 0}
!20 = distinct !{!20, !21, !22, !23}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !21, !22, !23}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.unroll.disable"}
!27 = distinct !{!27, !21, !22}
!28 = distinct !{!28, !21}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass