; LLVM IR from Samson-Mano/EM_Propogation_simulation :: EM_Propogation_simulation/src/ImGui/implot.ll (ZN6ImPlot16UpdateAxisColorsER10ImPlotAxis)

; 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.ImPlotAxis = type <{ i32, i32, i32, [4 x i8], %struct.ImPlotRange, i32, i32, %struct.ImPlotRange, ptr, %struct.ImPlotRange, %struct.ImPlotRange, %struct.ImPlotTicker, ptr, ptr, [16 x i8], ptr, ptr, ptr, i32, [4 x i8], %struct.ImPlotTime, %struct.ImPlotTime, ptr, ptr, ptr, float, float, double, double, double, float, float, %struct.ImRect, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, [4 x i8] }>
%struct.ImPlotRange = type { double, double }
%struct.ImPlotTicker = type <{ %struct.ImVector.38, %struct.ImGuiTextBuffer, %struct.ImVec2, %struct.ImVec2, i32, [4 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImPlotTime = type <{ i64, i32, [4 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImPlotContext = type { %struct.ImPool.34, %struct.ImPool.36, ptr, ptr, ptr, ptr, ptr, %struct.ImPlotTicker, %struct.ImPlotAnnotationCollection, %struct.ImPlotTagCollection, i8, [3 x i8], %struct.ImPlotStyle, %struct.ImVector.6, %struct.ImVector.7, %struct.ImPlotColormapData, %struct.ImVector.10, %struct.tm, %struct.ImVector.42, %struct.ImVector.42, %struct.ImVector.10, i32, i32, %struct.ImPlotNextPlotData, %struct.ImPlotNextItemData, %struct.ImPlotInputMap, i8, %struct.ImGuiTextBuffer, ptr, %struct.ImPool.43, ptr, ptr }
%struct.ImPool.34 = type { %struct.ImVector.35, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImPool.36 = type { %struct.ImVector.37, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImPlotAnnotationCollection = type <{ %struct.ImVector.39, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImPlotTagCollection = type <{ %struct.ImVector.40, %struct.ImGuiTextBuffer, i32, [4 x i8] }>
%struct.ImVector.40 = type { i32, i32, ptr }
%struct.ImPlotStyle = type <{ float, i32, float, float, float, float, float, float, float, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [21 x %struct.ImVec4], i32, i8, i8, i8, i8 }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImPlotColormapData = type <{ %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.10, %struct.ImGuiTextBuffer, %struct.ImVector.10, %struct.ImVector.41, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.tm = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, ptr }
%struct.ImVector.42 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPlotNextPlotData = type { [6 x i32], [6 x %struct.ImPlotRange], [6 x i8], [6 x i8], [6 x ptr], [6 x ptr] }
%struct.ImPlotNextItemData = type { [5 x %struct.ImVec4], float, i32, float, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i32 }
%struct.ImPlotInputMap = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, float }
%struct.ImPool.43 = type { %struct.ImVector.44, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.44 = type { i32, i32, ptr }

@GImPlot = external dso_local global ptr, align 8

; 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: 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: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN6ImPlotL17GetStyleColorVec4Ei(i32 noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot16UpdateAxisColorsER10ImPlotAxis(ptr noundef nonnull align 8 dereferenceable(372) %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec4, align 4
  %4 = alloca %struct.ImVec4, align 4
  %5 = alloca %struct.ImVec4, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %6 = call { <2 x float>, <2 x float> } @_ZN6ImPlotL17GetStyleColorVec4Ei(i32 noundef 14)
  %7 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %3, i32 0, i32 0
  %8 = extractvalue { <2 x float>, <2 x float> } %6, 0
  store <2 x float> %8, ptr %7, align 4
  %9 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %3, i32 0, i32 1
  %10 = extractvalue { <2 x float>, <2 x float> } %6, 1
  store <2 x float> %10, ptr %9, align 4
  %11 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImPlotAxis, ptr %12, i32 0, i32 34
  store i32 %11, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %14 = load ptr, ptr @GImPlot, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.ImPlotContext, ptr %14, i32 0, i32 12
  %16 = getelementptr inbounds %struct.ImPlotStyle, ptr %15, i32 0, i32 10
  %17 = load float, ptr %16, align 4, !tbaa !24
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %17)
  %18 = call { <2 x float>, <2 x float> } @_ZmlRK6ImVec4S1_(ptr noundef nonnull align 4 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(16) %5)
  %19 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %4, i32 0, i32 0
  %20 = extractvalue { <2 x float>, <2 x float> } %18, 0
  store <2 x float> %20, ptr %19, align 4
  %21 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %4, i32 0, i32 1
  %22 = extractvalue { <2 x float>, <2 x float> } %18, 1
  store <2 x float> %22, ptr %21, align 4
  %23 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %4)
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImPlotAxis, ptr %24, i32 0, i32 35
  store i32 %23, ptr %25, align 8, !tbaa !50
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  %26 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 15)
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImPlotAxis, ptr %27, i32 0, i32 36
  store i32 %26, ptr %28, align 4, !tbaa !51
  %29 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 13)
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImPlotAxis, ptr %30, i32 0, i32 37
  store i32 %29, ptr %31, align 8, !tbaa !52
  %32 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 16)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImPlotAxis, ptr %33, i32 0, i32 38
  store i32 %32, ptr %34, align 4, !tbaa !53
  %35 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 17)
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImPlotAxis, ptr %36, i32 0, i32 39
  store i32 %35, ptr %37, align 8, !tbaa !54
  %38 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 18)
  %39 = load ptr, ptr %2, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ImPlotAxis, ptr %39, i32 0, i32 40
  store i32 %38, ptr %40, align 4, !tbaa !55
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  ret void
}

declare noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) #5

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 = { 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 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 = { 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 #5 = { "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 #6 = { 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, !11, i64 332}
!10 = !{!"_ZTS10ImPlotAxis", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !11, i64 32, !11, i64 36, !12, i64 40, !6, i64 56, !12, i64 64, !12, i64 80, !14, i64 96, !6, i64 152, !6, i64 160, !7, i64 168, !6, i64 184, !6, i64 192, !6, i64 200, !11, i64 208, !20, i64 216, !20, i64 232, !6, i64 248, !6, i64 256, !6, i64 264, !19, i64 272, !19, i64 276, !13, i64 280, !13, i64 288, !13, i64 296, !19, i64 304, !19, i64 308, !22, i64 312, !11, i64 328, !11, i64 332, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !23, i64 364, !23, i64 365, !23, i64 366, !23, i64 367, !23, i64 368, !23, i64 369, !23, i64 370, !23, i64 371}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS11ImPlotRange", !13, i64 0, !13, i64 8}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS12ImPlotTicker", !15, i64 0, !16, i64 16, !18, i64 32, !18, i64 40, !11, i64 48}
!15 = !{!"_ZTS8ImVectorI10ImPlotTickE", !11, i64 0, !11, i64 4, !6, i64 8}
!16 = !{!"_ZTS15ImGuiTextBuffer", !17, i64 0}
!17 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!18 = !{!"_ZTS6ImVec2", !19, i64 0, !19, i64 4}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTS10ImPlotTime", !21, i64 0, !11, i64 8}
!21 = !{!"long", !7, i64 0}
!22 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!23 = !{!"bool", !7, i64 0}
!24 = !{!25, !19, i64 300}
!25 = !{!"_ZTS13ImPlotContext", !26, i64 0, !30, i64 40, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !14, i64 120, !32, i64 176, !34, i64 216, !23, i64 256, !36, i64 260, !37, i64 776, !38, i64 792, !39, i64 808, !41, i64 976, !43, i64 992, !44, i64 1048, !44, i64 1064, !41, i64 1080, !11, i64 1096, !11, i64 1100, !45, i64 1104, !46, i64 1336, !47, i64 1464, !23, i64 1512, !16, i64 1520, !6, i64 1536, !48, i64 1544, !6, i64 1584, !6, i64 1592}
!26 = !{!"_ZTS6ImPoolI10ImPlotPlotE", !27, i64 0, !28, i64 16, !11, i64 32, !11, i64 36}
!27 = !{!"_ZTS8ImVectorI10ImPlotPlotE", !11, i64 0, !11, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!30 = !{!"_ZTS6ImPoolI13ImPlotSubplotE", !31, i64 0, !28, i64 16, !11, i64 32, !11, i64 36}
!31 = !{!"_ZTS8ImVectorI13ImPlotSubplotE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS26ImPlotAnnotationCollection", !33, i64 0, !16, i64 16, !11, i64 32}
!33 = !{!"_ZTS8ImVectorI16ImPlotAnnotationE", !11, i64 0, !11, i64 4, !6, i64 8}
!34 = !{!"_ZTS19ImPlotTagCollection", !35, i64 0, !16, i64 16, !11, i64 32}
!35 = !{!"_ZTS8ImVectorI9ImPlotTagE", !11, i64 0, !11, i64 4, !6, i64 8}
!36 = !{!"_ZTS11ImPlotStyle", !19, i64 0, !11, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !18, i64 44, !18, i64 52, !18, i64 60, !18, i64 68, !18, i64 76, !18, i64 84, !18, i64 92, !18, i64 100, !18, i64 108, !18, i64 116, !18, i64 124, !18, i64 132, !18, i64 140, !18, i64 148, !18, i64 156, !18, i64 164, !7, i64 172, !11, i64 508, !23, i64 512, !23, i64 513, !23, i64 514}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !11, i64 0, !11, i64 4, !6, i64 8}
!39 = !{!"_ZTS18ImPlotColormapData", !40, i64 0, !41, i64 16, !41, i64 32, !40, i64 48, !41, i64 64, !41, i64 80, !16, i64 96, !41, i64 112, !42, i64 128, !28, i64 144, !11, i64 160}
!40 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIbE", !11, i64 0, !11, i64 4, !6, i64 8}
!43 = !{!"_ZTS2tm", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !21, i64 40, !6, i64 48}
!44 = !{!"_ZTS8ImVectorIdE", !11, i64 0, !11, i64 4, !6, i64 8}
!45 = !{!"_ZTS18ImPlotNextPlotData", !7, i64 0, !7, i64 24, !7, i64 120, !7, i64 126, !7, i64 136, !7, i64 184}
!46 = !{!"_ZTS18ImPlotNextItemData", !7, i64 0, !19, i64 80, !11, i64 84, !19, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !23, i64 116, !23, i64 117, !23, i64 118, !23, i64 119, !23, i64 120, !23, i64 121, !11, i64 124}
!47 = !{!"_ZTS14ImPlotInputMap", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !19, i64 44}
!48 = !{!"_ZTS6ImPoolI19ImPlotAlignmentDataE", !49, i64 0, !28, i64 16, !11, i64 32, !11, i64 36}
!49 = !{!"_ZTS8ImVectorI19ImPlotAlignmentDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!50 = !{!10, !11, i64 336}
!51 = !{!10, !11, i64 340}
!52 = !{!10, !11, i64 344}
!53 = !{!10, !11, i64 348}
!54 = !{!10, !11, i64 352}
!55 = !{!10, !11, i64 356}


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

@GImPlot = external dso_local local_unnamed_addr global ptr, align 8

; 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 @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN6ImPlotL17GetStyleColorVec4Ei(i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZmlRK6ImVec4S1_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ImPlot16UpdateAxisColorsER10ImPlotAxis(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(372) %0) local_unnamed_addr #4 {
  %2 = alloca %struct.ImVec4, align 8
  %3 = alloca %struct.ImVec4, align 8
  %4 = alloca %struct.ImVec4, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %5 = tail call { <2 x float>, <2 x float> } @_ZN6ImPlotL17GetStyleColorVec4Ei(i32 noundef 14)
  %6 = extractvalue { <2 x float>, <2 x float> } %5, 0
  store <2 x float> %6, ptr %2, align 8
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = extractvalue { <2 x float>, <2 x float> } %5, 1
  store <2 x float> %8, ptr %7, align 8
  %9 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %2)
  %10 = getelementptr inbounds i8, ptr %0, i64 332
  store i32 %9, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %11 = load ptr, ptr @GImPlot, align 8, !tbaa !23
  %12 = getelementptr inbounds i8, ptr %11, i64 300
  %13 = load float, ptr %12, align 4, !tbaa !24
  call void @_ZN6ImVec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %13)
  %14 = call { <2 x float>, <2 x float> } @_ZmlRK6ImVec4S1_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %4)
  %15 = extractvalue { <2 x float>, <2 x float> } %14, 0
  store <2 x float> %15, ptr %3, align 8
  %16 = getelementptr inbounds i8, ptr %3, i64 8
  %17 = extractvalue { <2 x float>, <2 x float> } %14, 1
  store <2 x float> %17, ptr %16, align 8
  %18 = call noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %3)
  %19 = getelementptr inbounds i8, ptr %0, i64 336
  store i32 %18, ptr %19, align 8, !tbaa !50
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %20 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 15)
  %21 = getelementptr inbounds i8, ptr %0, i64 340
  store i32 %20, ptr %21, align 4, !tbaa !51
  %22 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 13)
  %23 = getelementptr inbounds i8, ptr %0, i64 344
  store i32 %22, ptr %23, align 8, !tbaa !52
  %24 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 16)
  %25 = getelementptr inbounds i8, ptr %0, i64 348
  store i32 %24, ptr %25, align 4, !tbaa !53
  %26 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 17)
  %27 = getelementptr inbounds i8, ptr %0, i64 352
  store i32 %26, ptr %27, align 8, !tbaa !54
  %28 = call noundef i32 @_ZN6ImPlotL16GetStyleColorU32Ei(i32 noundef 18)
  %29 = getelementptr inbounds i8, ptr %0, i64 356
  store i32 %28, ptr %29, align 4, !tbaa !55
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  ret void
}

declare noundef i32 @_ZN5ImGui11GetColorU32ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

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 = { 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 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 = { 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 #5 = { "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 #6 = { 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 332}
!6 = !{!"_ZTS10ImPlotAxis", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 32, !7, i64 36, !10, i64 40, !12, i64 56, !10, i64 64, !10, i64 80, !13, i64 96, !12, i64 152, !12, i64 160, !8, i64 168, !12, i64 184, !12, i64 192, !12, i64 200, !7, i64 208, !19, i64 216, !19, i64 232, !12, i64 248, !12, i64 256, !12, i64 264, !18, i64 272, !18, i64 276, !11, i64 280, !11, i64 288, !11, i64 296, !18, i64 304, !18, i64 308, !21, i64 312, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !22, i64 364, !22, i64 365, !22, i64 366, !22, i64 367, !22, i64 368, !22, i64 369, !22, i64 370, !22, i64 371}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS11ImPlotRange", !11, i64 0, !11, i64 8}
!11 = !{!"double", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"_ZTS12ImPlotTicker", !14, i64 0, !15, i64 16, !17, i64 32, !17, i64 40, !7, i64 48}
!14 = !{!"_ZTS8ImVectorI10ImPlotTickE", !7, i64 0, !7, i64 4, !12, i64 8}
!15 = !{!"_ZTS15ImGuiTextBuffer", !16, i64 0}
!16 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !12, i64 8}
!17 = !{!"_ZTS6ImVec2", !18, i64 0, !18, i64 4}
!18 = !{!"float", !8, i64 0}
!19 = !{!"_ZTS10ImPlotTime", !20, i64 0, !7, i64 8}
!20 = !{!"long", !8, i64 0}
!21 = !{!"_ZTS6ImRect", !17, i64 0, !17, i64 8}
!22 = !{!"bool", !8, i64 0}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !18, i64 300}
!25 = !{!"_ZTS13ImPlotContext", !26, i64 0, !30, i64 40, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !13, i64 120, !32, i64 176, !34, i64 216, !22, i64 256, !36, i64 260, !37, i64 776, !38, i64 792, !39, i64 808, !41, i64 976, !43, i64 992, !44, i64 1048, !44, i64 1064, !41, i64 1080, !7, i64 1096, !7, i64 1100, !45, i64 1104, !46, i64 1336, !47, i64 1464, !22, i64 1512, !15, i64 1520, !12, i64 1536, !48, i64 1544, !12, i64 1584, !12, i64 1592}
!26 = !{!"_ZTS6ImPoolI10ImPlotPlotE", !27, i64 0, !28, i64 16, !7, i64 32, !7, i64 36}
!27 = !{!"_ZTS8ImVectorI10ImPlotPlotE", !7, i64 0, !7, i64 4, !12, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !12, i64 8}
!30 = !{!"_ZTS6ImPoolI13ImPlotSubplotE", !31, i64 0, !28, i64 16, !7, i64 32, !7, i64 36}
!31 = !{!"_ZTS8ImVectorI13ImPlotSubplotE", !7, i64 0, !7, i64 4, !12, i64 8}
!32 = !{!"_ZTS26ImPlotAnnotationCollection", !33, i64 0, !15, i64 16, !7, i64 32}
!33 = !{!"_ZTS8ImVectorI16ImPlotAnnotationE", !7, i64 0, !7, i64 4, !12, i64 8}
!34 = !{!"_ZTS19ImPlotTagCollection", !35, i64 0, !15, i64 16, !7, i64 32}
!35 = !{!"_ZTS8ImVectorI9ImPlotTagE", !7, i64 0, !7, i64 4, !12, i64 8}
!36 = !{!"_ZTS11ImPlotStyle", !18, i64 0, !7, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !17, i64 44, !17, i64 52, !17, i64 60, !17, i64 68, !17, i64 76, !17, i64 84, !17, i64 92, !17, i64 100, !17, i64 108, !17, i64 116, !17, i64 124, !17, i64 132, !17, i64 140, !17, i64 148, !17, i64 156, !17, i64 164, !8, i64 172, !7, i64 508, !22, i64 512, !22, i64 513, !22, i64 514}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !7, i64 0, !7, i64 4, !12, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !7, i64 0, !7, i64 4, !12, i64 8}
!39 = !{!"_ZTS18ImPlotColormapData", !40, i64 0, !41, i64 16, !41, i64 32, !40, i64 48, !41, i64 64, !41, i64 80, !15, i64 96, !41, i64 112, !42, i64 128, !28, i64 144, !7, i64 160}
!40 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !12, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !7, i64 0, !7, i64 4, !12, i64 8}
!42 = !{!"_ZTS8ImVectorIbE", !7, i64 0, !7, i64 4, !12, i64 8}
!43 = !{!"_ZTS2tm", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !20, i64 40, !12, i64 48}
!44 = !{!"_ZTS8ImVectorIdE", !7, i64 0, !7, i64 4, !12, i64 8}
!45 = !{!"_ZTS18ImPlotNextPlotData", !8, i64 0, !8, i64 24, !8, i64 120, !8, i64 126, !8, i64 136, !8, i64 184}
!46 = !{!"_ZTS18ImPlotNextItemData", !8, i64 0, !18, i64 80, !7, i64 84, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !22, i64 116, !22, i64 117, !22, i64 118, !22, i64 119, !22, i64 120, !22, i64 121, !7, i64 124}
!47 = !{!"_ZTS14ImPlotInputMap", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !18, i64 44}
!48 = !{!"_ZTS6ImPoolI19ImPlotAlignmentDataE", !49, i64 0, !28, i64 16, !7, i64 32, !7, i64 36}
!49 = !{!"_ZTS8ImVectorI19ImPlotAlignmentDataE", !7, i64 0, !7, i64 4, !12, i64 8}
!50 = !{!6, !7, i64 336}
!51 = !{!6, !7, i64 340}
!52 = !{!6, !7, i64 344}
!53 = !{!6, !7, i64 348}
!54 = !{!6, !7, i64 352}
!55 = !{!6, !7, i64 356}


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