; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui (imgui_draw)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(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) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui24RenderRectFilledWithHoleEP10ImDrawList6ImRectS2_jf(ptr noundef %0, <2 x float> %1, <2 x float> %2, <2 x float> %3, <2 x float> %4, i32 noundef %5, float noundef %6) #3 {
  %8 = alloca %struct.ImRect, align 4
  %9 = alloca %struct.ImRect, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca float, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, 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
  %25 = alloca %struct.ImVec2, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca %struct.ImVec2, align 4
  %29 = alloca %struct.ImVec2, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca %struct.ImVec2, align 4
  %32 = alloca %struct.ImVec2, align 4
  %33 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 0
  store <2 x float> %1, ptr %33, align 4
  %34 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %8, i32 0, i32 1
  store <2 x float> %2, ptr %34, align 4
  %35 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 0
  store <2 x float> %3, ptr %35, align 4
  %36 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %9, i32 0, i32 1
  store <2 x float> %4, ptr %36, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %5, ptr %11, align 4, !tbaa !9
  store float %6, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %37 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %38 = getelementptr inbounds %struct.ImVec2, ptr %37, i32 0, i32 0
  %39 = load float, ptr %38, align 4, !tbaa !13
  %40 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %41 = getelementptr inbounds %struct.ImVec2, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 4, !tbaa !13
  %43 = fcmp ogt float %39, %42
  %44 = zext i1 %43 to i8
  store i8 %44, ptr %13, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  %45 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %46 = getelementptr inbounds %struct.ImVec2, ptr %45, i32 0, i32 0
  %47 = load float, ptr %46, align 4, !tbaa !18
  %48 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %49 = getelementptr inbounds %struct.ImVec2, ptr %48, i32 0, i32 0
  %50 = load float, ptr %49, align 4, !tbaa !18
  %51 = fcmp olt float %47, %50
  %52 = zext i1 %51 to i8
  store i8 %52, ptr %14, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  %53 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %54 = getelementptr inbounds %struct.ImVec2, ptr %53, i32 0, i32 1
  %55 = load float, ptr %54, align 4, !tbaa !19
  %56 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %57 = getelementptr inbounds %struct.ImVec2, ptr %56, i32 0, i32 1
  %58 = load float, ptr %57, align 4, !tbaa !19
  %59 = fcmp ogt float %55, %58
  %60 = zext i1 %59 to i8
  store i8 %60, ptr %15, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #4
  %61 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %62 = getelementptr inbounds %struct.ImVec2, ptr %61, i32 0, i32 1
  %63 = load float, ptr %62, align 4, !tbaa !20
  %64 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %65 = getelementptr inbounds %struct.ImVec2, ptr %64, i32 0, i32 1
  %66 = load float, ptr %65, align 4, !tbaa !20
  %67 = fcmp olt float %63, %66
  %68 = zext i1 %67 to i8
  store i8 %68, ptr %16, align 1, !tbaa !16
  %69 = load i8, ptr %13, align 1, !tbaa !16, !range !21, !noundef !22
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %96

71:                                               ; preds = %7
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %73 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %74 = getelementptr inbounds %struct.ImVec2, ptr %73, i32 0, i32 0
  %75 = load float, ptr %74, align 4, !tbaa !13
  %76 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %77 = getelementptr inbounds %struct.ImVec2, ptr %76, i32 0, i32 1
  %78 = load float, ptr %77, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %75, float noundef %78)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %79 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %80 = getelementptr inbounds %struct.ImVec2, ptr %79, i32 0, i32 0
  %81 = load float, ptr %80, align 4, !tbaa !13
  %82 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %83 = getelementptr inbounds %struct.ImVec2, ptr %82, i32 0, i32 1
  %84 = load float, ptr %83, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %81, float noundef %84)
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = load float, ptr %12, align 4, !tbaa !11
  %87 = load i8, ptr %15, align 1, !tbaa !16, !range !21, !noundef !22
  %88 = trunc i8 %87 to i1
  %89 = zext i1 %88 to i64
  %90 = select i1 %88, i32 0, i32 16
  %91 = load i8, ptr %16, align 1, !tbaa !16, !range !21, !noundef !22
  %92 = trunc i8 %91 to i1
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, i32 0, i32 64
  %95 = or i32 %90, %94
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %72, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef %85, float noundef %86, i32 noundef %95)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %96

96:                                               ; preds = %71, %7
  %97 = load i8, ptr %14, align 1, !tbaa !16, !range !21, !noundef !22
  %98 = trunc i8 %97 to i1
  br i1 %98, label %99, label %124

99:                                               ; preds = %96
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %101 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %102 = getelementptr inbounds %struct.ImVec2, ptr %101, i32 0, i32 0
  %103 = load float, ptr %102, align 4, !tbaa !18
  %104 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %105 = getelementptr inbounds %struct.ImVec2, ptr %104, i32 0, i32 1
  %106 = load float, ptr %105, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %103, float noundef %106)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %107 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %108 = getelementptr inbounds %struct.ImVec2, ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !18
  %110 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %111 = getelementptr inbounds %struct.ImVec2, ptr %110, i32 0, i32 1
  %112 = load float, ptr %111, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %109, float noundef %112)
  %113 = load i32, ptr %11, align 4, !tbaa !9
  %114 = load float, ptr %12, align 4, !tbaa !11
  %115 = load i8, ptr %15, align 1, !tbaa !16, !range !21, !noundef !22
  %116 = trunc i8 %115 to i1
  %117 = zext i1 %116 to i64
  %118 = select i1 %116, i32 0, i32 32
  %119 = load i8, ptr %16, align 1, !tbaa !16, !range !21, !noundef !22
  %120 = trunc i8 %119 to i1
  %121 = zext i1 %120 to i64
  %122 = select i1 %120, i32 0, i32 128
  %123 = or i32 %118, %122
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %100, ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(8) %20, i32 noundef %113, float noundef %114, i32 noundef %123)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %124

124:                                              ; preds = %99, %96
  %125 = load i8, ptr %15, align 1, !tbaa !16, !range !21, !noundef !22
  %126 = trunc i8 %125 to i1
  br i1 %126, label %127, label %152

127:                                              ; preds = %124
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %129 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %130 = getelementptr inbounds %struct.ImVec2, ptr %129, i32 0, i32 0
  %131 = load float, ptr %130, align 4, !tbaa !13
  %132 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %133 = getelementptr inbounds %struct.ImVec2, ptr %132, i32 0, i32 1
  %134 = load float, ptr %133, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %131, float noundef %134)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %135 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %136 = getelementptr inbounds %struct.ImVec2, ptr %135, i32 0, i32 0
  %137 = load float, ptr %136, align 4, !tbaa !18
  %138 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %139 = getelementptr inbounds %struct.ImVec2, ptr %138, i32 0, i32 1
  %140 = load float, ptr %139, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %137, float noundef %140)
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = load float, ptr %12, align 4, !tbaa !11
  %143 = load i8, ptr %13, align 1, !tbaa !16, !range !21, !noundef !22
  %144 = trunc i8 %143 to i1
  %145 = zext i1 %144 to i64
  %146 = select i1 %144, i32 0, i32 16
  %147 = load i8, ptr %14, align 1, !tbaa !16, !range !21, !noundef !22
  %148 = trunc i8 %147 to i1
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, i32 0, i32 32
  %151 = or i32 %146, %150
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %128, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %22, i32 noundef %141, float noundef %142, i32 noundef %151)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %152

152:                                              ; preds = %127, %124
  %153 = load i8, ptr %16, align 1, !tbaa !16, !range !21, !noundef !22
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %180

155:                                              ; preds = %152
  %156 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %157 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %158 = getelementptr inbounds %struct.ImVec2, ptr %157, i32 0, i32 0
  %159 = load float, ptr %158, align 4, !tbaa !13
  %160 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %161 = getelementptr inbounds %struct.ImVec2, ptr %160, i32 0, i32 1
  %162 = load float, ptr %161, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %159, float noundef %162)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %163 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %164 = getelementptr inbounds %struct.ImVec2, ptr %163, i32 0, i32 0
  %165 = load float, ptr %164, align 4, !tbaa !18
  %166 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %167 = getelementptr inbounds %struct.ImVec2, ptr %166, i32 0, i32 1
  %168 = load float, ptr %167, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %24, float noundef %165, float noundef %168)
  %169 = load i32, ptr %11, align 4, !tbaa !9
  %170 = load float, ptr %12, align 4, !tbaa !11
  %171 = load i8, ptr %13, align 1, !tbaa !16, !range !21, !noundef !22
  %172 = trunc i8 %171 to i1
  %173 = zext i1 %172 to i64
  %174 = select i1 %172, i32 0, i32 64
  %175 = load i8, ptr %14, align 1, !tbaa !16, !range !21, !noundef !22
  %176 = trunc i8 %175 to i1
  %177 = zext i1 %176 to i64
  %178 = select i1 %176, i32 0, i32 128
  %179 = or i32 %174, %178
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %156, ptr noundef nonnull align 4 dereferenceable(8) %23, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %169, float noundef %170, i32 noundef %179)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %180

180:                                              ; preds = %155, %152
  %181 = load i8, ptr %13, align 1, !tbaa !16, !range !21, !noundef !22
  %182 = trunc i8 %181 to i1
  br i1 %182, label %183, label %202

183:                                              ; preds = %180
  %184 = load i8, ptr %15, align 1, !tbaa !16, !range !21, !noundef !22
  %185 = trunc i8 %184 to i1
  br i1 %185, label %186, label %202

186:                                              ; preds = %183
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %188 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %189 = getelementptr inbounds %struct.ImVec2, ptr %188, i32 0, i32 0
  %190 = load float, ptr %189, align 4, !tbaa !13
  %191 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %192 = getelementptr inbounds %struct.ImVec2, ptr %191, i32 0, i32 1
  %193 = load float, ptr %192, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %25, float noundef %190, float noundef %193)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %194 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %195 = getelementptr inbounds %struct.ImVec2, ptr %194, i32 0, i32 0
  %196 = load float, ptr %195, align 4, !tbaa !13
  %197 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %198 = getelementptr inbounds %struct.ImVec2, ptr %197, i32 0, i32 1
  %199 = load float, ptr %198, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %196, float noundef %199)
  %200 = load i32, ptr %11, align 4, !tbaa !9
  %201 = load float, ptr %12, align 4, !tbaa !11
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %187, ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26, i32 noundef %200, float noundef %201, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %202

202:                                              ; preds = %186, %183, %180
  %203 = load i8, ptr %14, align 1, !tbaa !16, !range !21, !noundef !22
  %204 = trunc i8 %203 to i1
  br i1 %204, label %205, label %224

205:                                              ; preds = %202
  %206 = load i8, ptr %15, align 1, !tbaa !16, !range !21, !noundef !22
  %207 = trunc i8 %206 to i1
  br i1 %207, label %208, label %224

208:                                              ; preds = %205
  %209 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %210 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %211 = getelementptr inbounds %struct.ImVec2, ptr %210, i32 0, i32 0
  %212 = load float, ptr %211, align 4, !tbaa !18
  %213 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %214 = getelementptr inbounds %struct.ImVec2, ptr %213, i32 0, i32 1
  %215 = load float, ptr %214, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %212, float noundef %215)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %216 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %217 = getelementptr inbounds %struct.ImVec2, ptr %216, i32 0, i32 0
  %218 = load float, ptr %217, align 4, !tbaa !18
  %219 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %220 = getelementptr inbounds %struct.ImVec2, ptr %219, i32 0, i32 1
  %221 = load float, ptr %220, align 4, !tbaa !19
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %28, float noundef %218, float noundef %221)
  %222 = load i32, ptr %11, align 4, !tbaa !9
  %223 = load float, ptr %12, align 4, !tbaa !11
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %209, ptr noundef nonnull align 4 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(8) %28, i32 noundef %222, float noundef %223, i32 noundef 32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  br label %224

224:                                              ; preds = %208, %205, %202
  %225 = load i8, ptr %13, align 1, !tbaa !16, !range !21, !noundef !22
  %226 = trunc i8 %225 to i1
  br i1 %226, label %227, label %246

227:                                              ; preds = %224
  %228 = load i8, ptr %16, align 1, !tbaa !16, !range !21, !noundef !22
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %246

230:                                              ; preds = %227
  %231 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %232 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 0
  %233 = getelementptr inbounds %struct.ImVec2, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !13
  %235 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %236 = getelementptr inbounds %struct.ImVec2, ptr %235, i32 0, i32 1
  %237 = load float, ptr %236, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %234, float noundef %237)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %238 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 0
  %239 = getelementptr inbounds %struct.ImVec2, ptr %238, i32 0, i32 0
  %240 = load float, ptr %239, align 4, !tbaa !13
  %241 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %242 = getelementptr inbounds %struct.ImVec2, ptr %241, i32 0, i32 1
  %243 = load float, ptr %242, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %240, float noundef %243)
  %244 = load i32, ptr %11, align 4, !tbaa !9
  %245 = load float, ptr %12, align 4, !tbaa !11
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %231, ptr noundef nonnull align 4 dereferenceable(8) %29, ptr noundef nonnull align 4 dereferenceable(8) %30, i32 noundef %244, float noundef %245, i32 noundef 64)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %246

246:                                              ; preds = %230, %227, %224
  %247 = load i8, ptr %14, align 1, !tbaa !16, !range !21, !noundef !22
  %248 = trunc i8 %247 to i1
  br i1 %248, label %249, label %268

249:                                              ; preds = %246
  %250 = load i8, ptr %16, align 1, !tbaa !16, !range !21, !noundef !22
  %251 = trunc i8 %250 to i1
  br i1 %251, label %252, label %268

252:                                              ; preds = %249
  %253 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %254 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %255 = getelementptr inbounds %struct.ImVec2, ptr %254, i32 0, i32 0
  %256 = load float, ptr %255, align 4, !tbaa !18
  %257 = getelementptr inbounds %struct.ImRect, ptr %9, i32 0, i32 1
  %258 = getelementptr inbounds %struct.ImVec2, ptr %257, i32 0, i32 1
  %259 = load float, ptr %258, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %256, float noundef %259)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %260 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %261 = getelementptr inbounds %struct.ImVec2, ptr %260, i32 0, i32 0
  %262 = load float, ptr %261, align 4, !tbaa !18
  %263 = getelementptr inbounds %struct.ImRect, ptr %8, i32 0, i32 1
  %264 = getelementptr inbounds %struct.ImVec2, ptr %263, i32 0, i32 1
  %265 = load float, ptr %264, align 4, !tbaa !20
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %262, float noundef %265)
  %266 = load i32, ptr %11, align 4, !tbaa !9
  %267 = load float, ptr %12, align 4, !tbaa !11
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %253, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 4 dereferenceable(8) %32, i32 noundef %266, float noundef %267, i32 noundef 128)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  br label %268

268:                                              ; preds = %252, %249, %246
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!14, !12, i64 8}
!19 = !{!14, !12, i64 4}
!20 = !{!14, !12, i64 12}
!21 = !{i8 0, i8 2}
!22 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImVec2 = type { float, float }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(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) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui24RenderRectFilledWithHoleEP10ImDrawList6ImRectS2_jf(ptr noundef %0, <2 x float> %1, <2 x float> %2, <2 x float> %3, <2 x float> %4, i32 noundef %5, float noundef %6) local_unnamed_addr #3 {
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca %struct.ImVec2, align 4
  %10 = alloca %struct.ImVec2, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 4
  %14 = alloca %struct.ImVec2, align 4
  %15 = alloca %struct.ImVec2, align 4
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  %19 = alloca %struct.ImVec2, align 4
  %20 = alloca %struct.ImVec2, align 4
  %21 = alloca %struct.ImVec2, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca %struct.ImVec2, align 4
  %.sroa.0.0.vec.extract = extractelement <2 x float> %3, i64 0
  %.sroa.083.0.vec.extract = extractelement <2 x float> %1, i64 0
  %24 = fcmp ule float %.sroa.0.0.vec.extract, %.sroa.083.0.vec.extract
  %.sroa.13.8.vec.extract = extractelement <2 x float> %4, i64 0
  %.sroa.9.8.vec.extract = extractelement <2 x float> %2, i64 0
  %25 = fcmp uge float %.sroa.13.8.vec.extract, %.sroa.9.8.vec.extract
  %.sroa.0.4.vec.extract = extractelement <2 x float> %3, i64 1
  %.sroa.083.4.vec.extract = extractelement <2 x float> %1, i64 1
  %26 = fcmp ule float %.sroa.0.4.vec.extract, %.sroa.083.4.vec.extract
  %.sroa.13.12.vec.extract = extractelement <2 x float> %4, i64 1
  %.sroa.9.12.vec.extract = extractelement <2 x float> %2, i64 1
  %27 = fcmp uge float %.sroa.13.12.vec.extract, %.sroa.9.12.vec.extract
  br i1 %24, label %32, label %28

28:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %.sroa.083.0.vec.extract, float noundef %.sroa.0.4.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.13.12.vec.extract)
  %29 = select i1 %26, i32 16, i32 0
  %30 = select i1 %27, i32 64, i32 0
  %31 = or disjoint i32 %30, %29
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9, i32 noundef %5, float noundef %6, i32 noundef %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  br label %32

32:                                               ; preds = %28, %7
  br i1 %25, label %37, label %33

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %.sroa.13.8.vec.extract, float noundef %.sroa.0.4.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %.sroa.9.8.vec.extract, float noundef %.sroa.13.12.vec.extract)
  %34 = select i1 %26, i32 32, i32 0
  %35 = select i1 %27, i32 128, i32 0
  %36 = or disjoint i32 %35, %34
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %11, i32 noundef %5, float noundef %6, i32 noundef %36)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br label %37

37:                                               ; preds = %33, %32
  br i1 %26, label %42, label %38

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.083.4.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %.sroa.13.8.vec.extract, float noundef %.sroa.0.4.vec.extract)
  %39 = select i1 %24, i32 16, i32 0
  %40 = select i1 %25, i32 32, i32 0
  %41 = or disjoint i32 %40, %39
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %13, i32 noundef %5, float noundef %6, i32 noundef %41)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #4
  br label %42

42:                                               ; preds = %38, %37
  br i1 %27, label %47, label %43

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.13.12.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %.sroa.13.8.vec.extract, float noundef %.sroa.9.12.vec.extract)
  %44 = select i1 %24, i32 64, i32 0
  %45 = select i1 %25, i32 128, i32 0
  %46 = or disjoint i32 %45, %44
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, i32 noundef %5, float noundef %6, i32 noundef %46)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  br label %47

47:                                               ; preds = %43, %42
  %brmerge = select i1 %24, i1 true, i1 %26
  br i1 %brmerge, label %49, label %48

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %.sroa.083.0.vec.extract, float noundef %.sroa.083.4.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.0.4.vec.extract)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %17, i32 noundef %5, float noundef %6, i32 noundef 16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #4
  br label %49

49:                                               ; preds = %47, %48
  %brmerge111 = select i1 %25, i1 true, i1 %26
  br i1 %brmerge111, label %51, label %50

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %.sroa.13.8.vec.extract, float noundef %.sroa.083.4.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %19, float noundef %.sroa.9.8.vec.extract, float noundef %.sroa.0.4.vec.extract)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %19, i32 noundef %5, float noundef %6, i32 noundef 32)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  br label %51

51:                                               ; preds = %49, %50
  %brmerge114 = select i1 %24, i1 true, i1 %27
  br i1 %brmerge114, label %53, label %52

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef %.sroa.083.0.vec.extract, float noundef %.sroa.13.12.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %21, float noundef %.sroa.0.0.vec.extract, float noundef %.sroa.9.12.vec.extract)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %21, i32 noundef %5, float noundef %6, i32 noundef 64)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #4
  br label %53

53:                                               ; preds = %51, %52
  %brmerge117 = select i1 %25, i1 true, i1 %27
  br i1 %brmerge117, label %55, label %54

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %22, float noundef %.sroa.13.8.vec.extract, float noundef %.sroa.13.12.vec.extract)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #4
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %.sroa.9.8.vec.extract, float noundef %.sroa.9.12.vec.extract)
  call void @_ZN10ImDrawList13AddRectFilledERK6ImVec2S2_jfi(ptr noundef nonnull align 8 dereferenceable(196) %0, ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23, i32 noundef %5, float noundef %6, i32 noundef 128)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #4
  br label %55

55:                                               ; preds = %53, %54
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 = { 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)"}


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