; LLVM IR from yangfengzzz/DigitalVox4 :: editor/imgui_canvas.ll (ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv)

; 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.ImGuiEx::Canvas" = type <{ i8, [3 x i8], %struct.ImVec2, %struct.ImVec2, %struct.ImRect, [4 x i8], ptr, i32, i32, i32, %"struct.ImGuiEx::CanvasView", %struct.ImRect, %struct.ImVec2, i32, float, %struct.ImVec2, %struct.ImVec2, [5 x %struct.ImVec2], %struct.ImVec2, [4 x i8] }>
%"struct.ImGuiEx::CanvasView" = type { %struct.ImVec2, float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImDrawList = type <{ %struct.ImVector, %struct.ImVector.0, %struct.ImVector.1, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%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.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawVert = type { %struct.ImVec2, %struct.ImVec2, i32 }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }

@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv = external hidden unnamed_addr constant [40 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv(ptr noundef nonnull align 8 dereferenceable(172) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  %11 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %struct.ImDrawList, ptr %12, i32 0, i32 13
  %14 = getelementptr inbounds %struct.ImDrawListSplitter, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !17
  %16 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 7
  %17 = load i32, ptr %16, align 8, !tbaa !29
  %18 = icmp eq i32 %15, %17
  br i1 %18, label %19, label %20

19:                                               ; preds = %1
  br label %22

20:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 409, ptr noundef @__PRETTY_FUNCTION__._ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv) #8
  unreachable

21:                                               ; No predecessors!
  br label %22

22:                                               ; preds = %21, %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %23 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.ImDrawList, ptr %24, i32 0, i32 2
  %26 = getelementptr inbounds %struct.ImVector.1, ptr %25, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !30
  %28 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 9
  %29 = load i32, ptr %28, align 8, !tbaa !31
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds %struct.ImDrawVert, ptr %27, i64 %30
  store ptr %31, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %32 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImDrawList, ptr %33, i32 0, i32 2
  %35 = getelementptr inbounds %struct.ImVector.1, ptr %34, i32 0, i32 2
  %36 = load ptr, ptr %35, align 8, !tbaa !30
  %37 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds %struct.ImDrawList, ptr %38, i32 0, i32 4
  %40 = load i32, ptr %39, align 4, !tbaa !32
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds %struct.ImDrawVert, ptr %36, i64 %41
  %43 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZL14ImVtxOffsetRefP10ImDrawList(ptr noundef %44)
  %46 = load i32, ptr %45, align 4, !tbaa !33
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds %struct.ImDrawVert, ptr %42, i64 %47
  store ptr %48, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %50 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %49, i32 0, i32 1
  %51 = load float, ptr %50, align 4, !tbaa !34
  %52 = fcmp une float %51, 1.000000e+00
  br i1 %52, label %53, label %166

53:                                               ; preds = %22
  br label %54

54:                                               ; preds = %58, %53
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = icmp ult ptr %55, %56
  br i1 %57, label %58, label %89

58:                                               ; preds = %54
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImDrawVert, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds %struct.ImVec2, ptr %60, i32 0, i32 0
  %62 = load float, ptr %61, align 4, !tbaa !35
  %63 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %64 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %63, i32 0, i32 1
  %65 = load float, ptr %64, align 4, !tbaa !34
  %66 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %67 = getelementptr inbounds %struct.ImVec2, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !37
  %69 = call float @llvm.fmuladd.f32(float %62, float %65, float %68)
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImDrawVert, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.ImVec2, ptr %71, i32 0, i32 0
  store float %69, ptr %72, align 4, !tbaa !35
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImDrawVert, ptr %73, i32 0, i32 0
  %75 = getelementptr inbounds %struct.ImVec2, ptr %74, i32 0, i32 1
  %76 = load float, ptr %75, align 4, !tbaa !38
  %77 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %78 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %77, i32 0, i32 1
  %79 = load float, ptr %78, align 4, !tbaa !34
  %80 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %81 = getelementptr inbounds %struct.ImVec2, ptr %80, i32 0, i32 1
  %82 = load float, ptr %81, align 4, !tbaa !39
  %83 = call float @llvm.fmuladd.f32(float %76, float %79, float %82)
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImDrawVert, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %struct.ImVec2, ptr %85, i32 0, i32 1
  store float %83, ptr %86, align 4, !tbaa !38
  %87 = load ptr, ptr %3, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.ImDrawVert, ptr %87, i32 1
  store ptr %88, ptr %3, align 8, !tbaa !5
  br label %54, !llvm.loop !40

89:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  %90 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 8
  %91 = load i32, ptr %90, align 4, !tbaa !42
  store i32 %91, ptr %5, align 4, !tbaa !33
  br label %92

92:                                               ; preds = %162, %89
  %93 = load i32, ptr %5, align 4, !tbaa !33
  %94 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.ImDrawList, ptr %95, i32 0, i32 0
  %97 = call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %96)
  %98 = icmp slt i32 %93, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %165

100:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %101 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.ImDrawList, ptr %102, i32 0, i32 0
  %104 = load i32, ptr %5, align 4, !tbaa !33
  %105 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %103, i32 noundef %104)
  store ptr %105, ptr %6, align 8, !tbaa !5
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImDrawCmd, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %struct.ImVec4, ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 8, !tbaa !43
  %110 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %111 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %110, i32 0, i32 1
  %112 = load float, ptr %111, align 4, !tbaa !34
  %113 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %114 = getelementptr inbounds %struct.ImVec2, ptr %113, i32 0, i32 0
  %115 = load float, ptr %114, align 4, !tbaa !37
  %116 = call float @llvm.fmuladd.f32(float %109, float %112, float %115)
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.ImDrawCmd, ptr %117, i32 0, i32 0
  %119 = getelementptr inbounds %struct.ImVec4, ptr %118, i32 0, i32 0
  store float %116, ptr %119, align 8, !tbaa !43
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImDrawCmd, ptr %120, i32 0, i32 0
  %122 = getelementptr inbounds %struct.ImVec4, ptr %121, i32 0, i32 1
  %123 = load float, ptr %122, align 4, !tbaa !45
  %124 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %125 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %124, i32 0, i32 1
  %126 = load float, ptr %125, align 4, !tbaa !34
  %127 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %128 = getelementptr inbounds %struct.ImVec2, ptr %127, i32 0, i32 1
  %129 = load float, ptr %128, align 4, !tbaa !39
  %130 = call float @llvm.fmuladd.f32(float %123, float %126, float %129)
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImDrawCmd, ptr %131, i32 0, i32 0
  %133 = getelementptr inbounds %struct.ImVec4, ptr %132, i32 0, i32 1
  store float %130, ptr %133, align 4, !tbaa !45
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ImDrawCmd, ptr %134, i32 0, i32 0
  %136 = getelementptr inbounds %struct.ImVec4, ptr %135, i32 0, i32 2
  %137 = load float, ptr %136, align 8, !tbaa !46
  %138 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %139 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %138, i32 0, i32 1
  %140 = load float, ptr %139, align 4, !tbaa !34
  %141 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %142 = getelementptr inbounds %struct.ImVec2, ptr %141, i32 0, i32 0
  %143 = load float, ptr %142, align 4, !tbaa !37
  %144 = call float @llvm.fmuladd.f32(float %137, float %140, float %143)
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImDrawCmd, ptr %145, i32 0, i32 0
  %147 = getelementptr inbounds %struct.ImVec4, ptr %146, i32 0, i32 2
  store float %144, ptr %147, align 8, !tbaa !46
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImDrawCmd, ptr %148, i32 0, i32 0
  %150 = getelementptr inbounds %struct.ImVec4, ptr %149, i32 0, i32 3
  %151 = load float, ptr %150, align 4, !tbaa !47
  %152 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 10
  %153 = getelementptr inbounds %"struct.ImGuiEx::CanvasView", ptr %152, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !34
  %155 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %156 = getelementptr inbounds %struct.ImVec2, ptr %155, i32 0, i32 1
  %157 = load float, ptr %156, align 4, !tbaa !39
  %158 = call float @llvm.fmuladd.f32(float %151, float %154, float %157)
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImDrawCmd, ptr %159, i32 0, i32 0
  %161 = getelementptr inbounds %struct.ImVec4, ptr %160, i32 0, i32 3
  store float %158, ptr %161, align 4, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %162

162:                                              ; preds = %100
  %163 = load i32, ptr %5, align 4, !tbaa !33
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %5, align 4, !tbaa !33
  br label %92, !llvm.loop !48

165:                                              ; preds = %99
  br label %261

166:                                              ; preds = %22
  br label %167

167:                                              ; preds = %171, %166
  %168 = load ptr, ptr %3, align 8, !tbaa !5
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = icmp ult ptr %168, %169
  br i1 %170, label %171, label %196

171:                                              ; preds = %167
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImDrawVert, ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds %struct.ImVec2, ptr %173, i32 0, i32 0
  %175 = load float, ptr %174, align 4, !tbaa !35
  %176 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %177 = getelementptr inbounds %struct.ImVec2, ptr %176, i32 0, i32 0
  %178 = load float, ptr %177, align 4, !tbaa !37
  %179 = fadd float %175, %178
  %180 = load ptr, ptr %3, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.ImDrawVert, ptr %180, i32 0, i32 0
  %182 = getelementptr inbounds %struct.ImVec2, ptr %181, i32 0, i32 0
  store float %179, ptr %182, align 4, !tbaa !35
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImDrawVert, ptr %183, i32 0, i32 0
  %185 = getelementptr inbounds %struct.ImVec2, ptr %184, i32 0, i32 1
  %186 = load float, ptr %185, align 4, !tbaa !38
  %187 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %188 = getelementptr inbounds %struct.ImVec2, ptr %187, i32 0, i32 1
  %189 = load float, ptr %188, align 4, !tbaa !39
  %190 = fadd float %186, %189
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImDrawVert, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds %struct.ImVec2, ptr %192, i32 0, i32 1
  store float %190, ptr %193, align 4, !tbaa !38
  %194 = load ptr, ptr %3, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ImDrawVert, ptr %194, i32 1
  store ptr %195, ptr %3, align 8, !tbaa !5
  br label %167, !llvm.loop !49

196:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %197 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 8
  %198 = load i32, ptr %197, align 4, !tbaa !42
  store i32 %198, ptr %7, align 4, !tbaa !33
  br label %199

199:                                              ; preds = %257, %196
  %200 = load i32, ptr %7, align 4, !tbaa !33
  %201 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %202 = load ptr, ptr %201, align 8, !tbaa !9
  %203 = getelementptr inbounds %struct.ImDrawList, ptr %202, i32 0, i32 0
  %204 = call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %203)
  %205 = icmp slt i32 %200, %204
  br i1 %205, label %207, label %206

206:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %260

207:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %208 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %209 = load ptr, ptr %208, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.ImDrawList, ptr %209, i32 0, i32 0
  %211 = load i32, ptr %7, align 4, !tbaa !33
  %212 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %210, i32 noundef %211)
  store ptr %212, ptr %8, align 8, !tbaa !5
  %213 = load ptr, ptr %8, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImDrawCmd, ptr %213, i32 0, i32 0
  %215 = getelementptr inbounds %struct.ImVec4, ptr %214, i32 0, i32 0
  %216 = load float, ptr %215, align 8, !tbaa !43
  %217 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %218 = getelementptr inbounds %struct.ImVec2, ptr %217, i32 0, i32 0
  %219 = load float, ptr %218, align 4, !tbaa !37
  %220 = fadd float %216, %219
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImDrawCmd, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds %struct.ImVec4, ptr %222, i32 0, i32 0
  store float %220, ptr %223, align 8, !tbaa !43
  %224 = load ptr, ptr %8, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImDrawCmd, ptr %224, i32 0, i32 0
  %226 = getelementptr inbounds %struct.ImVec4, ptr %225, i32 0, i32 1
  %227 = load float, ptr %226, align 4, !tbaa !45
  %228 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %229 = getelementptr inbounds %struct.ImVec2, ptr %228, i32 0, i32 1
  %230 = load float, ptr %229, align 4, !tbaa !39
  %231 = fadd float %227, %230
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImDrawCmd, ptr %232, i32 0, i32 0
  %234 = getelementptr inbounds %struct.ImVec4, ptr %233, i32 0, i32 1
  store float %231, ptr %234, align 4, !tbaa !45
  %235 = load ptr, ptr %8, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ImDrawCmd, ptr %235, i32 0, i32 0
  %237 = getelementptr inbounds %struct.ImVec4, ptr %236, i32 0, i32 2
  %238 = load float, ptr %237, align 8, !tbaa !46
  %239 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %240 = getelementptr inbounds %struct.ImVec2, ptr %239, i32 0, i32 0
  %241 = load float, ptr %240, align 4, !tbaa !37
  %242 = fadd float %238, %241
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImDrawCmd, ptr %243, i32 0, i32 0
  %245 = getelementptr inbounds %struct.ImVec4, ptr %244, i32 0, i32 2
  store float %242, ptr %245, align 8, !tbaa !46
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImDrawCmd, ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds %struct.ImVec4, ptr %247, i32 0, i32 3
  %249 = load float, ptr %248, align 4, !tbaa !47
  %250 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 12
  %251 = getelementptr inbounds %struct.ImVec2, ptr %250, i32 0, i32 1
  %252 = load float, ptr %251, align 4, !tbaa !39
  %253 = fadd float %249, %252
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.ImDrawCmd, ptr %254, i32 0, i32 0
  %256 = getelementptr inbounds %struct.ImVec4, ptr %255, i32 0, i32 3
  store float %253, ptr %256, align 4, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %257

