; LLVM IR from christoskaramou/PhasmaEngine :: PhasmaEditor/Include/imgui/imgui_draw.ll (ZN10ImDrawList8PrimRectERK6ImVec2S2_j)

; 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.ImDrawList = type { %struct.ImVector.0, %struct.ImVector.1, %struct.ImVector.2, i32, i32, ptr, ptr, ptr, %struct.ImVector, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, float, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, i64, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.3 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, ptr, float, float, float, float, %struct.ImVec4, i32, [4 x i8], %struct.ImVector, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

; 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList8PrimRectERK6ImVec2S2_j(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, i32 noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %13 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImVec2, ptr %14, i32 0, i32 0
  %16 = load float, ptr %15, align 4, !tbaa !11
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImVec2, ptr %17, i32 0, i32 1
  %19 = load float, ptr %18, align 4, !tbaa !14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %16, float noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %22 = load float, ptr %21, align 4, !tbaa !11
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImVec2, ptr %23, i32 0, i32 1
  %25 = load float, ptr %24, align 4, !tbaa !14
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %22, float noundef %25)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %26 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %27, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %28, i64 8, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %29 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 4
  %30 = load i32, ptr %29, align 4, !tbaa !31
  store i32 %30, ptr %12, align 4, !tbaa !9
  %31 = load i32, ptr %12, align 4, !tbaa !9
  %32 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %33 = load ptr, ptr %32, align 8, !tbaa !32
  %34 = getelementptr inbounds i32, ptr %33, i64 0
  store i32 %31, ptr %34, align 4, !tbaa !9
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = add i32 %35, 1
  %37 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %38 = load ptr, ptr %37, align 8, !tbaa !32
  %39 = getelementptr inbounds i32, ptr %38, i64 1
  store i32 %36, ptr %39, align 4, !tbaa !9
  %40 = load i32, ptr %12, align 4, !tbaa !9
  %41 = add i32 %40, 2
  %42 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %43 = load ptr, ptr %42, align 8, !tbaa !32
  %44 = getelementptr inbounds i32, ptr %43, i64 2
  store i32 %41, ptr %44, align 4, !tbaa !9
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %47 = load ptr, ptr %46, align 8, !tbaa !32
  %48 = getelementptr inbounds i32, ptr %47, i64 3
  store i32 %45, ptr %48, align 4, !tbaa !9
  %49 = load i32, ptr %12, align 4, !tbaa !9
  %50 = add i32 %49, 2
  %51 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %52 = load ptr, ptr %51, align 8, !tbaa !32
  %53 = getelementptr inbounds i32, ptr %52, i64 4
  store i32 %50, ptr %53, align 4, !tbaa !9
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = add i32 %54, 3
  %56 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %57 = load ptr, ptr %56, align 8, !tbaa !32
  %58 = getelementptr inbounds i32, ptr %57, i64 5
  store i32 %55, ptr %58, align 4, !tbaa !9
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %61 = load ptr, ptr %60, align 8, !tbaa !33
  %62 = getelementptr inbounds %struct.ImDrawVert, ptr %61, i64 0
  %63 = getelementptr inbounds %struct.ImDrawVert, ptr %62, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %63, ptr align 4 %59, i64 8, i1 false), !tbaa.struct !29
  %64 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %65 = load ptr, ptr %64, align 8, !tbaa !33
  %66 = getelementptr inbounds %struct.ImDrawVert, ptr %65, i64 0
  %67 = getelementptr inbounds %struct.ImDrawVert, ptr %66, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !29
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %70 = load ptr, ptr %69, align 8, !tbaa !33
  %71 = getelementptr inbounds %struct.ImDrawVert, ptr %70, i64 0
  %72 = getelementptr inbounds %struct.ImDrawVert, ptr %71, i32 0, i32 2
  store i32 %68, ptr %72, align 4, !tbaa !34
  %73 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %74 = load ptr, ptr %73, align 8, !tbaa !33
  %75 = getelementptr inbounds %struct.ImDrawVert, ptr %74, i64 1
  %76 = getelementptr inbounds %struct.ImDrawVert, ptr %75, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !29
  %77 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %78 = load ptr, ptr %77, align 8, !tbaa !33
  %79 = getelementptr inbounds %struct.ImDrawVert, ptr %78, i64 1
  %80 = getelementptr inbounds %struct.ImDrawVert, ptr %79, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !29
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %83 = load ptr, ptr %82, align 8, !tbaa !33
  %84 = getelementptr inbounds %struct.ImDrawVert, ptr %83, i64 1
  %85 = getelementptr inbounds %struct.ImDrawVert, ptr %84, i32 0, i32 2
  store i32 %81, ptr %85, align 4, !tbaa !34
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %88 = load ptr, ptr %87, align 8, !tbaa !33
  %89 = getelementptr inbounds %struct.ImDrawVert, ptr %88, i64 2
  %90 = getelementptr inbounds %struct.ImDrawVert, ptr %89, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %86, i64 8, i1 false), !tbaa.struct !29
  %91 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %92 = load ptr, ptr %91, align 8, !tbaa !33
  %93 = getelementptr inbounds %struct.ImDrawVert, ptr %92, i64 2
  %94 = getelementptr inbounds %struct.ImDrawVert, ptr %93, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !29
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %97 = load ptr, ptr %96, align 8, !tbaa !33
  %98 = getelementptr inbounds %struct.ImDrawVert, ptr %97, i64 2
  %99 = getelementptr inbounds %struct.ImDrawVert, ptr %98, i32 0, i32 2
  store i32 %95, ptr %99, align 4, !tbaa !34
  %100 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %101 = load ptr, ptr %100, align 8, !tbaa !33
  %102 = getelementptr inbounds %struct.ImDrawVert, ptr %101, i64 3
  %103 = getelementptr inbounds %struct.ImDrawVert, ptr %102, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %103, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !29
  %104 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %105 = load ptr, ptr %104, align 8, !tbaa !33
  %106 = getelementptr inbounds %struct.ImDrawVert, ptr %105, i64 3
  %107 = getelementptr inbounds %struct.ImDrawVert, ptr %106, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %107, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !29
  %108 = load i32, ptr %8, align 4, !tbaa !9
  %109 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %110 = load ptr, ptr %109, align 8, !tbaa !33
  %111 = getelementptr inbounds %struct.ImDrawVert, ptr %110, i64 3
  %112 = getelementptr inbounds %struct.ImDrawVert, ptr %111, i32 0, i32 2
  store i32 %108, ptr %112, align 4, !tbaa !34
  %113 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 6
  %114 = load ptr, ptr %113, align 8, !tbaa !33
  %115 = getelementptr inbounds %struct.ImDrawVert, ptr %114, i64 4
  store ptr %115, ptr %113, align 8, !tbaa !33
  %116 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 4
  %117 = load i32, ptr %116, align 4, !tbaa !31
  %118 = add i32 %117, 4
  store i32 %118, ptr %116, align 4, !tbaa !31
  %119 = getelementptr inbounds %struct.ImDrawList, ptr %13, i32 0, i32 7
  %120 = load ptr, ptr %119, align 8, !tbaa !32
  %121 = getelementptr inbounds i32, ptr %120, i64 6
  store ptr %121, ptr %119, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = !{!12, !13, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!16, !6, i64 56}
!16 = !{!"_ZTS10ImDrawList", !17, i64 0, !18, i64 16, !19, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !20, i64 80, !21, i64 96, !24, i64 128, !26, i64 152, !27, i64 168, !28, i64 184, !13, i64 200, !6, i64 208}
!17 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !23, i64 16, !10, i64 24}
!22 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !25, i64 8}
!25 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIyE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{i64 0, i64 4, !30, i64 4, i64 4, !30}
!30 = !{!13, !13, i64 0}
!31 = !{!16, !10, i64 52}
!32 = !{!16, !6, i64 72}
!33 = !{!16, !6, i64 64}
!34 = !{!35, !10, i64 16}
!35 = !{!"_ZTS10ImDrawVert", !12, i64 0, !12, i64 8, !10, i64 16}


; 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 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: mustprogress nounwind uwtable
define dso_local void @_ZN10ImDrawList8PrimRectERK6ImVec2S2_j(ptr nocapture noundef nonnull align 8 dereferenceable(216) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(8) %2, i32 noundef %3) local_unnamed_addr #1 align 2 {
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #2
  %7 = load float, ptr %2, align 4, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  %9 = load float, ptr %8, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %7, float noundef %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #2
  %10 = load float, ptr %1, align 4, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %2, i64 4
  %12 = load float, ptr %11, align 4, !tbaa !10
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %10, float noundef %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = load ptr, ptr %13, align 8, !tbaa !11
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 52
  %17 = load i32, ptr %16, align 4, !tbaa !27
  %18 = getelementptr inbounds i8, ptr %0, i64 72
  %19 = load ptr, ptr %18, align 8, !tbaa !28
  store i32 %17, ptr %19, align 4, !tbaa !29
  %20 = add i32 %17, 1
  %21 = getelementptr inbounds i8, ptr %19, i64 4
  store i32 %20, ptr %21, align 4, !tbaa !29
  %22 = add i32 %17, 2
  %23 = getelementptr inbounds i8, ptr %19, i64 8
  store i32 %22, ptr %23, align 4, !tbaa !29
  %24 = getelementptr inbounds i8, ptr %19, i64 12
  store i32 %17, ptr %24, align 4, !tbaa !29
  %25 = getelementptr inbounds i8, ptr %19, i64 16
  store i32 %22, ptr %25, align 4, !tbaa !29
  %26 = add i32 %17, 3
  %27 = getelementptr inbounds i8, ptr %19, i64 20
  store i32 %26, ptr %27, align 4, !tbaa !29
  %28 = getelementptr inbounds i8, ptr %0, i64 64
  %29 = load ptr, ptr %28, align 8, !tbaa !30
  %30 = load i64, ptr %1, align 4
  store i64 %30, ptr %29, align 4
  %31 = load ptr, ptr %28, align 8, !tbaa !30
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  store i64 %15, ptr %32, align 4
  %33 = load ptr, ptr %28, align 8, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  store i32 %3, ptr %34, align 4, !tbaa !31
  %35 = getelementptr inbounds i8, ptr %33, i64 20
  %36 = load i64, ptr %5, align 8
  store i64 %36, ptr %35, align 4
  %37 = load ptr, ptr %28, align 8, !tbaa !30
  %38 = getelementptr inbounds i8, ptr %37, i64 28
  store i64 %15, ptr %38, align 4
  %39 = load ptr, ptr %28, align 8, !tbaa !30
  %40 = getelementptr inbounds i8, ptr %39, i64 36
  store i32 %3, ptr %40, align 4, !tbaa !31
  %41 = getelementptr inbounds i8, ptr %39, i64 40
  %42 = load i64, ptr %2, align 4
  store i64 %42, ptr %41, align 4
  %43 = load ptr, ptr %28, align 8, !tbaa !30
  %44 = getelementptr inbounds i8, ptr %43, i64 48
  store i64 %15, ptr %44, align 4
  %45 = load ptr, ptr %28, align 8, !tbaa !30
  %46 = getelementptr inbounds i8, ptr %45, i64 56
  store i32 %3, ptr %46, align 4, !tbaa !31
  %47 = getelementptr inbounds i8, ptr %45, i64 60
  %48 = load i64, ptr %6, align 8
  store i64 %48, ptr %47, align 4
  %49 = load ptr, ptr %28, align 8, !tbaa !30
  %50 = getelementptr inbounds i8, ptr %49, i64 68
  store i64 %15, ptr %50, align 4
  %51 = load ptr, ptr %28, align 8, !tbaa !30
  %52 = getelementptr inbounds i8, ptr %51, i64 76
  store i32 %3, ptr %52, align 4, !tbaa !31
  %53 = getelementptr inbounds i8, ptr %51, i64 80
  store ptr %53, ptr %28, align 8, !tbaa !30
  %54 = load i32, ptr %16, align 4, !tbaa !27
  %55 = add i32 %54, 4
  store i32 %55, ptr %16, align 4, !tbaa !27
  %56 = load ptr, ptr %18, align 8, !tbaa !28
  %57 = getelementptr inbounds i8, ptr %56, i64 24
  store ptr %57, ptr %18, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #2
  ret void
}

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 = { 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 0}
!6 = !{!"_ZTS6ImVec2", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !15, i64 56}
!12 = !{!"_ZTS10ImDrawList", !13, i64 0, !16, i64 16, !17, i64 32, !14, i64 48, !14, i64 52, !15, i64 56, !15, i64 64, !15, i64 72, !18, i64 80, !19, i64 96, !22, i64 128, !24, i64 152, !25, i64 168, !26, i64 184, !7, i64 200, !15, i64 208}
!13 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !15, i64 8}
!14 = !{!"int", !8, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"_ZTS8ImVectorIjE", !14, i64 0, !14, i64 4, !15, i64 8}
!17 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !15, i64 8}
!18 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !15, i64 8}
!19 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !21, i64 16, !14, i64 24}
!20 = !{!"_ZTS6ImVec4", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!21 = !{!"long long", !8, i64 0}
!22 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !23, i64 8}
!23 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !15, i64 8}
!24 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !15, i64 8}
!25 = !{!"_ZTS8ImVectorIyE", !14, i64 0, !14, i64 4, !15, i64 8}
!26 = !{!"_ZTS8ImVectorIhE", !14, i64 0, !14, i64 4, !15, i64 8}
!27 = !{!12, !14, i64 52}
!28 = !{!12, !15, i64 72}
!29 = !{!14, !14, i64 0}
!30 = !{!12, !15, i64 64}
!31 = !{!32, !14, i64 16}
!32 = !{!"_ZTS10ImDrawVert", !6, i64 0, !6, i64 8, !14, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass