; 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.ImFontConfig = type { ptr, i32, i8, i32, float, i32, i32, i8, %struct.ImVec2, %struct.ImVec2, ptr, float, float, i8, i32, float, i16, [40 x i8], ptr }
%struct.ImVec2 = type { float, float }
%struct.ImFont = type <{ %struct.ImVector.6, float, float, %struct.ImVector.1, %struct.ImVector.7, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImFontGlyph = type { i32, float, float, float, float, float, float, float, float, float }
%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.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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef, float noundef, float noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImFont8AddGlyphEPK12ImFontConfigtfffffffff(ptr noundef nonnull align 8 dereferenceable(118) %0, ptr noundef %1, i16 noundef zeroext %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11) #3 align 2 {
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i16, align 2
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca ptr, align 8
  %28 = alloca float, align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store i16 %2, ptr %15, align 2, !tbaa !9
  store float %3, ptr %16, align 4, !tbaa !11
  store float %4, ptr %17, align 4, !tbaa !11
  store float %5, ptr %18, align 4, !tbaa !11
  store float %6, ptr %19, align 4, !tbaa !11
  store float %7, ptr %20, align 4, !tbaa !11
  store float %8, ptr %21, align 4, !tbaa !11
  store float %9, ptr %22, align 4, !tbaa !11
  store float %10, ptr %23, align 4, !tbaa !11
  store float %11, ptr %24, align 4, !tbaa !11
  %29 = load ptr, ptr %13, align 8
  %30 = load ptr, ptr %14, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %86

32:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %33 = load float, ptr %24, align 4, !tbaa !11
  store float %33, ptr %25, align 4, !tbaa !11
  %34 = load float, ptr %24, align 4, !tbaa !11
  %35 = load ptr, ptr %14, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImFontConfig, ptr %35, i32 0, i32 11
  %37 = load float, ptr %36, align 8, !tbaa !13
  %38 = load ptr, ptr %14, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImFontConfig, ptr %38, i32 0, i32 12
  %40 = load float, ptr %39, align 4, !tbaa !18
  %41 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %34, float noundef %37, float noundef %40)
  store float %41, ptr %24, align 4, !tbaa !11
  %42 = load float, ptr %24, align 4, !tbaa !11
  %43 = load float, ptr %25, align 4, !tbaa !11
  %44 = fcmp une float %42, %43
  br i1 %44, label %45, label %69

45:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImFontConfig, ptr %46, i32 0, i32 7
  %48 = load i8, ptr %47, align 8, !tbaa !19, !range !20, !noundef !21
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %56

50:                                               ; preds = %45
  %51 = load float, ptr %24, align 4, !tbaa !11
  %52 = load float, ptr %25, align 4, !tbaa !11
  %53 = fsub float %51, %52
  %54 = fmul float %53, 5.000000e-01
  %55 = call noundef float @_ZL7ImFloorf(float noundef %54)
  br label %61

56:                                               ; preds = %45
  %57 = load float, ptr %24, align 4, !tbaa !11
  %58 = load float, ptr %25, align 4, !tbaa !11
  %59 = fsub float %57, %58
  %60 = fmul float %59, 5.000000e-01
  br label %61

61:                                               ; preds = %56, %50
  %62 = phi float [ %55, %50 ], [ %60, %56 ]
  store float %62, ptr %26, align 4, !tbaa !11
  %63 = load float, ptr %26, align 4, !tbaa !11
  %64 = load float, ptr %16, align 4, !tbaa !11
  %65 = fadd float %64, %63
  store float %65, ptr %16, align 4, !tbaa !11
  %66 = load float, ptr %26, align 4, !tbaa !11
  %67 = load float, ptr %18, align 4, !tbaa !11
  %68 = fadd float %67, %66
  store float %68, ptr %18, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %69

69:                                               ; preds = %61, %32
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImFontConfig, ptr %70, i32 0, i32 7
  %72 = load i8, ptr %71, align 8, !tbaa !19, !range !20, !noundef !21
  %73 = trunc i8 %72 to i1
  br i1 %73, label %74, label %79

74:                                               ; preds = %69
  %75 = load float, ptr %24, align 4, !tbaa !11
  %76 = fadd float %75, 5.000000e-01
  %77 = fptosi float %76 to i32
  %78 = sitofp i32 %77 to float
  store float %78, ptr %24, align 4, !tbaa !11
  br label %79

79:                                               ; preds = %74, %69
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImFontConfig, ptr %80, i32 0, i32 8
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 4, !tbaa !22
  %84 = load float, ptr %24, align 4, !tbaa !11
  %85 = fadd float %84, %83
  store float %85, ptr %24, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %86

86:                                               ; preds = %79, %12
  %87 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 4
  %88 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 4
  %89 = getelementptr inbounds %struct.ImVector.7, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 8, !tbaa !23
  %91 = add nsw i32 %90, 1
  call void @_ZN8ImVectorI11ImFontGlyphE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %87, i32 noundef %91)
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %92 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 4
  %93 = call noundef nonnull align 4 dereferenceable(40) ptr @_ZN8ImVectorI11ImFontGlyphE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %92)
  store ptr %93, ptr %27, align 8, !tbaa !5
  %94 = load i16, ptr %15, align 2, !tbaa !9
  %95 = zext i16 %94 to i32
  %96 = load ptr, ptr %27, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4
  %98 = and i32 %95, 1073741823
  %99 = shl i32 %98, 2
  %100 = and i32 %97, 3
  %101 = or i32 %100, %99
  store i32 %101, ptr %96, align 4
  %102 = load float, ptr %16, align 4, !tbaa !11
  %103 = load float, ptr %18, align 4, !tbaa !11
  %104 = fcmp une float %102, %103
  br i1 %104, label %105, label %109

105:                                              ; preds = %86
  %106 = load float, ptr %17, align 4, !tbaa !11
  %107 = load float, ptr %19, align 4, !tbaa !11
  %108 = fcmp une float %106, %107
  br label %109

109:                                              ; preds = %105, %86
  %110 = phi i1 [ false, %86 ], [ %108, %105 ]
  %111 = zext i1 %110 to i32
  %112 = load ptr, ptr %27, align 8, !tbaa !5
  %113 = load i32, ptr %112, align 4
  %114 = and i32 %111, 1
  %115 = shl i32 %114, 1
  %116 = and i32 %113, -3
  %117 = or i32 %116, %115
  store i32 %117, ptr %112, align 4
  %118 = load ptr, ptr %27, align 8, !tbaa !5
  %119 = load i32, ptr %118, align 4
  %120 = and i32 %119, -2
  %121 = or i32 %120, 0
  store i32 %121, ptr %118, align 4
  %122 = load float, ptr %16, align 4, !tbaa !11
  %123 = load ptr, ptr %27, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImFontGlyph, ptr %123, i32 0, i32 2
  store float %122, ptr %124, align 4, !tbaa !28
  %125 = load float, ptr %17, align 4, !tbaa !11
  %126 = load ptr, ptr %27, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.ImFontGlyph, ptr %126, i32 0, i32 3
  store float %125, ptr %127, align 4, !tbaa !30
  %128 = load float, ptr %18, align 4, !tbaa !11
  %129 = load ptr, ptr %27, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImFontGlyph, ptr %129, i32 0, i32 4
  store float %128, ptr %130, align 4, !tbaa !31
  %131 = load float, ptr %19, align 4, !tbaa !11
  %132 = load ptr, ptr %27, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImFontGlyph, ptr %132, i32 0, i32 5
  store float %131, ptr %133, align 4, !tbaa !32
  %134 = load float, ptr %20, align 4, !tbaa !11
  %135 = load ptr, ptr %27, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImFontGlyph, ptr %135, i32 0, i32 6
  store float %134, ptr %136, align 4, !tbaa !33
  %137 = load float, ptr %21, align 4, !tbaa !11
  %138 = load ptr, ptr %27, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImFontGlyph, ptr %138, i32 0, i32 7
  store float %137, ptr %139, align 4, !tbaa !34
  %140 = load float, ptr %22, align 4, !tbaa !11
  %141 = load ptr, ptr %27, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImFontGlyph, ptr %141, i32 0, i32 8
  store float %140, ptr %142, align 4, !tbaa !35
  %143 = load float, ptr %23, align 4, !tbaa !11
  %144 = load ptr, ptr %27, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ImFontGlyph, ptr %144, i32 0, i32 9
  store float %143, ptr %145, align 4, !tbaa !36
  %146 = load float, ptr %24, align 4, !tbaa !11
  %147 = load ptr, ptr %27, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImFontGlyph, ptr %147, i32 0, i32 1
  store float %146, ptr %148, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %149 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 6
  %150 = load ptr, ptr %149, align 8, !tbaa !38
  %151 = getelementptr inbounds %struct.ImFontAtlas, ptr %150, i32 0, i32 4
  %152 = load i32, ptr %151, align 4, !tbaa !39
  %153 = sitofp i32 %152 to float
  %154 = fadd float %153, 0x3FEFAE1480000000
  store float %154, ptr %28, align 4, !tbaa !11
  %155 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 14
  store i8 1, ptr %155, align 8, !tbaa !44
  %156 = load ptr, ptr %27, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.ImFontGlyph, ptr %156, i32 0, i32 8
  %158 = load float, ptr %157, align 4, !tbaa !35
  %159 = load ptr, ptr %27, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImFontGlyph, ptr %159, i32 0, i32 6
  %161 = load float, ptr %160, align 4, !tbaa !33
  %162 = fsub float %158, %161
  %163 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 6
  %164 = load ptr, ptr %163, align 8, !tbaa !38
  %165 = getelementptr inbounds %struct.ImFontAtlas, ptr %164, i32 0, i32 13
  %166 = load i32, ptr %165, align 8, !tbaa !45
  %167 = sitofp i32 %166 to float
  %168 = load float, ptr %28, align 4, !tbaa !11
  %169 = call float @llvm.fmuladd.f32(float %162, float %167, float %168)
  %170 = fptosi float %169 to i32
  %171 = load ptr, ptr %27, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImFontGlyph, ptr %171, i32 0, i32 9
  %173 = load float, ptr %172, align 4, !tbaa !36
  %174 = load ptr, ptr %27, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImFontGlyph, ptr %174, i32 0, i32 7
  %176 = load float, ptr %175, align 4, !tbaa !34
  %177 = fsub float %173, %176
  %178 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 6
  %179 = load ptr, ptr %178, align 8, !tbaa !38
  %180 = getelementptr inbounds %struct.ImFontAtlas, ptr %179, i32 0, i32 14
  %181 = load i32, ptr %180, align 4, !tbaa !46
  %182 = sitofp i32 %181 to float
  %183 = load float, ptr %28, align 4, !tbaa !11
  %184 = call float @llvm.fmuladd.f32(float %177, float %182, float %183)
  %185 = fptosi float %184 to i32
  %186 = mul nsw i32 %170, %185
  %187 = getelementptr inbounds %struct.ImFont, ptr %29, i32 0, i32 19
  %188 = load i32, ptr %187, align 8, !tbaa !47
  %189 = add nsw i32 %188, %186
  store i32 %189, ptr %187, align 8, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI11ImFontGlyphE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImFloorf(float noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 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, !10, i64 0}
!10 = !{!"short", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 64}
!14 = !{!"_ZTS12ImFontConfig", !6, i64 0, !15, i64 8, !16, i64 12, !15, i64 16, !12, i64 20, !15, i64 24, !15, i64 28, !16, i64 32, !17, i64 36, !17, i64 44, !6, i64 56, !12, i64 64, !12, i64 68, !16, i64 72, !15, i64 76, !12, i64 80, !10, i64 84, !7, i64 86, !6, i64 128}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!18 = !{!14, !12, i64 68}
!19 = !{!14, !16, i64 32}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!14, !12, i64 36}
!23 = !{!24, !15, i64 40}
!24 = !{!"_ZTS6ImFont", !25, i64 0, !12, i64 16, !12, i64 20, !26, i64 24, !27, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !10, i64 80, !10, i64 82, !10, i64 84, !10, i64 86, !12, i64 88, !12, i64 92, !16, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !15, i64 112, !7, i64 116}
!25 = !{!"_ZTS8ImVectorIfE", !15, i64 0, !15, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !15, i64 0, !15, i64 4, !6, i64 8}
!28 = !{!29, !12, i64 8}
!29 = !{!"_ZTS11ImFontGlyph", !15, i64 0, !15, i64 0, !15, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36}
!30 = !{!29, !12, i64 12}
!31 = !{!29, !12, i64 16}
!32 = !{!29, !12, i64 20}
!33 = !{!29, !12, i64 24}
!34 = !{!29, !12, i64 28}
!35 = !{!29, !12, i64 32}
!36 = !{!29, !12, i64 36}
!37 = !{!29, !12, i64 4}
!38 = !{!24, !6, i64 64}
!39 = !{!40, !15, i64 20}
!40 = !{!"_ZTS11ImFontAtlas", !15, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !16, i64 24, !6, i64 32, !16, i64 40, !16, i64 41, !6, i64 48, !6, i64 56, !15, i64 64, !15, i64 68, !17, i64 72, !17, i64 80, !41, i64 88, !42, i64 104, !43, i64 120, !7, i64 136, !6, i64 1160, !15, i64 1168, !15, i64 1172, !15, i64 1176}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !15, i64 0, !15, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !15, i64 0, !15, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI12ImFontConfigE", !15, i64 0, !15, i64 4, !6, i64 8}
!44 = !{!24, !16, i64 96}
!45 = !{!40, !15, i64 64}
!46 = !{!40, !15, i64 68}
!47 = !{!24, !15, i64 112}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImFont8AddGlyphEPK12ImFontConfigtfffffffff(ptr noundef nonnull align 8 dereferenceable(118) %0, ptr noundef readonly %1, i16 noundef zeroext %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, float noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11) local_unnamed_addr #2 align 2 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %42, label %13

13:                                               ; preds = %12
  %14 = getelementptr inbounds i8, ptr %1, i64 64
  %15 = load float, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 68
  %17 = load float, ptr %16, align 4, !tbaa !15
  %18 = tail call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %11, float noundef %15, float noundef %17)
  %19 = fcmp une float %18, %11
  br i1 %19, label %20, label %32

20:                                               ; preds = %13
  %21 = getelementptr inbounds i8, ptr %1, i64 32
  %22 = load i8, ptr %21, align 8, !tbaa !16, !range !17, !noundef !18
  %23 = trunc nuw i8 %22 to i1
  %24 = fsub float %18, %11
  %25 = fmul float %24, 5.000000e-01
  br i1 %23, label %26, label %28

26:                                               ; preds = %20
  %27 = tail call noundef float @_ZL7ImFloorf(float noundef %25)
  br label %28

28:                                               ; preds = %20, %26
  %29 = phi float [ %27, %26 ], [ %25, %20 ]
  %30 = fadd float %29, %3
  %31 = fadd float %29, %5
  br label %32

32:                                               ; preds = %28, %13
  %.052 = phi float [ %31, %28 ], [ %5, %13 ]
  %.0 = phi float [ %30, %28 ], [ %3, %13 ]
  %33 = getelementptr inbounds i8, ptr %1, i64 32
  %34 = load i8, ptr %33, align 8, !tbaa !16, !range !17, !noundef !18
  %35 = trunc nuw i8 %34 to i1
  %36 = fadd float %18, 5.000000e-01
  %37 = fptosi float %36 to i32
  %38 = sitofp i32 %37 to float
  %.054 = select i1 %35, float %38, float %18
  %39 = getelementptr inbounds i8, ptr %1, i64 36
  %40 = load float, ptr %39, align 4, !tbaa !19
  %41 = fadd float %40, %.054
  br label %42

42:                                               ; preds = %32, %12
  %.155 = phi float [ %41, %32 ], [ %11, %12 ]
  %.153 = phi float [ %.052, %32 ], [ %5, %12 ]
  %.1 = phi float [ %.0, %32 ], [ %3, %12 ]
  %43 = getelementptr inbounds i8, ptr %0, i64 40
  %44 = load i32, ptr %43, align 8, !tbaa !20
  %45 = add nsw i32 %44, 1
  tail call void @_ZN8ImVectorI11ImFontGlyphE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %43, i32 noundef %45)
  %46 = tail call noundef nonnull align 4 dereferenceable(40) ptr @_ZN8ImVectorI11ImFontGlyphE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
  %47 = zext i16 %2 to i32
  %48 = shl nuw nsw i32 %47, 2
  %49 = fcmp une float %.1, %.153
  %50 = fcmp une float %4, %6
  %51 = and i1 %50, %49
  %52 = select i1 %51, i32 2, i32 0
  %53 = or disjoint i32 %52, %48
  store i32 %53, ptr %46, align 4
  %54 = getelementptr inbounds i8, ptr %46, i64 8
  store float %.1, ptr %54, align 4, !tbaa !25
  %55 = getelementptr inbounds i8, ptr %46, i64 12
  store float %4, ptr %55, align 4, !tbaa !27
  %56 = getelementptr inbounds i8, ptr %46, i64 16
  store float %.153, ptr %56, align 4, !tbaa !28
  %57 = getelementptr inbounds i8, ptr %46, i64 20
  store float %6, ptr %57, align 4, !tbaa !29
  %58 = getelementptr inbounds i8, ptr %46, i64 24
  store float %7, ptr %58, align 4, !tbaa !30
  %59 = getelementptr inbounds i8, ptr %46, i64 28
  store float %8, ptr %59, align 4, !tbaa !31
  %60 = getelementptr inbounds i8, ptr %46, i64 32
  store float %9, ptr %60, align 4, !tbaa !32
  %61 = getelementptr inbounds i8, ptr %46, i64 36
  store float %10, ptr %61, align 4, !tbaa !33
  %62 = getelementptr inbounds i8, ptr %46, i64 4
  store float %.155, ptr %62, align 4, !tbaa !34
  %63 = getelementptr inbounds i8, ptr %0, i64 64
  %64 = load ptr, ptr %63, align 8, !tbaa !35
  %65 = getelementptr inbounds i8, ptr %64, i64 20
  %66 = load i32, ptr %65, align 4, !tbaa !36
  %67 = sitofp i32 %66 to float
  %68 = fadd float %67, 0x3FEFAE1480000000
  %69 = getelementptr inbounds i8, ptr %0, i64 96
  store i8 1, ptr %69, align 8, !tbaa !41
  %70 = fsub float %9, %7
  %71 = getelementptr inbounds i8, ptr %64, i64 64
  %72 = load i32, ptr %71, align 8, !tbaa !42
  %73 = sitofp i32 %72 to float
  %74 = tail call float @llvm.fmuladd.f32(float %70, float %73, float %68)
  %75 = fptosi float %74 to i32
  %76 = fsub float %10, %8
  %77 = getelementptr inbounds i8, ptr %64, i64 68
  %78 = load i32, ptr %77, align 4, !tbaa !43
  %79 = sitofp i32 %78 to float
  %80 = tail call float @llvm.fmuladd.f32(float %76, float %79, float %68)
  %81 = fptosi float %80 to i32
  %82 = mul nsw i32 %81, %75
  %83 = getelementptr inbounds i8, ptr %0, i64 112
  %84 = load i32, ptr %83, align 8, !tbaa !44
  %85 = add nsw i32 %82, %84
  store i32 %85, ptr %83, align 8, !tbaa !44
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(40) ptr @_ZN8ImVectorI11ImFontGlyphE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI11ImFontGlyphE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImFloorf(float noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #2 = { 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 #3 = { 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" }

!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, !12, i64 64}
!6 = !{!"_ZTS12ImFontConfig", !7, i64 0, !10, i64 8, !11, i64 12, !10, i64 16, !12, i64 20, !10, i64 24, !10, i64 28, !11, i64 32, !13, i64 36, !13, i64 44, !7, i64 56, !12, i64 64, !12, i64 68, !11, i64 72, !10, i64 76, !12, i64 80, !14, i64 84, !8, i64 86, !7, i64 128}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!14 = !{!"short", !8, i64 0}
!15 = !{!6, !12, i64 68}
!16 = !{!6, !11, i64 32}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !12, i64 36}
!20 = !{!21, !10, i64 40}
!21 = !{!"_ZTS6ImFont", !22, i64 0, !12, i64 16, !12, i64 20, !23, i64 24, !24, i64 40, !7, i64 56, !7, i64 64, !7, i64 72, !14, i64 80, !14, i64 82, !14, i64 84, !14, i64 86, !12, i64 88, !12, i64 92, !11, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !10, i64 112, !8, i64 116}
!22 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !7, i64 8}
!23 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !7, i64 8}
!25 = !{!26, !12, i64 8}
!26 = !{!"_ZTS11ImFontGlyph", !10, i64 0, !10, i64 0, !10, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36}
!27 = !{!26, !12, i64 12}
!28 = !{!26, !12, i64 16}
!29 = !{!26, !12, i64 20}
!30 = !{!26, !12, i64 24}
!31 = !{!26, !12, i64 28}
!32 = !{!26, !12, i64 32}
!33 = !{!26, !12, i64 36}
!34 = !{!26, !12, i64 4}
!35 = !{!21, !7, i64 64}
!36 = !{!37, !10, i64 20}
!37 = !{!"_ZTS11ImFontAtlas", !10, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !11, i64 24, !7, i64 32, !11, i64 40, !11, i64 41, !7, i64 48, !7, i64 56, !10, i64 64, !10, i64 68, !13, i64 72, !13, i64 80, !38, i64 88, !39, i64 104, !40, i64 120, !8, i64 136, !7, i64 1160, !10, i64 1168, !10, i64 1172, !10, i64 1176}
!38 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !7, i64 8}
!39 = !{!"_ZTS8ImVectorI21ImFontAtlasCustomRectE", !10, i64 0, !10, i64 4, !7, i64 8}
!40 = !{!"_ZTS8ImVectorI12ImFontConfigE", !10, i64 0, !10, i64 4, !7, i64 8}
!41 = !{!21, !11, i64 96}
!42 = !{!37, !10, i64 64}
!43 = !{!37, !10, i64 68}
!44 = !{!21, !10, i64 112}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass