; LLVM IR from tyoma/agge :: src/agge/vector_rasterizer.ll (ZN4agge17vector_rasterizer4lineEiiii)

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

%"class.agge::precise_delta" = type { i32, i32, i32, i32 }
%"class.agge::vector_rasterizer" = type <{ %"class.agge::pod_vector", %"class.agge::pod_vector.0", %"class.agge::pod_vector.0", %"class.agge::pod_vector", i32, i32, i32, i32, i32, [4 x i8] }>
%"class.agge::pod_vector.0" = type { ptr, ptr, ptr }
%"class.agge::pod_vector" = type { ptr, ptr, ptr }
%"struct.agge::vector_rasterizer::cell" = type <{ i16, i16, i32, i16 }>

; 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 uwtable
define dso_local void @_ZN4agge17vector_rasterizer4lineEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.agge::precise_delta", align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"class.agge::precise_delta", align 4
  %30 = alloca %"class.agge::precise_delta", align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %34 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %35 = load i32, ptr %9, align 4, !tbaa !9
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = sub nsw i32 %35, %36
  store i32 %37, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %38 = load i32, ptr %7, align 4, !tbaa !9
  %39 = ashr i32 %38, 8
  store i32 %39, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = ashr i32 %40, 8
  store i32 %41, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = ashr i32 %42, 8
  store i32 %43, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %44 = load i32, ptr %10, align 4, !tbaa !9
  %45 = ashr i32 %44, 8
  store i32 %45, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = sub nsw i32 %46, %47
  store i32 %48, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %5
  store i32 1, ptr %17, align 4
  br label %228

52:                                               ; preds = %5
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116) %34, i32 noundef %53, i32 noundef %54)
  %55 = load i32, ptr %14, align 4, !tbaa !9
  %56 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116) %34, i32 noundef %55, i32 noundef %56)
  %57 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 8
  store i32 0, ptr %57, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %58 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 0
  %59 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 6
  %60 = load i32, ptr %59, align 8, !tbaa !15
  %61 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 5
  %62 = load i32, ptr %61, align 4, !tbaa !16
  %63 = sub nsw i32 %60, %62
  %64 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 7
  %65 = load i32, ptr %64, align 4, !tbaa !17
  %66 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 4
  %67 = load i32, ptr %66, align 8, !tbaa !18
  %68 = sub nsw i32 %65, %67
  %69 = call noundef i32 @_ZN4agge8agge_maxIiEET_S1_S1_(i32 noundef %63, i32 noundef %68)
  %70 = mul nsw i32 2, %69
  %71 = add nsw i32 %70, 3
  %72 = call noundef ptr @_ZN4agge12_GLOBAL__N_19resize_byINS_10pod_vectorINS_17vector_rasterizer4cellEEEEEPS4_RT_i(ptr noundef nonnull align 8 dereferenceable(24) %58, i32 noundef %71)
  %73 = getelementptr inbounds %"struct.agge::vector_rasterizer::cell", ptr %72, i64 -1
  store ptr %73, ptr %18, align 8, !tbaa !5
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = load i32, ptr %13, align 4, !tbaa !9
  %76 = icmp eq i32 %74, %75
  br i1 %76, label %77, label %99

77:                                               ; preds = %52
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = icmp eq i32 %78, %79
  br i1 %80, label %81, label %91

81:                                               ; preds = %77
  %82 = load i32, ptr %12, align 4, !tbaa !9
  %83 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %82, i32 noundef %83)
  %84 = load ptr, ptr %18, align 8, !tbaa !5
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = and i32 %85, 255
  %87 = load i32, ptr %9, align 4, !tbaa !9
  %88 = and i32 %87, 255
  %89 = add nsw i32 %86, %88
  %90 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN4agge12_GLOBAL__N_13addEPNS_17vector_rasterizer4cellEii(ptr noundef %84, i32 noundef %89, i32 noundef %90)
  br label %98

91:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #6
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = load i32, ptr %7, align 4, !tbaa !9
  %96 = load i32, ptr %9, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %34, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(16) %19, i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97)
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #6
  br label %98

98:                                               ; preds = %91, %81
  br label %224

99:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %100 = load i32, ptr %8, align 4, !tbaa !9
  %101 = and i32 %100, 255
  store i32 %101, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = and i32 %102, 255
  store i32 %103, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = icmp sgt i32 %104, 0
  %106 = zext i1 %105 to i64
  %107 = select i1 %105, i32 1, i32 -1
  store i32 %107, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = icmp sgt i32 %108, 0
  %110 = zext i1 %109 to i64
  %111 = select i1 %109, i32 256, i32 0
  store i32 %111, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %112 = load i32, ptr %23, align 4, !tbaa !9
  %113 = sub nsw i32 256, %112
  store i32 %113, ptr %24, align 4, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = load i32, ptr %7, align 4, !tbaa !9
  %116 = icmp eq i32 %114, %115
  br i1 %116, label %117, label %163

117:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %118 = load i32, ptr %7, align 4, !tbaa !9
  %119 = and i32 %118, 255
  %120 = mul nsw i32 2, %119
  store i32 %120, ptr %25, align 4, !tbaa !9
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %121, i32 noundef %122)
  %123 = load i32, ptr %25, align 4, !tbaa !9
  %124 = load i32, ptr %23, align 4, !tbaa !9
  %125 = load i32, ptr %20, align 4, !tbaa !9
  %126 = sub nsw i32 %124, %125
  call void @_ZN4agge12_GLOBAL__N_114add_and_commitERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %123, i32 noundef %126)
  %127 = load i32, ptr %22, align 4, !tbaa !9
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = add nsw i32 %128, %127
  store i32 %129, ptr %13, align 4, !tbaa !9
  %130 = load i32, ptr %13, align 4, !tbaa !9
  %131 = load i32, ptr %15, align 4, !tbaa !9
  %132 = icmp ne i32 %130, %131
  br i1 %132, label %133, label %155

133:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %134 = load i32, ptr %23, align 4, !tbaa !9
  %135 = load i32, ptr %24, align 4, !tbaa !9
  %136 = sub nsw i32 %134, %135
  store i32 %136, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  %137 = load i32, ptr %25, align 4, !tbaa !9
  %138 = load i32, ptr %26, align 4, !tbaa !9
  %139 = mul nsw i32 %137, %138
  store i32 %139, ptr %27, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %150, %133
  %141 = load ptr, ptr %18, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.agge::vector_rasterizer::cell", ptr %141, i32 1
  store ptr %142, ptr %18, align 8, !tbaa !5
  %143 = load i32, ptr %12, align 4, !tbaa !9
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = load i32, ptr %27, align 4, !tbaa !9
  %146 = load i32, ptr %26, align 4, !tbaa !9
  call void @_ZN4agge12_GLOBAL__N_14setaEPNS_17vector_rasterizer4cellEiiii(ptr noundef %141, i32 noundef %143, i32 noundef %144, i32 noundef %145, i32 noundef %146)
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = load i32, ptr %13, align 4, !tbaa !9
  %149 = add nsw i32 %148, %147
  store i32 %149, ptr %13, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %140
  %151 = load i32, ptr %13, align 4, !tbaa !9
  %152 = load i32, ptr %15, align 4, !tbaa !9
  %153 = icmp ne i32 %151, %152
  br i1 %153, label %140, label %154, !llvm.loop !19

154:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %155

155:                                              ; preds = %154, %117
  %156 = load ptr, ptr %18, align 8, !tbaa !5
  %157 = load i32, ptr %12, align 4, !tbaa !9
  %158 = load i32, ptr %13, align 4, !tbaa !9
  %159 = load i32, ptr %25, align 4, !tbaa !9
  %160 = load i32, ptr %21, align 4, !tbaa !9
  %161 = load i32, ptr %24, align 4, !tbaa !9
  %162 = sub nsw i32 %160, %161
  call void @_ZN4agge12_GLOBAL__N_13setEPNS_17vector_rasterizer4cellEiiii(ptr noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159, i32 noundef %162)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %223

163:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %164 = load i32, ptr %23, align 4, !tbaa !9
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = sub nsw i32 %164, %165
  store i32 %166, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %167 = load i32, ptr %11, align 4, !tbaa !9
  %168 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %167, i32 noundef %168)
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  %169 = load i32, ptr %16, align 4, !tbaa !9
  %170 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %30, i32 noundef %169, i32 noundef %170)
  %171 = load i32, ptr %28, align 4, !tbaa !9
  call void @_ZN4agge13precise_delta8multiplyEi(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %171)
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %172 = load i32, ptr %7, align 4, !tbaa !9
  %173 = call noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  %174 = add nsw i32 %172, %173
  store i32 %174, ptr %31, align 4, !tbaa !9
  %175 = load i32, ptr %28, align 4, !tbaa !9
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %182

177:                                              ; preds = %163
  %178 = load i32, ptr %13, align 4, !tbaa !9
  %179 = load i32, ptr %7, align 4, !tbaa !9
  %180 = load i32, ptr %31, align 4, !tbaa !9
  %181 = load i32, ptr %28, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %34, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(16) %30, i32 noundef %178, i32 noundef %179, i32 noundef %180, i32 noundef %181)
  br label %182

182:                                              ; preds = %177, %163
  %183 = load i32, ptr %22, align 4, !tbaa !9
  %184 = load i32, ptr %13, align 4, !tbaa !9
  %185 = add nsw i32 %184, %183
  store i32 %185, ptr %13, align 4, !tbaa !9
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = icmp ne i32 %186, %187
  br i1 %188, label %189, label %211

189:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %190 = load i32, ptr %23, align 4, !tbaa !9
  %191 = load i32, ptr %24, align 4, !tbaa !9
  %192 = sub nsw i32 %190, %191
  store i32 %192, ptr %32, align 4, !tbaa !9
  %193 = load i32, ptr %32, align 4, !tbaa !9
  call void @_ZN4agge13precise_delta8multiplyEi(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %193)
  br label %194

194:                                              ; preds = %206, %189
  %195 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %195, ptr %7, align 4, !tbaa !9
  %196 = call noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  %197 = load i32, ptr %31, align 4, !tbaa !9
  %198 = add nsw i32 %197, %196
  store i32 %198, ptr %31, align 4, !tbaa !9
  %199 = load i32, ptr %13, align 4, !tbaa !9
  %200 = load i32, ptr %7, align 4, !tbaa !9
  %201 = load i32, ptr %31, align 4, !tbaa !9
  %202 = load i32, ptr %32, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %34, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(16) %30, i32 noundef %199, i32 noundef %200, i32 noundef %201, i32 noundef %202)
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = load i32, ptr %13, align 4, !tbaa !9
  %205 = add nsw i32 %204, %203
  store i32 %205, ptr %13, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %194
  %207 = load i32, ptr %13, align 4, !tbaa !9
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = icmp ne i32 %207, %208
  br i1 %209, label %194, label %210, !llvm.loop !21

210:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %211

211:                                              ; preds = %210, %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %212 = load i32, ptr %21, align 4, !tbaa !9
  %213 = load i32, ptr %24, align 4, !tbaa !9
  %214 = sub nsw i32 %212, %213
  store i32 %214, ptr %33, align 4, !tbaa !9
  %215 = load i32, ptr %33, align 4, !tbaa !9
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %222

217:                                              ; preds = %211
  %218 = load i32, ptr %13, align 4, !tbaa !9
  %219 = load i32, ptr %31, align 4, !tbaa !9
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = load i32, ptr %33, align 4, !tbaa !9
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %34, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(16) %30, i32 noundef %218, i32 noundef %219, i32 noundef %220, i32 noundef %221)
  br label %222

222:                                              ; preds = %217, %211
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %223

223:                                              ; preds = %222, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %224

224:                                              ; preds = %223, %98
  %225 = getelementptr inbounds %"class.agge::vector_rasterizer", ptr %34, i32 0, i32 0
  %226 = load ptr, ptr %18, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.agge::vector_rasterizer::cell", ptr %226, i32 1
  store ptr %227, ptr %18, align 8, !tbaa !5
  call void @_ZN4agge12_GLOBAL__N_17set_endINS_17vector_rasterizer4cellEEEvRNS_10pod_vectorIT_EENS6_8iteratorE(ptr noundef nonnull align 8 dereferenceable(24) %225, ptr noundef %227)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  store i32 0, ptr %17, align 4
  br label %228

228:                                              ; preds = %224, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %229 = load i32, ptr %17, align 4
  switch i32 %229, label %231 [
    i32 0, label %230
    i32 1, label %230
  ]

230:                                              ; preds = %228, %228
  ret void

231:                                              ; preds = %228
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116), i32 noundef, i32 noundef) #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef ptr @_ZN4agge12_GLOBAL__N_19resize_byINS_10pod_vectorINS_17vector_rasterizer4cellEEEEEPS4_RT_i(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4agge8agge_maxIiEET_S1_S1_(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_13addEPNS_17vector_rasterizer4cellEii(ptr noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_114add_and_commitERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_14setaEPNS_17vector_rasterizer4cellEiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_13setEPNS_17vector_rasterizer4cellEiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_17set_endINS_17vector_rasterizer4cellEEEvRNS_10pod_vectorIT_EENS6_8iteratorE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 = { alwaysinline 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 = { 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, !10, i64 112}
!12 = !{!"_ZTSN4agge17vector_rasterizerE", !13, i64 0, !14, i64 24, !14, i64 48, !13, i64 72, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112}
!13 = !{!"_ZTSN4agge10pod_vectorINS_17vector_rasterizer4cellEEE", !6, i64 0, !6, i64 8, !6, i64 16}
!14 = !{!"_ZTSN4agge10pod_vectorIjEE", !6, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!12, !10, i64 104}
!16 = !{!12, !10, i64 100}
!17 = !{!12, !10, i64 108}
!18 = !{!12, !10, i64 96}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

%"class.agge::precise_delta" = type { i32, i32, i32, i32 }

; 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 uwtable
define dso_local void @_ZN4agge17vector_rasterizer4lineEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca %"class.agge::precise_delta", align 4
  %8 = alloca %"class.agge::precise_delta", align 4
  %9 = alloca %"class.agge::precise_delta", align 4
  %10 = sub nsw i32 %3, %1
  %11 = ashr i32 %1, 8
  %12 = ashr i32 %2, 8
  %13 = ashr i32 %3, 8
  %14 = ashr i32 %4, 8
  %15 = sub nsw i32 %4, %2
  %.not = icmp eq i32 %4, %2
  br i1 %.not, label %83, label %16

16:                                               ; preds = %5
  tail call void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116) %0, i32 noundef %11, i32 noundef %12)
  tail call void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116) %0, i32 noundef %13, i32 noundef %14)
  %17 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 0, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 104
  %19 = load i32, ptr %18, align 8, !tbaa !13
  %20 = getelementptr inbounds i8, ptr %0, i64 100
  %21 = load i32, ptr %20, align 4, !tbaa !14
  %22 = sub nsw i32 %19, %21
  %23 = getelementptr inbounds i8, ptr %0, i64 108
  %24 = load i32, ptr %23, align 4, !tbaa !15
  %25 = getelementptr inbounds i8, ptr %0, i64 96
  %26 = load i32, ptr %25, align 8, !tbaa !16
  %27 = sub nsw i32 %24, %26
  %28 = tail call noundef i32 @_ZN4agge8agge_maxIiEET_S1_S1_(i32 noundef %22, i32 noundef %27)
  %29 = shl nsw i32 %28, 1
  %30 = add nsw i32 %29, 3
  %31 = tail call noundef ptr @_ZN4agge12_GLOBAL__N_19resize_byINS_10pod_vectorINS_17vector_rasterizer4cellEEEEEPS4_RT_i(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %30)
  %32 = getelementptr inbounds i8, ptr %31, i64 -10
  store ptr %32, ptr %6, align 8, !tbaa !17
  %33 = icmp eq i32 %14, %12
  br i1 %33, label %34, label %42

34:                                               ; preds = %16
  %35 = icmp eq i32 %13, %11
  br i1 %35, label %36, label %41

36:                                               ; preds = %34
  call void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %11, i32 noundef %12)
  %37 = load ptr, ptr %6, align 8, !tbaa !17
  %38 = and i32 %1, 255
  %39 = and i32 %3, 255
  %40 = add nuw nsw i32 %39, %38
  call void @_ZN4agge12_GLOBAL__N_13addEPNS_17vector_rasterizer4cellEii(ptr noundef %37, i32 noundef %40, i32 noundef %15)
  br label %80

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %15, i32 noundef %10)
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %12, i32 noundef %1, i32 noundef %3, i32 noundef %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  br label %80

42:                                               ; preds = %16
  %43 = and i32 %2, 255
  %44 = and i32 %4, 255
  %45 = icmp sgt i32 %15, 0
  %46 = select i1 %45, i32 1, i32 -1
  %47 = select i1 %45, i32 256, i32 0
  %48 = sub nuw nsw i32 256, %47
  %49 = icmp eq i32 %3, %1
  br i1 %49, label %50, label %64

50:                                               ; preds = %42
  %51 = shl i32 %3, 1
  %52 = and i32 %51, 510
  call void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %11, i32 noundef %12)
  %53 = sub nsw i32 %47, %43
  call void @_ZN4agge12_GLOBAL__N_114add_and_commitERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef %52, i32 noundef %53)
  %54 = add nsw i32 %46, %12
  %.not121 = icmp eq i32 %54, %14
  br i1 %.not121, label %.loopexit, label %55

55:                                               ; preds = %50
  %56 = sub nsw i32 %47, %48
  %57 = mul nsw i32 %56, %52
  br label %58

58:                                               ; preds = %58, %55
  %.0 = phi i32 [ %54, %55 ], [ %61, %58 ]
  %59 = load ptr, ptr %6, align 8, !tbaa !17
  %60 = getelementptr inbounds i8, ptr %59, i64 10
  store ptr %60, ptr %6, align 8, !tbaa !17
  call void @_ZN4agge12_GLOBAL__N_14setaEPNS_17vector_rasterizer4cellEiiii(ptr noundef %59, i32 noundef %11, i32 noundef %.0, i32 noundef %57, i32 noundef %56)
  %61 = add nsw i32 %.0, %46
  %.not122 = icmp eq i32 %61, %14
  br i1 %.not122, label %.loopexit, label %58, !llvm.loop !18

.loopexit:                                        ; preds = %58, %50
  %62 = load ptr, ptr %6, align 8, !tbaa !17
  %63 = sub nsw i32 %44, %48
  call void @_ZN4agge12_GLOBAL__N_13setEPNS_17vector_rasterizer4cellEiiii(ptr noundef %62, i32 noundef %11, i32 noundef %14, i32 noundef %52, i32 noundef %63)
  br label %80

64:                                               ; preds = %42
  %65 = sub nsw i32 %47, %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %10, i32 noundef %15)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN4agge13precise_deltaC2Eii(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %15, i32 noundef %10)
  call void @_ZN4agge13precise_delta8multiplyEi(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %65)
  %66 = call noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %67 = add nsw i32 %66, %1
  %.not117 = icmp eq i32 %47, %43
  br i1 %.not117, label %69, label %68

68:                                               ; preds = %64
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %12, i32 noundef %1, i32 noundef %67, i32 noundef %65)
  br label %69

69:                                               ; preds = %68, %64
  %70 = add nsw i32 %46, %12
  %.not118 = icmp eq i32 %70, %14
  br i1 %.not118, label %.loopexit123, label %71

71:                                               ; preds = %69
  %72 = sub nsw i32 %47, %48
  call void @_ZN4agge13precise_delta8multiplyEi(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %72)
  br label %73

73:                                               ; preds = %73, %71
  %.099 = phi i32 [ %67, %71 ], [ %75, %73 ]
  %.2 = phi i32 [ %70, %71 ], [ %76, %73 ]
  %74 = call noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %75 = add nsw i32 %74, %.099
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %.2, i32 noundef %.099, i32 noundef %75, i32 noundef %72)
  %76 = add nsw i32 %.2, %46
  %.not119 = icmp eq i32 %76, %14
  br i1 %.not119, label %.loopexit123, label %73, !llvm.loop !20

.loopexit123:                                     ; preds = %73, %69
  %.1100 = phi i32 [ %67, %69 ], [ %75, %73 ]
  %.not120 = icmp eq i32 %44, %48
  br i1 %.not120, label %79, label %77

77:                                               ; preds = %.loopexit123
  %78 = sub nsw i32 %44, %48
  call void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %14, i32 noundef %.1100, i32 noundef %3, i32 noundef %78)
  br label %79

79:                                               ; preds = %77, %.loopexit123
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  br label %80

80:                                               ; preds = %.loopexit, %79, %36, %41
  %81 = load ptr, ptr %6, align 8, !tbaa !17
  %82 = getelementptr inbounds i8, ptr %81, i64 10
  store ptr %82, ptr %6, align 8, !tbaa !17
  call void @_ZN4agge12_GLOBAL__N_17set_endINS_17vector_rasterizer4cellEEEvRNS_10pod_vectorIT_EENS6_8iteratorE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull %82)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %83

83:                                               ; preds = %5, %80
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4agge17vector_rasterizer13extend_boundsEii(ptr noundef nonnull align 8 dereferenceable(116), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden noundef ptr @_ZN4agge12_GLOBAL__N_19resize_byINS_10pod_vectorINS_17vector_rasterizer4cellEEEEEPS4_RT_i(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4agge8agge_maxIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_17jump_xyERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_13addEPNS_17vector_rasterizer4cellEii(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4agge17vector_rasterizer5hlineERPNS0_4cellERNS_13precise_deltaEiiii(ptr noundef nonnull align 8 dereferenceable(116), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_114add_and_commitERPNS_17vector_rasterizer4cellEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_14setaEPNS_17vector_rasterizer4cellEiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_13setEPNS_17vector_rasterizer4cellEiiii(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4agge13precise_delta4nextEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare hidden void @_ZN4agge12_GLOBAL__N_17set_endINS_17vector_rasterizer4cellEEEvRNS_10pod_vectorIT_EENS6_8iteratorE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { alwaysinline 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 = { 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 = { alwaysinline 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 = { 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, !12, i64 112}
!6 = !{!"_ZTSN4agge17vector_rasterizerE", !7, i64 0, !11, i64 24, !11, i64 48, !7, i64 72, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112}
!7 = !{!"_ZTSN4agge10pod_vectorINS_17vector_rasterizer4cellEEE", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN4agge10pod_vectorIjEE", !8, i64 0, !8, i64 8, !8, i64 16}
!12 = !{!"int", !9, i64 0}
!13 = !{!6, !12, i64 104}
!14 = !{!6, !12, i64 100}
!15 = !{!6, !12, i64 108}
!16 = !{!6, !12, i64 96}
!17 = !{!8, !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass