; LLVM IR from Dragons-Lake/REI :: sources/REI_Integration/3rdParty/imgui/imgui_draw.ll (ZN20ImDrawListSharedDataC2Ev)

; 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.ImVec4 = type { float, float, float, float }
%struct.ImVec2 = type { float, float }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>

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

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

; 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) #2

; 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 @_ZN20ImDrawListSharedDataC2Ev(ptr noundef nonnull align 8 dereferenceable(140) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec4, align 4
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 0
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %9 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 4
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %10 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 6
  %11 = getelementptr inbounds [12 x %struct.ImVec2], ptr %10, i32 0, i32 0
  %12 = getelementptr inbounds %struct.ImVec2, ptr %11, i64 12
  br label %13

13:                                               ; preds = %13, %1
  %14 = phi ptr [ %11, %1 ], [ %15, %13 ]
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %14)
  %15 = getelementptr inbounds %struct.ImVec2, ptr %14, i64 1
  %16 = icmp eq ptr %15, %12
  br i1 %16, label %17, label %13

17:                                               ; preds = %13
  %18 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 1
  store ptr null, ptr %18, align 8, !tbaa !9
  %19 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 2
  store float 0.000000e+00, ptr %19, align 8, !tbaa !15
  %20 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 3
  store float 0.000000e+00, ptr %20, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %3, float noundef -8.192000e+03, float noundef -8.192000e+03, float noundef 8.192000e+03, float noundef 8.192000e+03)
  %21 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 4 %3, i64 16, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  %22 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 5
  store i32 0, ptr %22, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !20
  br label %23

23:                                               ; preds = %41, %17
  %24 = load i32, ptr %4, align 4, !tbaa !20
  %25 = icmp slt i32 %24, 12
  br i1 %25, label %27, label %26

26:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %44

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %28 = load i32, ptr %4, align 4, !tbaa !20
  %29 = sitofp i32 %28 to float
  %30 = fmul float %29, 2.000000e+00
  %31 = fmul float %30, 0x400921FB60000000
  %32 = fdiv float %31, 1.200000e+01
  store float %32, ptr %5, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %33 = load float, ptr %5, align 4, !tbaa !18
  %34 = call noundef float @_ZL5ImCosf(float noundef %33)
  %35 = load float, ptr %5, align 4, !tbaa !18
  %36 = call noundef float @_ZL5ImSinf(float noundef %35)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %34, float noundef %36)
  %37 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %7, i32 0, i32 6
  %38 = load i32, ptr %4, align 4, !tbaa !20
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [12 x %struct.ImVec2], ptr %37, i64 0, i64 %39
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %41

41:                                               ; preds = %27
  %42 = load i32, ptr %4, align 4, !tbaa !20
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %4, align 4, !tbaa !20
  br label %23, !llvm.loop !22

44:                                               ; preds = %26
  ret void
}

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS20ImDrawListSharedData", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !13, i64 24, !14, i64 40, !7, i64 44}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!"_ZTS6ImVec4", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12}
!14 = !{!"int", !7, i64 0}
!15 = !{!10, !12, i64 16}
!16 = !{!10, !12, i64 20}
!17 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !18, i64 12, i64 4, !18}
!18 = !{!12, !12, i64 0}
!19 = !{!10, !14, i64 40}
!20 = !{!14, !14, i64 0}
!21 = !{i64 0, i64 4, !18, i64 4, i64 4, !18}
!22 = distinct !{!22, !23}
!23 = !{!"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.ImVec4 = type { float, float, float, float }
%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 nounwind uwtable
declare dso_local void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; 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) #2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN20ImDrawListSharedDataC2Ev(ptr noundef nonnull align 8 dereferenceable(140) %0) unnamed_addr #1 align 2 {
  %2 = alloca %struct.ImVec4, align 4
  %3 = alloca %struct.ImVec2, align 8
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %0)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %.ptr = getelementptr inbounds i8, ptr %0, i64 44
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr)
  %.ptr.1 = getelementptr inbounds i8, ptr %0, i64 52
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %0, i64 60
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %0, i64 68
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %0, i64 76
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %0, i64 84
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.5)
  %.ptr.6 = getelementptr inbounds i8, ptr %0, i64 92
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.6)
  %.ptr.7 = getelementptr inbounds i8, ptr %0, i64 100
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.7)
  %.ptr.8 = getelementptr inbounds i8, ptr %0, i64 108
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.8)
  %.ptr.9 = getelementptr inbounds i8, ptr %0, i64 116
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.9)
  %.ptr.10 = getelementptr inbounds i8, ptr %0, i64 124
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.10)
  %.ptr.11 = getelementptr inbounds i8, ptr %0, i64 132
  tail call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.11)
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %5, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %2, float noundef -8.192000e+03, float noundef -8.192000e+03, float noundef 8.192000e+03, float noundef 8.192000e+03)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(16) %2, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 0, ptr %6, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %7 = call noundef float @_ZL5ImCosf(float noundef 0.000000e+00)
  %8 = call noundef float @_ZL5ImSinf(float noundef 0.000000e+00)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %7, float noundef %8)
  %9 = load i64, ptr %3, align 8
  store i64 %9, ptr %.ptr, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %10 = call noundef float @_ZL5ImCosf(float noundef 0x3FE0C15240000000)
  %11 = call noundef float @_ZL5ImSinf(float noundef 0x3FE0C15240000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %10, float noundef %11)
  %12 = getelementptr inbounds i8, ptr %0, i64 52
  %13 = load i64, ptr %3, align 8
  store i64 %13, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %14 = call noundef float @_ZL5ImCosf(float noundef 0x3FF0C15240000000)
  %15 = call noundef float @_ZL5ImSinf(float noundef 0x3FF0C15240000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %14, float noundef %15)
  %16 = getelementptr inbounds i8, ptr %0, i64 60
  %17 = load i64, ptr %3, align 8
  store i64 %17, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %18 = call noundef float @_ZL5ImCosf(float noundef 0x3FF921FB60000000)
  %19 = call noundef float @_ZL5ImSinf(float noundef 0x3FF921FB60000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %18, float noundef %19)
  %20 = getelementptr inbounds i8, ptr %0, i64 68
  %21 = load i64, ptr %3, align 8
  store i64 %21, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %22 = call noundef float @_ZL5ImCosf(float noundef 0x4000C15240000000)
  %23 = call noundef float @_ZL5ImSinf(float noundef 0x4000C15240000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %22, float noundef %23)
  %24 = getelementptr inbounds i8, ptr %0, i64 76
  %25 = load i64, ptr %3, align 8
  store i64 %25, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %26 = call noundef float @_ZL5ImCosf(float noundef 0x4004F1A6E0000000)
  %27 = call noundef float @_ZL5ImSinf(float noundef 0x4004F1A6E0000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %26, float noundef %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 84
  %29 = load i64, ptr %3, align 8
  store i64 %29, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %30 = call noundef float @_ZL5ImCosf(float noundef 0x400921FB60000000)
  %31 = call noundef float @_ZL5ImSinf(float noundef 0x400921FB60000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %30, float noundef %31)
  %32 = getelementptr inbounds i8, ptr %0, i64 92
  %33 = load i64, ptr %3, align 8
  store i64 %33, ptr %32, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %34 = call noundef float @_ZL5ImCosf(float noundef 0x400D525000000000)
  %35 = call noundef float @_ZL5ImSinf(float noundef 0x400D525000000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %34, float noundef %35)
  %36 = getelementptr inbounds i8, ptr %0, i64 100
  %37 = load i64, ptr %3, align 8
  store i64 %37, ptr %36, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %38 = call noundef float @_ZL5ImCosf(float noundef 0x4010C15240000000)
  %39 = call noundef float @_ZL5ImSinf(float noundef 0x4010C15240000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %38, float noundef %39)
  %40 = getelementptr inbounds i8, ptr %0, i64 108
  %41 = load i64, ptr %3, align 8
  store i64 %41, ptr %40, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %42 = call noundef float @_ZL5ImCosf(float noundef 0x4012D97C80000000)
  %43 = call noundef float @_ZL5ImSinf(float noundef 0x4012D97C80000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %42, float noundef %43)
  %44 = getelementptr inbounds i8, ptr %0, i64 116
  %45 = load i64, ptr %3, align 8
  store i64 %45, ptr %44, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %46 = call noundef float @_ZL5ImCosf(float noundef 0x4014F1A6E0000000)
  %47 = call noundef float @_ZL5ImSinf(float noundef 0x4014F1A6E0000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %46, float noundef %47)
  %48 = getelementptr inbounds i8, ptr %0, i64 124
  %49 = load i64, ptr %3, align 8
  store i64 %49, ptr %48, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %50 = call noundef float @_ZL5ImCosf(float noundef 0x401709D120000000)
  %51 = call noundef float @_ZL5ImSinf(float noundef 0x401709D120000000)
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %50, float noundef %51)
  %52 = getelementptr inbounds i8, ptr %0, i64 132
  %53 = load i64, ptr %3, align 8
  store i64 %53, ptr %52, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void
}

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6, i64 12, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !15, i64 40}
!11 = !{!"_ZTS20ImDrawListSharedData", !12, i64 0, !13, i64 8, !7, i64 16, !7, i64 20, !14, i64 24, !15, i64 40, !8, i64 44}
!12 = !{!"_ZTS6ImVec2", !7, i64 0, !7, i64 4}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTS6ImVec4", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!15 = !{!"int", !8, i64 0}


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