; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/imgui/imgui.ll (ZN10ImGuiStyle13ScaleAllSizesEf)

; 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.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%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 uwtable
define dso_local void @_ZN10ImGuiStyle13ScaleAllSizesEf(ptr noundef nonnull align 4 dereferenceable(1048) %0, float noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store float %1, ptr %4, align 4, !tbaa !9
  %23 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %24 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 2
  %25 = load float, ptr %4, align 4, !tbaa !9
  %26 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %25)
  store <2 x float> %26, ptr %6, align 4
  %27 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %27, ptr %5, align 4
  %28 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %5, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %29 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 3
  %30 = load float, ptr %29, align 4, !tbaa !12
  %31 = load float, ptr %4, align 4, !tbaa !9
  %32 = fmul float %30, %31
  %33 = call noundef float @_ZL7ImFloorf(float noundef %32)
  %34 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 3
  store float %33, ptr %34, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %35 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 5
  %36 = load float, ptr %4, align 4, !tbaa !9
  %37 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %36)
  store <2 x float> %37, ptr %8, align 4
  %38 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %38, ptr %7, align 4
  %39 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %40 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 8
  %41 = load float, ptr %40, align 4, !tbaa !17
  %42 = load float, ptr %4, align 4, !tbaa !9
  %43 = fmul float %41, %42
  %44 = call noundef float @_ZL7ImFloorf(float noundef %43)
  %45 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 8
  store float %44, ptr %45, align 4, !tbaa !17
  %46 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 10
  %47 = load float, ptr %46, align 4, !tbaa !18
  %48 = load float, ptr %4, align 4, !tbaa !9
  %49 = fmul float %47, %48
  %50 = call noundef float @_ZL7ImFloorf(float noundef %49)
  %51 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 10
  store float %50, ptr %51, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %52 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 12
  %53 = load float, ptr %4, align 4, !tbaa !9
  %54 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %52, float noundef %53)
  store <2 x float> %54, ptr %10, align 4
  %55 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %55, ptr %9, align 4
  %56 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 12
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %57 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 13
  %58 = load float, ptr %57, align 4, !tbaa !19
  %59 = load float, ptr %4, align 4, !tbaa !9
  %60 = fmul float %58, %59
  %61 = call noundef float @_ZL7ImFloorf(float noundef %60)
  %62 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 13
  store float %61, ptr %62, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %63 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 15
  %64 = load float, ptr %4, align 4, !tbaa !9
  %65 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %63, float noundef %64)
  store <2 x float> %65, ptr %12, align 4
  %66 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %66, ptr %11, align 4
  %67 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 15
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %68 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 16
  %69 = load float, ptr %4, align 4, !tbaa !9
  %70 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %68, float noundef %69)
  store <2 x float> %70, ptr %14, align 4
  %71 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %71, ptr %13, align 4
  %72 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %73 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 17
  %74 = load float, ptr %4, align 4, !tbaa !9
  %75 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %73, float noundef %74)
  store <2 x float> %75, ptr %16, align 4
  %76 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %76, ptr %15, align 4
  %77 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %15, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %78 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 18
  %79 = load float, ptr %4, align 4, !tbaa !9
  %80 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %78, float noundef %79)
  store <2 x float> %80, ptr %18, align 4
  %81 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %81, ptr %17, align 4
  %82 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %83 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 19
  %84 = load float, ptr %83, align 4, !tbaa !20
  %85 = load float, ptr %4, align 4, !tbaa !9
  %86 = fmul float %84, %85
  %87 = call noundef float @_ZL7ImFloorf(float noundef %86)
  %88 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 19
  store float %87, ptr %88, align 4, !tbaa !20
  %89 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 20
  %90 = load float, ptr %89, align 4, !tbaa !21
  %91 = load float, ptr %4, align 4, !tbaa !9
  %92 = fmul float %90, %91
  %93 = call noundef float @_ZL7ImFloorf(float noundef %92)
  %94 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 20
  store float %93, ptr %94, align 4, !tbaa !21
  %95 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 21
  %96 = load float, ptr %95, align 4, !tbaa !22
  %97 = load float, ptr %4, align 4, !tbaa !9
  %98 = fmul float %96, %97
  %99 = call noundef float @_ZL7ImFloorf(float noundef %98)
  %100 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 21
  store float %99, ptr %100, align 4, !tbaa !22
  %101 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 22
  %102 = load float, ptr %101, align 4, !tbaa !23
  %103 = load float, ptr %4, align 4, !tbaa !9
  %104 = fmul float %102, %103
  %105 = call noundef float @_ZL7ImFloorf(float noundef %104)
  %106 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 22
  store float %105, ptr %106, align 4, !tbaa !23
  %107 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 23
  %108 = load float, ptr %107, align 4, !tbaa !24
  %109 = load float, ptr %4, align 4, !tbaa !9
  %110 = fmul float %108, %109
  %111 = call noundef float @_ZL7ImFloorf(float noundef %110)
  %112 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 23
  store float %111, ptr %112, align 4, !tbaa !24
  %113 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 24
  %114 = load float, ptr %113, align 4, !tbaa !25
  %115 = load float, ptr %4, align 4, !tbaa !9
  %116 = fmul float %114, %115
  %117 = call noundef float @_ZL7ImFloorf(float noundef %116)
  %118 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 24
  store float %117, ptr %118, align 4, !tbaa !25
  %119 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 25
  %120 = load float, ptr %119, align 4, !tbaa !26
  %121 = load float, ptr %4, align 4, !tbaa !9
  %122 = fmul float %120, %121
  %123 = call noundef float @_ZL7ImFloorf(float noundef %122)
  %124 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 25
  store float %123, ptr %124, align 4, !tbaa !26
  %125 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 26
  %126 = load float, ptr %125, align 4, !tbaa !27
  %127 = load float, ptr %4, align 4, !tbaa !9
  %128 = fmul float %126, %127
  %129 = call noundef float @_ZL7ImFloorf(float noundef %128)
  %130 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 26
  store float %129, ptr %130, align 4, !tbaa !27
  %131 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 28
  %132 = load float, ptr %131, align 4, !tbaa !28
  %133 = fcmp une float %132, 0x47EFFFFFE0000000
  br i1 %133, label %134, label %140

134:                                              ; preds = %2
  %135 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 28
  %136 = load float, ptr %135, align 4, !tbaa !28
  %137 = load float, ptr %4, align 4, !tbaa !9
  %138 = fmul float %136, %137
  %139 = call noundef float @_ZL7ImFloorf(float noundef %138)
  br label %141

140:                                              ; preds = %2
  br label %141

141:                                              ; preds = %140, %134
  %142 = phi float [ %139, %134 ], [ 0x47EFFFFFE0000000, %140 ]
  %143 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 28
  store float %142, ptr %143, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %144 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 32
  %145 = load float, ptr %4, align 4, !tbaa !9
  %146 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %144, float noundef %145)
  store <2 x float> %146, ptr %20, align 4
  %147 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %147, ptr %19, align 4
  %148 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 32
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %148, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %149 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 33
  %150 = load float, ptr %4, align 4, !tbaa !9
  %151 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %149, float noundef %150)
  store <2 x float> %151, ptr %22, align 4
  %152 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %152, ptr %21, align 4
  %153 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 33
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %153, ptr align 4 %21, i64 8, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  %154 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 34
  %155 = load float, ptr %154, align 4, !tbaa !29
  %156 = load float, ptr %4, align 4, !tbaa !9
  %157 = fmul float %155, %156
  %158 = call noundef float @_ZL7ImFloorf(float noundef %157)
  %159 = getelementptr inbounds %struct.ImGuiStyle, ptr %23, i32 0, i32 34
  store float %158, ptr %159, align 4, !tbaa !29
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "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"="64" "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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!12 = !{!13, !10, i64 16}
!13 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !10, i64 4, !14, i64 8, !10, i64 16, !10, i64 20, !14, i64 24, !14, i64 32, !15, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !14, i64 60, !10, i64 68, !10, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !15, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !10, i64 184, !16, i64 188, !16, i64 189, !16, i64 190, !10, i64 192, !10, i64 196, !7, i64 200}
!14 = !{!"_ZTS6ImVec2", !10, i64 0, !10, i64 4}
!15 = !{!"int", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!13, !10, i64 44}
!18 = !{!13, !10, i64 52}
!19 = !{!13, !10, i64 68}
!20 = !{!13, !10, i64 108}
!21 = !{!13, !10, i64 112}
!22 = !{!13, !10, i64 116}
!23 = !{!13, !10, i64 120}
!24 = !{!13, !10, i64 124}
!25 = !{!13, !10, i64 128}
!26 = !{!13, !10, i64 132}
!27 = !{!13, !10, i64 136}
!28 = !{!13, !10, i64 144}
!29 = !{!13, !10, i64 184}


; 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 uwtable
define dso_local void @_ZN10ImGuiStyle13ScaleAllSizesEf(ptr noundef nonnull align 4 dereferenceable(1048) %0, float noundef %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %struct.ImVec2, align 8
  %4 = alloca %struct.ImVec2, align 8
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %struct.ImVec2, align 8
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = tail call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %1)
  store <2 x float> %13, ptr %3, align 8
  %14 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %14, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 16
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = fmul float %16, %1
  %18 = call noundef float @_ZL7ImFloorf(float noundef %17)
  store float %18, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %19 = getelementptr inbounds i8, ptr %0, i64 24
  %20 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %1)
  store <2 x float> %20, ptr %4, align 8
  %21 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %4)
  store <2 x float> %21, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %22 = getelementptr inbounds i8, ptr %0, i64 44
  %23 = load float, ptr %22, align 4, !tbaa !13
  %24 = fmul float %23, %1
  %25 = call noundef float @_ZL7ImFloorf(float noundef %24)
  store float %25, ptr %22, align 4, !tbaa !13
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  %27 = load float, ptr %26, align 4, !tbaa !14
  %28 = fmul float %27, %1
  %29 = call noundef float @_ZL7ImFloorf(float noundef %28)
  store float %29, ptr %26, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %30 = getelementptr inbounds i8, ptr %0, i64 60
  %31 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %1)
  store <2 x float> %31, ptr %5, align 8
  %32 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %32, ptr %30, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %33 = getelementptr inbounds i8, ptr %0, i64 68
  %34 = load float, ptr %33, align 4, !tbaa !15
  %35 = fmul float %34, %1
  %36 = call noundef float @_ZL7ImFloorf(float noundef %35)
  store float %36, ptr %33, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %37 = getelementptr inbounds i8, ptr %0, i64 76
  %38 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %1)
  store <2 x float> %38, ptr %6, align 8
  %39 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %39, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %40 = getelementptr inbounds i8, ptr %0, i64 84
  %41 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %1)
  store <2 x float> %41, ptr %7, align 8
  %42 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %42, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %43 = getelementptr inbounds i8, ptr %0, i64 92
  %44 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %1)
  store <2 x float> %44, ptr %8, align 8
  %45 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %45, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %46 = getelementptr inbounds i8, ptr %0, i64 100
  %47 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %46, float noundef %1)
  store <2 x float> %47, ptr %9, align 8
  %48 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %48, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  %49 = getelementptr inbounds i8, ptr %0, i64 108
  %50 = load float, ptr %49, align 4, !tbaa !16
  %51 = fmul float %50, %1
  %52 = call noundef float @_ZL7ImFloorf(float noundef %51)
  store float %52, ptr %49, align 4, !tbaa !16
  %53 = getelementptr inbounds i8, ptr %0, i64 112
  %54 = load float, ptr %53, align 4, !tbaa !17
  %55 = fmul float %54, %1
  %56 = call noundef float @_ZL7ImFloorf(float noundef %55)
  store float %56, ptr %53, align 4, !tbaa !17
  %57 = getelementptr inbounds i8, ptr %0, i64 116
  %58 = load float, ptr %57, align 4, !tbaa !18
  %59 = fmul float %58, %1
  %60 = call noundef float @_ZL7ImFloorf(float noundef %59)
  store float %60, ptr %57, align 4, !tbaa !18
  %61 = getelementptr inbounds i8, ptr %0, i64 120
  %62 = load float, ptr %61, align 4, !tbaa !19
  %63 = fmul float %62, %1
  %64 = call noundef float @_ZL7ImFloorf(float noundef %63)
  store float %64, ptr %61, align 4, !tbaa !19
  %65 = getelementptr inbounds i8, ptr %0, i64 124
  %66 = load float, ptr %65, align 4, !tbaa !20
  %67 = fmul float %66, %1
  %68 = call noundef float @_ZL7ImFloorf(float noundef %67)
  store float %68, ptr %65, align 4, !tbaa !20
  %69 = getelementptr inbounds i8, ptr %0, i64 128
  %70 = load float, ptr %69, align 4, !tbaa !21
  %71 = fmul float %70, %1
  %72 = call noundef float @_ZL7ImFloorf(float noundef %71)
  store float %72, ptr %69, align 4, !tbaa !21
  %73 = getelementptr inbounds i8, ptr %0, i64 132
  %74 = load float, ptr %73, align 4, !tbaa !22
  %75 = fmul float %74, %1
  %76 = call noundef float @_ZL7ImFloorf(float noundef %75)
  store float %76, ptr %73, align 4, !tbaa !22
  %77 = getelementptr inbounds i8, ptr %0, i64 136
  %78 = load float, ptr %77, align 4, !tbaa !23
  %79 = fmul float %78, %1
  %80 = call noundef float @_ZL7ImFloorf(float noundef %79)
  store float %80, ptr %77, align 4, !tbaa !23
  %81 = getelementptr inbounds i8, ptr %0, i64 144
  %82 = load float, ptr %81, align 4, !tbaa !24
  %83 = fcmp une float %82, 0x47EFFFFFE0000000
  br i1 %83, label %84, label %87

84:                                               ; preds = %2
  %85 = fmul float %82, %1
  %86 = call noundef float @_ZL7ImFloorf(float noundef %85)
  br label %87

87:                                               ; preds = %2, %84
  %88 = phi float [ %86, %84 ], [ 0x47EFFFFFE0000000, %2 ]
  store float %88, ptr %81, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %89 = getelementptr inbounds i8, ptr %0, i64 168
  %90 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %89, float noundef %1)
  store <2 x float> %90, ptr %10, align 8
  %91 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %91, ptr %89, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %92 = getelementptr inbounds i8, ptr %0, i64 176
  %93 = call <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %92, float noundef %1)
  store <2 x float> %93, ptr %11, align 8
  %94 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %11)
  store <2 x float> %94, ptr %92, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  %95 = getelementptr inbounds i8, ptr %0, i64 184
  %96 = load float, ptr %95, align 4, !tbaa !25
  %97 = fmul float %96, %1
  %98 = call noundef float @_ZL7ImFloorf(float noundef %97)
  store float %98, ptr %95, align 4, !tbaa !25
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmlRK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="64" "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 uwtable "min-legal-vector-width"="64" "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 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 #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 16}
!6 = !{!"_ZTS10ImGuiStyle", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !10, i64 32, !11, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !10, i64 60, !7, i64 68, !7, i64 72, !10, i64 76, !10, i64 84, !10, i64 92, !10, i64 100, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !11, i64 148, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !7, i64 184, !12, i64 188, !12, i64 189, !12, i64 190, !7, i64 192, !7, i64 196, !8, i64 200}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !7, i64 0, !7, i64 4}
!11 = !{!"int", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!6, !7, i64 44}
!14 = !{!6, !7, i64 52}
!15 = !{!6, !7, i64 68}
!16 = !{!6, !7, i64 108}
!17 = !{!6, !7, i64 112}
!18 = !{!6, !7, i64 116}
!19 = !{!6, !7, i64 120}
!20 = !{!6, !7, i64 124}
!21 = !{!6, !7, i64 128}
!22 = !{!6, !7, i64 132}
!23 = !{!6, !7, i64 136}
!24 = !{!6, !7, i64 144}
!25 = !{!6, !7, i64 184}


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