; LLVM IR from lbowes/falcon-9-simulation :: 3rd_party/imgui/imgui_draw.ll (ZN10ImDrawList14UpdateClipRectEv)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList10AddDrawCmdEv(ptr noundef nonnull align 8 dereferenceable(168)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList14UpdateClipRectEv(ptr noundef nonnull align 8 dereferenceable(168) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec4, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  %8 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 10
  %9 = getelementptr inbounds %struct.ImVector.2, ptr %8, i32 0, i32 0
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = icmp ne i32 %10, 0
  br i1 %11, label %12, label %22

12:                                               ; preds = %1
  %13 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 10
  %14 = getelementptr inbounds %struct.ImVector.2, ptr %13, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !20
  %16 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 10
  %17 = getelementptr inbounds %struct.ImVector.2, ptr %16, i32 0, i32 0
  %18 = load i32, ptr %17, align 8, !tbaa !9
  %19 = sub nsw i32 %18, 1
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds %struct.ImVec4, ptr %15, i64 %20
  br label %26

22:                                               ; preds = %1
  %23 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 4
  %24 = load ptr, ptr %23, align 8, !tbaa !21
  %25 = getelementptr inbounds %struct.ImDrawListSharedData, ptr %24, i32 0, i32 5
  br label %26

26:                                               ; preds = %22, %12
  %27 = phi ptr [ %21, %12 ], [ %25, %22 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %27, i64 16, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %28 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 0
  %29 = getelementptr inbounds %struct.ImVector, ptr %28, i32 0, i32 2
  %30 = load ptr, ptr %29, align 8, !tbaa !25
  %31 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 0
  %32 = getelementptr inbounds %struct.ImVector, ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 8, !tbaa !26
  %34 = sub nsw i32 %33, 1
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds %struct.ImDrawCmd, ptr %30, i64 %35
  store ptr %36, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImDrawCmd, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 8, !tbaa !27
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %46

41:                                               ; preds = %26
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImDrawCmd, ptr %42, i32 0, i32 1
  %44 = call i32 @memcmp(ptr noundef %43, ptr noundef %3, i64 noundef 16) #6
  %45 = icmp ne i32 %44, 0
  br i1 %45, label %51, label %46

46:                                               ; preds = %41, %26
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImDrawCmd, ptr %47, i32 0, i32 5
  %49 = load ptr, ptr %48, align 8, !tbaa !30
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %52

51:                                               ; preds = %46, %41
  call void @_ZN10ImDrawList10AddDrawCmdEv(ptr noundef nonnull align 8 dereferenceable(168) %7)
  store i32 1, ptr %5, align 4
  br label %113

52:                                               ; preds = %46
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImDrawCmd, ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !27
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %110

57:                                               ; preds = %52
  %58 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 0
  %59 = getelementptr inbounds %struct.ImVector, ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 8, !tbaa !26
  %61 = icmp sgt i32 %60, 1
  br i1 %61, label %62, label %110

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImDrawCmd, ptr %63, i64 -1
  store ptr %64, ptr %6, align 8, !tbaa !5
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImDrawCmd, ptr %65, i32 0, i32 1
  %67 = call i32 @memcmp(ptr noundef %66, ptr noundef %3, i64 noundef 16) #6
  %68 = icmp eq i32 %67, 0
  br i1 %68, label %69, label %106

69:                                               ; preds = %62
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImDrawCmd, ptr %70, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !31
  %73 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 6
  %74 = load i32, ptr %73, align 8, !tbaa !32
  %75 = icmp eq i32 %72, %74
  br i1 %75, label %76, label %106

76:                                               ; preds = %69
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImDrawCmd, ptr %77, i32 0, i32 2
  %79 = load ptr, ptr %78, align 8, !tbaa !33
  %80 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 11
  %81 = getelementptr inbounds %struct.ImVector.3, ptr %80, i32 0, i32 0
  %82 = load i32, ptr %81, align 8, !tbaa !34
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %95

84:                                               ; preds = %76
  %85 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 11
  %86 = getelementptr inbounds %struct.ImVector.3, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !35
  %88 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 11
  %89 = getelementptr inbounds %struct.ImVector.3, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 8, !tbaa !34
  %91 = sub nsw i32 %90, 1
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds ptr, ptr %87, i64 %92
  %94 = load ptr, ptr %93, align 8, !tbaa !5
  br label %96

95:                                               ; preds = %76
  br label %96

96:                                               ; preds = %95, %84
  %97 = phi ptr [ %94, %84 ], [ null, %95 ]
  %98 = icmp eq ptr %79, %97
  br i1 %98, label %99, label %106

99:                                               ; preds = %96
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImDrawCmd, ptr %100, i32 0, i32 5
  %102 = load ptr, ptr %101, align 8, !tbaa !30
  %103 = icmp eq ptr %102, null
  br i1 %103, label %104, label %106

104:                                              ; preds = %99
  %105 = getelementptr inbounds %struct.ImDrawList, ptr %7, i32 0, i32 0
  call void @_ZN8ImVectorI9ImDrawCmdE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %105)
  store i32 1, ptr %5, align 4
  br label %107

106:                                              ; preds = %99, %96, %69, %62
  store i32 0, ptr %5, align 4
  br label %107

107:                                              ; preds = %106, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %108 = load i32, ptr %5, align 4
  switch i32 %108, label %113 [
    i32 0, label %109
  ]

109:                                              ; preds = %107
  br label %110

110:                                              ; preds = %109, %57, %52
  %111 = load ptr, ptr %4, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImDrawCmd, ptr %111, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %112, ptr align 4 %3, i64 16, i1 false), !tbaa.struct !22
  store i32 0, ptr %5, align 4
  br label %113

113:                                              ; preds = %110, %107, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  %114 = load i32, ptr %5, align 4
  switch i32 %114, label %116 [
    i32 0, label %115
    i32 1, label %115
  ]

115:                                              ; preds = %113, %113
  ret void

116:                                              ; preds = %113
  unreachable
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="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 = { nounwind willreturn memory(read) "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 }
attributes #6 = { nounwind willreturn memory(read) }

!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, !12, i64 96}
!10 = !{!"_ZTS10ImDrawList", !11, i64 0, !13, i64 16, !14, i64 32, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !12, i64 76, !6, i64 80, !6, i64 88, !15, i64 96, !16, i64 112, !17, i64 128, !18, i64 144}
!11 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!14 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!15 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!16 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!17 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!18 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !19, i64 8}
!19 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!20 = !{!10, !6, i64 104}
!21 = !{!10, !6, i64 56}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23, i64 8, i64 4, !23, i64 12, i64 4, !23}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !7, i64 0}
!25 = !{!10, !6, i64 8}
!26 = !{!10, !12, i64 0}
!27 = !{!28, !12, i64 0}
!28 = !{!"_ZTS9ImDrawCmd", !12, i64 0, !29, i64 4, !6, i64 24, !12, i64 32, !12, i64 36, !6, i64 40, !6, i64 48}
!29 = !{!"_ZTS6ImVec4", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12}
!30 = !{!28, !6, i64 40}
!31 = !{!28, !12, i64 32}
!32 = !{!10, !12, i64 72}
!33 = !{!28, !6, i64 24}
!34 = !{!10, !12, i64 112}
!35 = !{!10, !6, i64 120}


; 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.ImDrawCmd = type { i32, %struct.ImVec4, ptr, i32, i32, ptr, ptr }

; 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 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList10AddDrawCmdEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ImDrawList14UpdateClipRectEv(ptr noundef nonnull align 8 dereferenceable(168) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %struct.ImVec4, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %3 = getelementptr inbounds i8, ptr %0, i64 96
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %.not = icmp eq i32 %4, 0
  %5 = getelementptr inbounds i8, ptr %0, i64 104
  %6 = load ptr, ptr %5, align 8
  %7 = sext i32 %4 to i64
  %8 = getelementptr %struct.ImVec4, ptr %6, i64 %7
  %9 = getelementptr i8, ptr %8, i64 -16
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = load ptr, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr %11, i64 28
  %13 = select i1 %.not, ptr %12, ptr %9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !19
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %15 = load ptr, ptr %14, align 8, !tbaa !22
  %16 = load i32, ptr %0, align 8
  %17 = sext i32 %16 to i64
  %18 = getelementptr %struct.ImDrawCmd, ptr %15, i64 %17
  %19 = getelementptr i8, ptr %18, i64 -56
  %20 = load i32, ptr %19, align 8, !tbaa !23
  %.not13 = icmp eq i32 %20, 0
  br i1 %.not13, label %23, label %21

21:                                               ; preds = %1
  %22 = getelementptr i8, ptr %18, i64 -52
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %22, ptr noundef nonnull dereferenceable(16) %2, i64 16)
  %.not14 = icmp eq i32 %bcmp, 0
  br i1 %.not14, label %23, label %26

23:                                               ; preds = %21, %1
  %24 = getelementptr i8, ptr %18, i64 -16
  %25 = load ptr, ptr %24, align 8, !tbaa !26
  %.not15 = icmp eq ptr %25, null
  br i1 %.not15, label %27, label %26

26:                                               ; preds = %23, %21
  tail call void @_ZN10ImDrawList10AddDrawCmdEv(ptr noundef nonnull align 8 dereferenceable(168) %0)
  br label %59

27:                                               ; preds = %23
  %28 = icmp sgt i32 %16, 1
  %or.cond = and i1 %28, %.not13
  br i1 %or.cond, label %29, label %57

29:                                               ; preds = %27
  %30 = getelementptr i8, ptr %18, i64 -108
  %bcmp16 = call i32 @bcmp(ptr noundef nonnull dereferenceable(16) %30, ptr noundef nonnull dereferenceable(16) %2, i64 16)
  %31 = icmp eq i32 %bcmp16, 0
  br i1 %31, label %32, label %57

32:                                               ; preds = %29
  %33 = getelementptr i8, ptr %18, i64 -80
  %34 = load i32, ptr %33, align 8, !tbaa !27
  %35 = getelementptr inbounds i8, ptr %0, i64 72
  %36 = load i32, ptr %35, align 8, !tbaa !28
  %37 = icmp eq i32 %34, %36
  br i1 %37, label %38, label %57

38:                                               ; preds = %32
  %39 = getelementptr i8, ptr %18, i64 -88
  %40 = load ptr, ptr %39, align 8, !tbaa !29
  %41 = getelementptr inbounds i8, ptr %0, i64 112
  %42 = load i32, ptr %41, align 8, !tbaa !30
  %.not17 = icmp eq i32 %42, 0
  br i1 %.not17, label %50, label %43

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %0, i64 120
  %45 = load ptr, ptr %44, align 8, !tbaa !31
  %46 = sext i32 %42 to i64
  %47 = getelementptr ptr, ptr %45, i64 %46
  %48 = getelementptr i8, ptr %47, i64 -8
  %49 = load ptr, ptr %48, align 8, !tbaa !32
  br label %50

50:                                               ; preds = %38, %43
  %51 = phi ptr [ %49, %43 ], [ null, %38 ]
  %52 = icmp eq ptr %40, %51
  br i1 %52, label %53, label %57

53:                                               ; preds = %50
  %54 = getelementptr i8, ptr %18, i64 -72
  %55 = load ptr, ptr %54, align 8, !tbaa !26
  %56 = icmp eq ptr %55, null
  br i1 %56, label %.critedge, label %57

.critedge:                                        ; preds = %53
  tail call void @_ZN8ImVectorI9ImDrawCmdE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  br label %59

57:                                               ; preds = %53, %50, %32, %29, %27
  %58 = getelementptr i8, ptr %18, i64 -52
  tail call void @llvm.memmove.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %58, ptr noundef nonnull align 4 dereferenceable(16) %13, i64 16, i1 false)
  br label %59

59:                                               ; preds = %.critedge, %57, %26
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN8ImVectorI9ImDrawCmdE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nofree nounwind willreturn memory(argmem: read) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !8, i64 96}
!6 = !{!"_ZTS10ImDrawList", !7, i64 0, !12, i64 16, !13, i64 32, !8, i64 48, !11, i64 56, !11, i64 64, !8, i64 72, !8, i64 76, !11, i64 80, !11, i64 88, !14, i64 96, !15, i64 112, !16, i64 128, !17, i64 144}
!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 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !18, i64 8}
!18 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!19 = !{i64 0, i64 4, !20, i64 4, i64 4, !20, i64 8, i64 4, !20, i64 12, i64 4, !20}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !9, i64 0}
!22 = !{!6, !11, i64 8}
!23 = !{!24, !8, i64 0}
!24 = !{!"_ZTS9ImDrawCmd", !8, i64 0, !25, i64 4, !11, i64 24, !8, i64 32, !8, i64 36, !11, i64 40, !11, i64 48}
!25 = !{!"_ZTS6ImVec4", !21, i64 0, !21, i64 4, !21, i64 8, !21, i64 12}
!26 = !{!24, !11, i64 40}
!27 = !{!24, !8, i64 32}
!28 = !{!6, !8, i64 72}
!29 = !{!24, !11, i64 24}
!30 = !{!6, !8, i64 112}
!31 = !{!6, !11, i64 120}
!32 = !{!11, !11, i64 0}


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