257:                                              ; preds = %207
  %258 = load i32, ptr %7, align 4, !tbaa !33
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %7, align 4, !tbaa !33
  br label %199, !llvm.loop !50

260:                                              ; preds = %206
  br label %261

261:                                              ; preds = %260, %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %262 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 6
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZL16ImFringeScaleRefP10ImDrawList(ptr noundef %263)
  store ptr %264, ptr %9, align 8, !tbaa !5
  %265 = getelementptr inbounds %"struct.ImGuiEx::Canvas", ptr %10, i32 0, i32 14
  %266 = load float, ptr %265, align 8, !tbaa !51
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  store float %266, ptr %267, align 4, !tbaa !52
  call void @_ZN5ImGui11PopClipRectEv()
  call void @_ZN7ImGuiEx6Canvas17RestoreInputStateEv(ptr noundef nonnull align 8 dereferenceable(172) %10)
  call void @_ZN7ImGuiEx6Canvas20RestoreViewportStateEv(ptr noundef nonnull align 8 dereferenceable(172) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

declare void @_ZN5ImGui11PopClipRectEv() #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZL14ImVtxOffsetRefP10ImDrawList(ptr noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZL16ImFringeScaleRefP10ImDrawList(ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #7 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = { "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 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 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 40}
!10 = !{!"_ZTSN7ImGuiEx6CanvasE", !11, i64 0, !12, i64 4, !12, i64 12, !14, i64 20, !6, i64 40, !15, i64 48, !15, i64 52, !15, i64 56, !16, i64 60, !14, i64 76, !12, i64 92, !15, i64 100, !13, i64 104, !12, i64 108, !12, i64 116, !7, i64 124, !12, i64 164}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTS6ImRect", !12, i64 0, !12, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !12, i64 0, !13, i64 8, !13, i64 12}
!17 = !{!18, !15, i64 168}
!18 = !{!"_ZTS10ImDrawList", !19, i64 0, !20, i64 16, !21, i64 32, !15, i64 48, !15, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !22, i64 88, !23, i64 104, !24, i64 120, !25, i64 136, !27, i64 168, !13, i64 192}
!19 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !15, i64 0, !15, i64 4, !6, i64 8}
!20 = !{!"_ZTS8ImVectorItE", !15, i64 0, !15, i64 4, !6, i64 8}
!21 = !{!"_ZTS8ImVectorI10ImDrawVertE", !15, i64 0, !15, i64 4, !6, i64 8}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !15, i64 0, !15, i64 4, !6, i64 8}
!23 = !{!"_ZTS8ImVectorIPvE", !15, i64 0, !15, i64 4, !6, i64 8}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !15, i64 0, !15, i64 4, !6, i64 8}
!25 = !{!"_ZTS15ImDrawCmdHeader", !26, i64 0, !6, i64 16, !15, i64 24}
!26 = !{!"_ZTS6ImVec4", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12}
!27 = !{!"_ZTS18ImDrawListSplitter", !15, i64 0, !15, i64 4, !28, i64 8}
!28 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !15, i64 0, !15, i64 4, !6, i64 8}
!29 = !{!10, !15, i64 48}
!30 = !{!18, !6, i64 40}
!31 = !{!10, !15, i64 56}
!32 = !{!18, !15, i64 52}
!33 = !{!15, !15, i64 0}
!34 = !{!10, !13, i64 68}
!35 = !{!36, !13, i64 0}
!36 = !{!"_ZTS10ImDrawVert", !12, i64 0, !12, i64 8, !15, i64 16}
!37 = !{!10, !13, i64 92}
!38 = !{!36, !13, i64 4}
!39 = !{!10, !13, i64 96}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!10, !15, i64 52}
!43 = !{!44, !13, i64 0}
!44 = !{!"_ZTS9ImDrawCmd", !26, i64 0, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !6, i64 40, !6, i64 48}
!45 = !{!44, !13, i64 4}
!46 = !{!44, !13, i64 8}
!47 = !{!44, !13, i64 12}
!48 = distinct !{!48, !41}
!49 = distinct !{!49, !41}
!50 = distinct !{!50, !41}
!51 = !{!10, !13, i64 104}
!52 = !{!13, !13, i64 0}


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

@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@__PRETTY_FUNCTION__._ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv = external hidden unnamed_addr constant [40 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv(ptr noundef nonnull align 8 dereferenceable(172) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 40
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 168
  %5 = load i32, ptr %4, align 8, !tbaa !16
  %6 = getelementptr inbounds i8, ptr %0, i64 48
  %7 = load i32, ptr %6, align 8, !tbaa !28
  %8 = icmp eq i32 %5, %7
  br i1 %8, label %10, label %9

9:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 409, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7ImGuiEx6Canvas15LeaveLocalSpaceEv) #7
  unreachable

10:                                               ; preds = %1
  %11 = getelementptr inbounds i8, ptr %3, i64 40
  %12 = load ptr, ptr %11, align 8, !tbaa !29
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  %14 = load i32, ptr %13, align 8, !tbaa !30
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds %struct.ImDrawVert, ptr %12, i64 %15
  %17 = getelementptr inbounds i8, ptr %3, i64 52
  %18 = load i32, ptr %17, align 4, !tbaa !31
  %19 = zext i32 %18 to i64
  %20 = getelementptr inbounds %struct.ImDrawVert, ptr %12, i64 %19
  %21 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZL14ImVtxOffsetRefP10ImDrawList(ptr noundef nonnull %3)
  %22 = load i32, ptr %21, align 4, !tbaa !32
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds %struct.ImDrawVert, ptr %20, i64 %23
  %25 = getelementptr inbounds i8, ptr %0, i64 68
  %26 = load float, ptr %25, align 4, !tbaa !33
  %27 = fcmp une float %26, 1.000000e+00
  %28 = icmp ult ptr %16, %24
  br i1 %27, label %.preheader, label %.preheader40

.preheader40:                                     ; preds = %10
  br i1 %28, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader40
  %29 = getelementptr inbounds i8, ptr %0, i64 92
  %30 = load <2 x float>, ptr %29, align 4, !tbaa !34
  br label %59

.preheader:                                       ; preds = %10
  br i1 %28, label %.lr.ph46, label %._crit_edge47

.lr.ph46:                                         ; preds = %.preheader
  %31 = getelementptr inbounds i8, ptr %0, i64 92
  %32 = load <2 x float>, ptr %31, align 4, !tbaa !34
  %33 = insertelement <2 x float> poison, float %26, i64 0
  %34 = shufflevector <2 x float> %33, <2 x float> poison, <2 x i32> zeroinitializer
  br label %35

35:                                               ; preds = %.lr.ph46, %35
  %.045 = phi ptr [ %16, %.lr.ph46 ], [ %38, %35 ]
  %36 = load <2 x float>, ptr %.045, align 4, !tbaa !34
  %37 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %36, <2 x float> %34, <2 x float> %32)
  store <2 x float> %37, ptr %.045, align 4, !tbaa !34
  %38 = getelementptr inbounds i8, ptr %.045, i64 20
  %39 = icmp ult ptr %38, %24
  br i1 %39, label %35, label %._crit_edge47, !llvm.loop !35

._crit_edge47:                                    ; preds = %35, %.preheader
  %40 = getelementptr inbounds i8, ptr %0, i64 52
  %41 = load i32, ptr %40, align 4, !tbaa !37
  %42 = load ptr, ptr %2, align 8, !tbaa !5
  %43 = tail call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %42)
  %44 = icmp slt i32 %41, %43
  br i1 %44, label %.lr.ph50, label %.loopexit

.lr.ph50:                                         ; preds = %._crit_edge47
  %45 = getelementptr inbounds i8, ptr %0, i64 92
  br label %46

46:                                               ; preds = %.lr.ph50, %46
  %.03748 = phi i32 [ %41, %.lr.ph50 ], [ %55, %46 ]
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %47, i32 noundef %.03748)
  %49 = load <4 x float>, ptr %25, align 4
  %50 = load <2 x float>, ptr %45, align 4, !tbaa !34
  %51 = shufflevector <2 x float> %50, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %52 = load <4 x float>, ptr %48, align 8, !tbaa !34
  %53 = shufflevector <4 x float> %49, <4 x float> poison, <4 x i32> zeroinitializer
  %54 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %52, <4 x float> %53, <4 x float> %51)
  store <4 x float> %54, ptr %48, align 8, !tbaa !34
  %55 = add nsw i32 %.03748, 1
  %56 = load ptr, ptr %2, align 8, !tbaa !5
  %57 = tail call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
  %58 = icmp slt i32 %55, %57
  br i1 %58, label %46, label %.loopexit, !llvm.loop !38

59:                                               ; preds = %.lr.ph, %59
  %.141 = phi ptr [ %16, %.lr.ph ], [ %62, %59 ]
  %60 = load <2 x float>, ptr %.141, align 4, !tbaa !34
  %61 = fadd <2 x float> %60, %30
  store <2 x float> %61, ptr %.141, align 4, !tbaa !34
  %62 = getelementptr inbounds i8, ptr %.141, i64 20
  %63 = icmp ult ptr %62, %24
  br i1 %63, label %59, label %._crit_edge, !llvm.loop !39

._crit_edge:                                      ; preds = %59, %.preheader40
  %64 = getelementptr inbounds i8, ptr %0, i64 52
  %65 = load i32, ptr %64, align 4, !tbaa !37
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = tail call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %66)
  %68 = icmp slt i32 %65, %67
  br i1 %68, label %.lr.ph44, label %.loopexit

.lr.ph44:                                         ; preds = %._crit_edge
  %69 = getelementptr inbounds i8, ptr %0, i64 92
  br label %70

70:                                               ; preds = %.lr.ph44, %70
  %.03842 = phi i32 [ %65, %.lr.ph44 ], [ %77, %70 ]
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %71, i32 noundef %.03842)
  %73 = load <2 x float>, ptr %69, align 4, !tbaa !34
  %74 = shufflevector <2 x float> %73, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %75 = load <4 x float>, ptr %72, align 8, !tbaa !34
  %76 = fadd <4 x float> %74, %75
  store <4 x float> %76, ptr %72, align 8, !tbaa !34
  %77 = add nsw i32 %.03842, 1
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = tail call noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %78)
  %80 = icmp slt i32 %77, %79
  br i1 %80, label %70, label %.loopexit, !llvm.loop !40

.loopexit:                                        ; preds = %70, %46, %._crit_edge, %._crit_edge47
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZL16ImFringeScaleRefP10ImDrawList(ptr noundef %81)
  %83 = getelementptr inbounds i8, ptr %0, i64 104
  %84 = load float, ptr %83, align 8, !tbaa !41
  store float %84, ptr %82, align 4, !tbaa !34
  tail call void @_ZN5ImGui11PopClipRectEv()
  tail call void @_ZN7ImGuiEx6Canvas17RestoreInputStateEv(ptr noundef nonnull align 8 dereferenceable(172) %0)
  tail call void @_ZN7ImGuiEx6Canvas20RestoreViewportStateEv(ptr noundef nonnull align 8 dereferenceable(172) %0)
  ret void
}

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

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZL14ImVtxOffsetRefP10ImDrawList(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZL16ImFringeScaleRefP10ImDrawList(ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8ImVectorI9ImDrawCmdE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #6

attributes #0 = { 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 #1 = { 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 #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 = { "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 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { noreturn 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, !13, i64 40}
!6 = !{!"_ZTSN7ImGuiEx6CanvasE", !7, i64 0, !10, i64 4, !10, i64 12, !12, i64 20, !13, i64 40, !14, i64 48, !14, i64 52, !14, i64 56, !15, i64 60, !12, i64 76, !10, i64 92, !14, i64 100, !11, i64 104, !10, i64 108, !10, i64 116, !8, i64 124, !10, i64 164}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"_ZTS6ImRect", !10, i64 0, !10, i64 8}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"int", !8, i64 0}
!15 = !{!"_ZTSN7ImGuiEx10CanvasViewE", !10, i64 0, !11, i64 8, !11, i64 12}
!16 = !{!17, !14, i64 168}
!17 = !{!"_ZTS10ImDrawList", !18, i64 0, !19, i64 16, !20, i64 32, !14, i64 48, !14, i64 52, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !21, i64 88, !22, i64 104, !23, i64 120, !24, i64 136, !26, i64 168, !11, i64 192}
!18 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !14, i64 0, !14, i64 4, !13, i64 8}
!19 = !{!"_ZTS8ImVectorItE", !14, i64 0, !14, i64 4, !13, i64 8}
!20 = !{!"_ZTS8ImVectorI10ImDrawVertE", !14, i64 0, !14, i64 4, !13, i64 8}
!21 = !{!"_ZTS8ImVectorI6ImVec4E", !14, i64 0, !14, i64 4, !13, i64 8}
!22 = !{!"_ZTS8ImVectorIPvE", !14, i64 0, !14, i64 4, !13, i64 8}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !14, i64 0, !14, i64 4, !13, i64 8}
!24 = !{!"_ZTS15ImDrawCmdHeader", !25, i64 0, !13, i64 16, !14, i64 24}
!25 = !{!"_ZTS6ImVec4", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!26 = !{!"_ZTS18ImDrawListSplitter", !14, i64 0, !14, i64 4, !27, i64 8}
!27 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !14, i64 0, !14, i64 4, !13, i64 8}
!28 = !{!6, !14, i64 48}
!29 = !{!17, !13, i64 40}
!30 = !{!6, !14, i64 56}
!31 = !{!17, !14, i64 52}
!32 = !{!14, !14, i64 0}
!33 = !{!6, !11, i64 68}
!34 = !{!11, !11, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!6, !14, i64 52}
!38 = distinct !{!38, !36}
!39 = distinct !{!39, !36}
!40 = distinct !{!40, !36}
!41 = !{!6, !11, i64 104}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalDCEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass