; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui (imgui)

; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImDrawList = type <{ %struct.ImVector.12, %struct.ImVector, %struct.ImVector.13, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.17 }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.324 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb = external hidden unnamed_addr constant [117 x i8], align 1

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3, i1 noundef zeroext %4) #8 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %struct.ImRect, align 4
  %15 = alloca %struct.ImRect, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [3 x %struct.ImVec2], align 16
  %20 = alloca i32, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  %25 = zext i1 %3 to i8
  store i8 %25, ptr %9, align 1, !tbaa !9
  %26 = zext i1 %4 to i8
  store i8 %26, ptr %10, align 1, !tbaa !9
  %27 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %28 = trunc i8 %27 to i1
  br i1 %28, label %32, label %29

29:                                               ; preds = %5
  %30 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %31 = trunc i8 %30 to i1
  br label %32

32:                                               ; preds = %29, %5
  %33 = phi i1 [ true, %5 ], [ %31, %29 ]
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  br label %37

35:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.324, ptr noundef @.str.3, i32 noundef 10981, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb) #9
  unreachable

36:                                               ; No predecessors!
  br label %37

37:                                               ; preds = %36, %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef %38)
  store ptr %39, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.ImDrawList, ptr %40, i32 0, i32 1
  %42 = getelementptr inbounds %struct.ImVector, ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 8, !tbaa !13
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %45, label %50

45:                                               ; preds = %37
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ImDrawList, ptr %46, i32 0, i32 1
  %48 = getelementptr inbounds %struct.ImVector, ptr %47, i32 0, i32 2
  %49 = load ptr, ptr %48, align 8, !tbaa !27
  br label %51

50:                                               ; preds = %37
  br label %51

51:                                               ; preds = %50, %45
  %52 = phi ptr [ %49, %45 ], [ null, %50 ]
  store ptr %52, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImDrawList, ptr %53, i32 0, i32 2
  %55 = getelementptr inbounds %struct.ImVector.13, ptr %54, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !28
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImDrawCmd, ptr %57, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !29
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds %struct.ImDrawVert, ptr %56, i64 %60
  store ptr %61, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #10
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImDrawCmd, ptr %62, i32 0, i32 0
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(16) %63)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #10
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImDrawList, ptr %64, i32 0, i32 3
  %66 = load i32, ptr %65, align 8, !tbaa !31
  store i32 %66, ptr %16, align 4, !tbaa !32
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImDrawList, ptr %67, i32 0, i32 3
  %69 = load i32, ptr %68, align 8, !tbaa !31
  %70 = and i32 %69, -2
  store i32 %70, ptr %68, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImDrawCmd, ptr %71, i32 0, i32 3
  %73 = load i32, ptr %72, align 4, !tbaa !33
  store i32 %73, ptr %17, align 4, !tbaa !32
  br label %74

74:                                               ; preds = %129, %51
  %75 = load i32, ptr %17, align 4, !tbaa !32
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImDrawCmd, ptr %76, i32 0, i32 3
  %78 = load i32, ptr %77, align 4, !tbaa !33
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImDrawCmd, ptr %79, i32 0, i32 4
  %81 = load i32, ptr %80, align 8, !tbaa !34
  %82 = add i32 %78, %81
  %83 = icmp ult i32 %75, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %74
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  br label %130

85:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #10
  %86 = getelementptr inbounds [3 x %struct.ImVec2], ptr %19, i32 0, i32 0
  %87 = getelementptr inbounds %struct.ImVec2, ptr %86, i64 3
  br label %88

88:                                               ; preds = %88, %85
  %89 = phi ptr [ %86, %85 ], [ %90, %88 ]
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %89)
  %90 = getelementptr inbounds %struct.ImVec2, ptr %89, i64 1
  %91 = icmp eq ptr %90, %87
  br i1 %91, label %92, label %88

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 0, ptr %20, align 4, !tbaa !32
  br label %93

93:                                               ; preds = %118, %92
  %94 = load i32, ptr %20, align 4, !tbaa !32
  %95 = icmp slt i32 %94, 3
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 4, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %123

97:                                               ; preds = %93
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = icmp ne ptr %99, null
  br i1 %100, label %101, label %108

101:                                              ; preds = %97
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = load i32, ptr %17, align 4, !tbaa !32
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds i16, ptr %102, i64 %104
  %106 = load i16, ptr %105, align 2, !tbaa !35
  %107 = zext i16 %106 to i32
  br label %110

108:                                              ; preds = %97
  %109 = load i32, ptr %17, align 4, !tbaa !32
  br label %110

110:                                              ; preds = %108, %101
  %111 = phi i32 [ %107, %101 ], [ %109, %108 ]
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds %struct.ImDrawVert, ptr %98, i64 %112
  %114 = getelementptr inbounds %struct.ImDrawVert, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %20, align 4, !tbaa !32
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [3 x %struct.ImVec2], ptr %19, i64 0, i64 %116
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %117, ptr align 4 %114, i64 8, i1 false), !tbaa.struct !37
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %15, ptr noundef nonnull align 4 dereferenceable(8) %117)
  br label %118

118:                                              ; preds = %110
  %119 = load i32, ptr %20, align 4, !tbaa !32
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %20, align 4, !tbaa !32
  %121 = load i32, ptr %17, align 4, !tbaa !32
  %122 = add i32 %121, 1
  store i32 %122, ptr %17, align 4, !tbaa !32
  br label %93, !llvm.loop !39

123:                                              ; preds = %96
  %124 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %125 = trunc i8 %124 to i1
  br i1 %125, label %126, label %129

126:                                              ; preds = %123
  %127 = load ptr, ptr %11, align 8, !tbaa !5
  %128 = getelementptr inbounds [3 x %struct.ImVec2], ptr %19, i64 0, i64 0
  call void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijbf(ptr noundef nonnull align 8 dereferenceable(196) %127, ptr noundef %128, i32 noundef 3, i32 noundef -16711681, i1 noundef zeroext true, float noundef 1.000000e+00)
  br label %129

129:                                              ; preds = %126, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #10
  br label %74, !llvm.loop !41

130:                                              ; preds = %84
  %131 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %132 = trunc i8 %131 to i1
  br i1 %132, label %133, label %144

133:                                              ; preds = %130
  %134 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #10
  %135 = getelementptr inbounds %struct.ImRect, ptr %14, i32 0, i32 0
  %136 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %135)
  store <2 x float> %136, ptr %21, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  %137 = getelementptr inbounds %struct.ImRect, ptr %14, i32 0, i32 1
  %138 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %137)
  store <2 x float> %138, ptr %22, align 4
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %134, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef -65281, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #10
  %139 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %140 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 0
  %141 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %140)
  store <2 x float> %141, ptr %23, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %142 = getelementptr inbounds %struct.ImRect, ptr %15, i32 0, i32 1
  %143 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %142)
  store <2 x float> %143, ptr %24, align 4
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %139, ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef -256, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %144

144:                                              ; preds = %133, %130
  %145 = load i32, ptr %16, align 4, !tbaa !32
  %146 = load ptr, ptr %11, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImDrawList, ptr %146, i32 0, i32 3
  store i32 %145, ptr %147, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  ret void
}

declare void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijbf(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, float noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn nounwind "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 = { 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 #7 = { 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 #8 = { 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 #9 = { noreturn nounwind }
attributes #10 = { 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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !16, i64 16}
!14 = !{!"_ZTS10ImDrawList", !15, i64 0, !17, i64 16, !18, i64 32, !16, i64 48, !16, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !19, i64 88, !20, i64 104, !21, i64 120, !22, i64 136, !25, i64 168, !24, i64 192}
!15 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !16, i64 0, !16, i64 4, !6, i64 8}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS8ImVectorItE", !16, i64 0, !16, i64 4, !6, i64 8}
!18 = !{!"_ZTS8ImVectorI10ImDrawVertE", !16, i64 0, !16, i64 4, !6, i64 8}
!19 = !{!"_ZTS8ImVectorI6ImVec4E", !16, i64 0, !16, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorIPvE", !16, i64 0, !16, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorI6ImVec2E", !16, i64 0, !16, i64 4, !6, i64 8}
!22 = !{!"_ZTS15ImDrawCmdHeader", !23, i64 0, !6, i64 16, !16, i64 24}
!23 = !{!"_ZTS6ImVec4", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12}
!24 = !{!"float", !7, i64 0}
!25 = !{!"_ZTS18ImDrawListSplitter", !16, i64 0, !16, i64 4, !26, i64 8}
!26 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !16, i64 0, !16, i64 4, !6, i64 8}
!27 = !{!14, !6, i64 24}
!28 = !{!14, !6, i64 40}
!29 = !{!30, !16, i64 24}
!30 = !{!"_ZTS9ImDrawCmd", !23, i64 0, !6, i64 16, !16, i64 24, !16, i64 28, !16, i64 32, !6, i64 40, !6, i64 48}
!31 = !{!14, !16, i64 48}
!32 = !{!16, !16, i64 0}
!33 = !{!30, !16, i64 28}
!34 = !{!30, !16, i64 32}
!35 = !{!36, !36, i64 0}
!36 = !{!"short", !7, i64 0}
!37 = !{i64 0, i64 4, !38, i64 4, i64 4, !38}
!38 = !{!24, !24, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}


; 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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.324 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb = external hidden unnamed_addr constant [117 x i8], align 1

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef, i32 noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, i1 noundef zeroext %3, i1 noundef zeroext %4) local_unnamed_addr #7 {
  %6 = alloca %struct.ImRect, align 4
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca [3 x %struct.ImVec2], align 16
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %struct.ImVec2, align 8
  %12 = alloca %struct.ImVec2, align 8
  %13 = or i1 %3, %4
  br i1 %13, label %15, label %14

14:                                               ; preds = %5
  tail call void @__assert_fail(ptr noundef nonnull @.str.324, ptr noundef nonnull @.str.3, i32 noundef 10981, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui38DebugNodeDrawCmdShowMeshAndBoundingBoxEP11ImGuiWindowPK10ImDrawListPK9ImDrawCmdbb) #8
  unreachable

15:                                               ; preds = %5
  %16 = tail call noundef ptr @_ZN5ImGui21GetForegroundDrawListEP11ImGuiWindow(ptr noundef %0)
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = load i32, ptr %17, align 8, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %20, label %24

20:                                               ; preds = %15
  %21 = getelementptr inbounds i8, ptr %1, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !22
  %23 = freeze ptr %22
  br label %24

24:                                               ; preds = %15, %20
  %.fr = phi ptr [ %23, %20 ], [ null, %15 ]
  %25 = getelementptr inbounds i8, ptr %1, i64 40
  %26 = load ptr, ptr %25, align 8, !tbaa !23
  %27 = getelementptr inbounds i8, ptr %2, i64 24
  %28 = load i32, ptr %27, align 8, !tbaa !24
  %29 = zext i32 %28 to i64
  %30 = getelementptr inbounds %struct.ImDrawVert, ptr %26, i64 %29
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #9
  call void @_ZN6ImRectC2ERK6ImVec4(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #9
  call void @_ZN6ImRectC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 0x47EFFFFFE0000000, float noundef 0x47EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000, float noundef 0xC7EFFFFFE0000000)
  %31 = getelementptr inbounds i8, ptr %16, i64 48
  %32 = load i32, ptr %31, align 8, !tbaa !26
  %33 = and i32 %32, -2
  store i32 %33, ptr %31, align 8, !tbaa !26
  %34 = getelementptr inbounds i8, ptr %2, i64 28
  %35 = load i32, ptr %34, align 4, !tbaa !27
  %36 = getelementptr inbounds i8, ptr %2, i64 32
  %37 = load i32, ptr %36, align 8, !tbaa !28
  %38 = add i32 %37, %35
  %39 = icmp ult i32 %35, %38
  br i1 %39, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %24
  %.not = icmp eq ptr %.fr, null
  %.ptr.us.us.1 = getelementptr inbounds i8, ptr %8, i64 8
  %.ptr.us.us.2 = getelementptr inbounds i8, ptr %8, i64 16
  br i1 %.not, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %3, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %.lr.ph.split.us.split.us
  %.02934.us.us = phi i32 [ %51, %.lr.ph.split.us.split.us ], [ %35, %.lr.ph.split.us ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %40 = zext i32 %.02934.us.us to i64
  %41 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %40
  %42 = load i64, ptr %41, align 4
  store i64 %42, ptr %8, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %43 = add nuw i32 %.02934.us.us, 1
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %44
  %46 = load i64, ptr %45, align 4
  store i64 %46, ptr %.ptr.us.us.1, align 8
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  %47 = add i32 %.02934.us.us, 2
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %48
  %50 = load i64, ptr %49, align 4
  store i64 %50, ptr %.ptr.us.us.2, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %51 = add i32 %.02934.us.us, 3
  call void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijbf(ptr noundef nonnull align 8 dereferenceable(196) %16, ptr noundef nonnull %8, i32 noundef 3, i32 noundef -16711681, i1 noundef zeroext true, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  %52 = load i32, ptr %34, align 4, !tbaa !27
  %53 = load i32, ptr %36, align 8, !tbaa !28
  %54 = add i32 %53, %52
  %55 = icmp ult i32 %51, %54
  br i1 %55, label %.lr.ph.split.us.split.us, label %._crit_edge, !llvm.loop !29

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %.lr.ph.split.us.split
  %.02934.us = phi i32 [ %67, %.lr.ph.split.us.split ], [ %35, %.lr.ph.split.us ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %56 = zext i32 %.02934.us to i64
  %57 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %56
  %58 = load i64, ptr %57, align 4
  store i64 %58, ptr %8, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %59 = add nuw i32 %.02934.us, 1
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %60
  %62 = load i64, ptr %61, align 4
  store i64 %62, ptr %.ptr.us.us.1, align 8
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  %63 = add i32 %.02934.us, 2
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %64
  %66 = load i64, ptr %65, align 4
  store i64 %66, ptr %.ptr.us.us.2, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %67 = add i32 %.02934.us, 3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  %68 = load i32, ptr %34, align 4, !tbaa !27
  %69 = load i32, ptr %36, align 8, !tbaa !28
  %70 = add i32 %69, %68
  %71 = icmp ult i32 %67, %70
  br i1 %71, label %.lr.ph.split.us.split, label %._crit_edge, !llvm.loop !29

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %3, label %.lr.ph.split.split.us, label %.lr.ph.split.split

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %.lr.ph.split.split.us
  %.02934.us35 = phi i32 [ %92, %.lr.ph.split.split.us ], [ %35, %.lr.ph.split ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %72 = zext i32 %.02934.us35 to i64
  %73 = getelementptr inbounds i16, ptr %.fr, i64 %72
  %74 = load i16, ptr %73, align 2, !tbaa !31
  %75 = zext i16 %74 to i64
  %76 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %75
  %77 = load i64, ptr %76, align 4
  store i64 %77, ptr %8, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %78 = add nuw i32 %.02934.us35, 1
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds i16, ptr %.fr, i64 %79
  %81 = load i16, ptr %80, align 2, !tbaa !31
  %82 = zext i16 %81 to i64
  %83 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %82
  %84 = load i64, ptr %83, align 4
  store i64 %84, ptr %.ptr.us.us.1, align 8
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  %85 = add i32 %.02934.us35, 2
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds i16, ptr %.fr, i64 %86
  %88 = load i16, ptr %87, align 2, !tbaa !31
  %89 = zext i16 %88 to i64
  %90 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %89
  %91 = load i64, ptr %90, align 4
  store i64 %91, ptr %.ptr.us.us.2, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %92 = add i32 %.02934.us35, 3
  call void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijbf(ptr noundef nonnull align 8 dereferenceable(196) %16, ptr noundef nonnull %8, i32 noundef 3, i32 noundef -16711681, i1 noundef zeroext true, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  %93 = load i32, ptr %34, align 4, !tbaa !27
  %94 = load i32, ptr %36, align 8, !tbaa !28
  %95 = add i32 %94, %93
  %96 = icmp ult i32 %92, %95
  br i1 %96, label %.lr.ph.split.split.us, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %.lr.ph.split.split, %.lr.ph.split.split.us, %.lr.ph.split.us.split, %.lr.ph.split.us.split.us, %24
  br i1 %4, label %122, label %129

.lr.ph.split.split:                               ; preds = %.lr.ph.split, %.lr.ph.split.split
  %.02934 = phi i32 [ %117, %.lr.ph.split.split ], [ %35, %.lr.ph.split ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #9
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  call void @_ZN6ImVec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %97 = zext i32 %.02934 to i64
  %98 = getelementptr inbounds i16, ptr %.fr, i64 %97
  %99 = load i16, ptr %98, align 2, !tbaa !31
  %100 = zext i16 %99 to i64
  %101 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %100
  %102 = load i64, ptr %101, align 4
  store i64 %102, ptr %8, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %8)
  %103 = add nuw i32 %.02934, 1
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds i16, ptr %.fr, i64 %104
  %106 = load i16, ptr %105, align 2, !tbaa !31
  %107 = zext i16 %106 to i64
  %108 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %107
  %109 = load i64, ptr %108, align 4
  store i64 %109, ptr %.ptr.us.us.1, align 8
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.1)
  %110 = add i32 %.02934, 2
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds i16, ptr %.fr, i64 %111
  %113 = load i16, ptr %112, align 2, !tbaa !31
  %114 = zext i16 %113 to i64
  %115 = getelementptr inbounds %struct.ImDrawVert, ptr %30, i64 %114
  %116 = load i64, ptr %115, align 4
  store i64 %116, ptr %.ptr.us.us.2, align 16
  call void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.us.us.2)
  %117 = add i32 %.02934, 3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #9
  %118 = load i32, ptr %34, align 4, !tbaa !27
  %119 = load i32, ptr %36, align 8, !tbaa !28
  %120 = add i32 %119, %118
  %121 = icmp ult i32 %117, %120
  br i1 %121, label %.lr.ph.split.split, label %._crit_edge, !llvm.loop !29

122:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %123 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %123, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  %124 = getelementptr inbounds i8, ptr %6, i64 8
  %125 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %124)
  store <2 x float> %125, ptr %10, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %16, ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef -65281, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %126 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %126, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %127 = getelementptr inbounds i8, ptr %7, i64 8
  %128 = call <2 x float> @_ZL7ImFloorRK6ImVec2(ptr noundef nonnull align 4 dereferenceable(8) %127)
  store <2 x float> %128, ptr %12, align 8
  call void @_ZN10ImDrawList7AddRectERK6ImVec2S2_jfif(ptr noundef nonnull align 8 dereferenceable(196) %16, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %12, i32 noundef -256, float noundef 0.000000e+00, i32 noundef 15, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %129

129:                                              ; preds = %122, %._crit_edge
  store i32 %32, ptr %31, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #9
  ret void
}

declare void @_ZN10ImDrawList11AddPolylineEPK6ImVec2ijbf(ptr noundef nonnull align 8 dereferenceable(196), ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImRect3AddERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { noreturn nounwind "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 = { "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 = { 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 #6 = { 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 #7 = { 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 #8 = { noreturn nounwind }
attributes #9 = { 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, !8, i64 16}
!6 = !{!"_ZTS10ImDrawList", !7, i64 0, !12, i64 16, !13, i64 32, !8, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !14, i64 88, !15, i64 104, !16, i64 120, !17, i64 136, !20, i64 168, !19, i64 192}
!7 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!13 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!14 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!15 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!16 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!17 = !{!"_ZTS15ImDrawCmdHeader", !18, i64 0, !11, i64 16, !8, i64 24}
!18 = !{!"_ZTS6ImVec4", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!19 = !{!"float", !9, i64 0}
!20 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !21, i64 8}
!21 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!22 = !{!6, !11, i64 24}
!23 = !{!6, !11, i64 40}
!24 = !{!25, !8, i64 24}
!25 = !{!"_ZTS9ImDrawCmd", !18, i64 0, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !11, i64 40, !11, i64 48}
!26 = !{!6, !8, i64 48}
!27 = !{!25, !8, i64 28}
!28 = !{!25, !8, i64 32}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!32, !32, i64 0}
!32 = !{!"short", !9, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass