; LLVM IR from ARM-software/Arm-2D :: Library/Source (arm_2d)

; 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.arm_2d_region_t = type { %union.anon.34, %union.anon.35 }
%union.anon.34 = type { %struct.arm_2d_location_t }
%struct.arm_2d_location_t = type { i16, i16 }
%union.anon.35 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }
%struct.arm_2d_tile_t = type { %union.anon.24, %union.anon.33, %union.anon.36 }
%union.anon.24 = type { %struct.anon.25 }
%struct.anon.25 = type { i8, %union.arm_2d_color_info_t, %union.anon.26 }
%union.arm_2d_color_info_t = type { %struct.anon.3 }
%struct.anon.3 = type { i8 }
%union.anon.26 = type { i16 }
%union.anon.33 = type { %struct.arm_2d_region_t }
%union.anon.36 = type { ptr }

@.str.7 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy = external hidden unnamed_addr constant [116 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @arm_2d_region_intersect(ptr noundef nonnull, ptr noundef nonnull, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @arm_2d_sw_normal_root_tile_copy(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef %2, i8 noundef zeroext %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %struct.arm_2d_region_t, align 2
  %10 = alloca i32, align 4
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i8 %3, ptr %8, align 1, !tbaa !9
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = icmp ne ptr null, %21
  br i1 %22, label %23, label %24

23:                                               ; preds = %4
  br label %25

24:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.7, i32 noundef 899, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

25:                                               ; preds = %23
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = icmp ne ptr null, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %25
  br label %30

29:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.7, i32 noundef 900, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

30:                                               ; preds = %28
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %31, i32 0, i32 0
  %33 = load i8, ptr %32, align 8
  %34 = and i8 %33, 1
  %35 = icmp ne i8 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %30
  br label %38

37:                                               ; preds = %30
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.7, i32 noundef 901, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

38:                                               ; preds = %36
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %39, i32 0, i32 0
  %41 = load i8, ptr %40, align 8
  %42 = and i8 %41, 1
  %43 = icmp ne i8 %42, 0
  br i1 %43, label %44, label %45

44:                                               ; preds = %38
  br label %46

45:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.24, ptr noundef @.str.7, i32 noundef 902, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

46:                                               ; preds = %44
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %47, i32 0, i32 0
  %49 = load i8, ptr %48, align 8
  %50 = lshr i8 %49, 3
  %51 = and i8 %50, 1
  %52 = zext i8 %51 to i32
  %53 = icmp eq i32 0, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %46
  br label %56

55:                                               ; preds = %46
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.7, i32 noundef 903, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

56:                                               ; preds = %54
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %57, i32 0, i32 0
  %59 = load i8, ptr %58, align 8
  %60 = lshr i8 %59, 3
  %61 = and i8 %60, 1
  %62 = zext i8 %61 to i32
  %63 = icmp eq i32 0, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %56
  br label %66

65:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.25, ptr noundef @.str.7, i32 noundef 904, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

66:                                               ; preds = %64
  %67 = load i8, ptr %8, align 1, !tbaa !9
  %68 = zext i8 %67 to i32
  %69 = icmp sgt i32 %68, 0
  br i1 %69, label %70, label %71

70:                                               ; preds = %66
  br label %72

71:                                               ; preds = %66
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.7, i32 noundef 906, ptr noundef @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %73 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 0
  call void @llvm.memset.p0.i64(ptr align 2 %73, i8 0, i64 4, i1 false)
  %74 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 1
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %75, i32 0, i32 1
  %77 = getelementptr inbounds %struct.arm_2d_region_t, ptr %76, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %74, ptr align 4 %77, i64 4, i1 false), !tbaa.struct !10
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = icmp eq ptr null, %78
  br i1 %79, label %80, label %81

80:                                               ; preds = %72
  store ptr %9, ptr %7, align 8, !tbaa !5
  br label %86

81:                                               ; preds = %72
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = call zeroext i1 @arm_2d_region_intersect(ptr noundef %9, ptr noundef %82, ptr noundef %9)
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 1, ptr %10, align 4
  br label %306

85:                                               ; preds = %81
  br label %86

86:                                               ; preds = %85, %80
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #6
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %87, i32 0, i32 1
  %89 = getelementptr inbounds %struct.arm_2d_region_t, ptr %88, i32 0, i32 1
  %90 = getelementptr inbounds %struct.arm_2d_size_t, ptr %89, i32 0, i32 1
  %91 = load i16, ptr %90, align 2, !tbaa !9
  %92 = sext i16 %91 to i32
  %93 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 1
  %94 = getelementptr inbounds %struct.arm_2d_size_t, ptr %93, i32 0, i32 1
  %95 = load i16, ptr %94, align 2, !tbaa !9
  %96 = sext i16 %95 to i32
  %97 = icmp slt i32 %92, %96
  br i1 %97, label %98, label %105

98:                                               ; preds = %86
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %99, i32 0, i32 1
  %101 = getelementptr inbounds %struct.arm_2d_region_t, ptr %100, i32 0, i32 1
  %102 = getelementptr inbounds %struct.arm_2d_size_t, ptr %101, i32 0, i32 1
  %103 = load i16, ptr %102, align 2, !tbaa !9
  %104 = sext i16 %103 to i32
  br label %110

105:                                              ; preds = %86
  %106 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 1
  %107 = getelementptr inbounds %struct.arm_2d_size_t, ptr %106, i32 0, i32 1
  %108 = load i16, ptr %107, align 2, !tbaa !9
  %109 = sext i16 %108 to i32
  br label %110

110:                                              ; preds = %105, %98
  %111 = phi i32 [ %104, %98 ], [ %109, %105 ]
  %112 = trunc i32 %111 to i16
  store i16 %112, ptr %11, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %113, i32 0, i32 1
  %115 = getelementptr inbounds %struct.arm_2d_region_t, ptr %114, i32 0, i32 1
  %116 = getelementptr inbounds %struct.arm_2d_size_t, ptr %115, i32 0, i32 0
  %117 = load i16, ptr %116, align 4, !tbaa !9
  %118 = sext i16 %117 to i32
  %119 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 1
  %120 = getelementptr inbounds %struct.arm_2d_size_t, ptr %119, i32 0, i32 0
  %121 = load i16, ptr %120, align 2, !tbaa !9
  %122 = sext i16 %121 to i32
  %123 = icmp slt i32 %118, %122
  br i1 %123, label %124, label %131

124:                                              ; preds = %110
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %125, i32 0, i32 1
  %127 = getelementptr inbounds %struct.arm_2d_region_t, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds %struct.arm_2d_size_t, ptr %127, i32 0, i32 0
  %129 = load i16, ptr %128, align 4, !tbaa !9
  %130 = sext i16 %129 to i32
  br label %136

131:                                              ; preds = %110
  %132 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 1
  %133 = getelementptr inbounds %struct.arm_2d_size_t, ptr %132, i32 0, i32 0
  %134 = load i16, ptr %133, align 2, !tbaa !9
  %135 = sext i16 %134 to i32
  br label %136

136:                                              ; preds = %131, %124
  %137 = phi i32 [ %130, %124 ], [ %135, %131 ]
  %138 = trunc i32 %137 to i16
  store i16 %138, ptr %12, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %139 = load i16, ptr %12, align 2, !tbaa !11
  %140 = sext i16 %139 to i32
  %141 = load i8, ptr %8, align 1, !tbaa !9
  %142 = zext i8 %141 to i32
  %143 = mul nsw i32 %140, %142
  store i32 %143, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %144 = load ptr, ptr %5, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds %struct.arm_2d_region_t, ptr %145, i32 0, i32 1
  %147 = getelementptr inbounds %struct.arm_2d_size_t, ptr %146, i32 0, i32 0
  %148 = load i16, ptr %147, align 4, !tbaa !9
  %149 = sext i16 %148 to i32
  %150 = load i8, ptr %8, align 1, !tbaa !9
  %151 = zext i8 %150 to i32
  %152 = mul nsw i32 %149, %151
  store i32 %152, ptr %14, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %153, i32 0, i32 1
  %155 = getelementptr inbounds %struct.arm_2d_region_t, ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %struct.arm_2d_size_t, ptr %155, i32 0, i32 0
  %157 = load i16, ptr %156, align 4, !tbaa !9
  %158 = sext i16 %157 to i32
  %159 = load i8, ptr %8, align 1, !tbaa !9
  %160 = zext i8 %159 to i32
  %161 = mul nsw i32 %158, %160
  store i32 %161, ptr %15, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %162 = load ptr, ptr %6, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %162, i32 0, i32 2
  %164 = load i64, ptr %163, align 8, !tbaa !9
  %165 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 0
  %166 = getelementptr inbounds %struct.arm_2d_location_t, ptr %165, i32 0, i32 1
  %167 = load i16, ptr %166, align 2, !tbaa !9
  %168 = sext i16 %167 to i32
  %169 = load i32, ptr %15, align 4, !tbaa !13
  %170 = mul i32 %168, %169
  %171 = zext i32 %170 to i64
  %172 = add nsw i64 %164, %171
  %173 = getelementptr inbounds %struct.arm_2d_region_t, ptr %9, i32 0, i32 0
  %174 = getelementptr inbounds %struct.arm_2d_location_t, ptr %173, i32 0, i32 0
  %175 = load i16, ptr %174, align 2, !tbaa !9
  %176 = sext i16 %175 to i32
  %177 = load i8, ptr %8, align 1, !tbaa !9
  %178 = zext i8 %177 to i32
  %179 = mul nsw i32 %176, %178
  %180 = sext i32 %179 to i64
  %181 = add nsw i64 %172, %180
  store i64 %181, ptr %16, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.arm_2d_tile_t, ptr %182, i32 0, i32 2
  %184 = load i64, ptr %183, align 8, !tbaa !9
  store i64 %184, ptr %17, align 8, !tbaa !15
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.arm_2d_region_t, ptr %185, i32 0, i32 0
  %187 = getelementptr inbounds %struct.arm_2d_location_t, ptr %186, i32 0, i32 1
  %188 = load i16, ptr %187, align 2, !tbaa !9
  %189 = sext i16 %188 to i32
  %190 = icmp slt i32 %189, 0
  br i1 %190, label %191, label %203

191:                                              ; preds = %136
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.arm_2d_region_t, ptr %192, i32 0, i32 0
  %194 = getelementptr inbounds %struct.arm_2d_location_t, ptr %193, i32 0, i32 1
  %195 = load i16, ptr %194, align 2, !tbaa !9
  %196 = sext i16 %195 to i32
  %197 = sub nsw i32 0, %196
  %198 = load i32, ptr %14, align 4, !tbaa !13
  %199 = mul i32 %197, %198
  %200 = zext i32 %199 to i64
  %201 = load i64, ptr %17, align 8, !tbaa !15
  %202 = add i64 %201, %200
  store i64 %202, ptr %17, align 8, !tbaa !15
  br label %203

203:                                              ; preds = %191, %136
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.arm_2d_region_t, ptr %204, i32 0, i32 0
  %206 = getelementptr inbounds %struct.arm_2d_location_t, ptr %205, i32 0, i32 0
  %207 = load i16, ptr %206, align 2, !tbaa !9
  %208 = sext i16 %207 to i32
  %209 = icmp slt i32 %208, 0
  br i1 %209, label %210, label %223

210:                                              ; preds = %203
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.arm_2d_region_t, ptr %211, i32 0, i32 0
  %213 = getelementptr inbounds %struct.arm_2d_location_t, ptr %212, i32 0, i32 0
  %214 = load i16, ptr %213, align 2, !tbaa !9
  %215 = sext i16 %214 to i32
  %216 = sub nsw i32 0, %215
  %217 = load i8, ptr %8, align 1, !tbaa !9
  %218 = zext i8 %217 to i32
  %219 = mul nsw i32 %216, %218
  %220 = sext i32 %219 to i64
  %221 = load i64, ptr %17, align 8, !tbaa !15
  %222 = add i64 %221, %220
  store i64 %222, ptr %17, align 8, !tbaa !15
  br label %223

223:                                              ; preds = %210, %203
  %224 = load i8, ptr %8, align 1, !tbaa !9
  %225 = zext i8 %224 to i32
  switch i32 %225, label %304 [
    i32 3, label %226
    i32 1, label %226
    i32 2, label %252
    i32 4, label %278
  ]

226:                                              ; preds = %223, %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 0, ptr %18, align 8, !tbaa !15
  br label %227

227:                                              ; preds = %248, %226
  %228 = load i64, ptr %18, align 8, !tbaa !15
  %229 = load i16, ptr %11, align 2, !tbaa !11
  %230 = sext i16 %229 to i64
  %231 = icmp slt i64 %228, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %227
  store i32 3, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %251

233:                                              ; preds = %227
  %234 = load i64, ptr %16, align 8, !tbaa !15
  %235 = inttoptr i64 %234 to ptr
  %236 = load i64, ptr %17, align 8, !tbaa !15
  %237 = inttoptr i64 %236 to ptr
  %238 = load i32, ptr %13, align 4, !tbaa !13
  %239 = zext i32 %238 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %235, ptr align 1 %237, i64 %239, i1 false)
  %240 = load i32, ptr %14, align 4, !tbaa !13
  %241 = zext i32 %240 to i64
  %242 = load i64, ptr %17, align 8, !tbaa !15
  %243 = add i64 %242, %241
  store i64 %243, ptr %17, align 8, !tbaa !15
  %244 = load i32, ptr %15, align 4, !tbaa !13
  %245 = zext i32 %244 to i64
  %246 = load i64, ptr %16, align 8, !tbaa !15
  %247 = add i64 %246, %245
  store i64 %247, ptr %16, align 8, !tbaa !15
  br label %248

248:                                              ; preds = %233
  %249 = load i64, ptr %18, align 8, !tbaa !15
  %250 = add nsw i64 %249, 1
  store i64 %250, ptr %18, align 8, !tbaa !15
  br label %227, !llvm.loop !17

251:                                              ; preds = %232
  br label %305

252:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store i64 0, ptr %19, align 8, !tbaa !15
  br label %253

253:                                              ; preds = %274, %252
  %254 = load i64, ptr %19, align 8, !tbaa !15
  %255 = load i16, ptr %11, align 2, !tbaa !11
  %256 = sext i16 %255 to i64
  %257 = icmp slt i64 %254, %256
  br i1 %257, label %259, label %258

258:                                              ; preds = %253
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %277

259:                                              ; preds = %253
  %260 = load i64, ptr %16, align 8, !tbaa !15
  %261 = inttoptr i64 %260 to ptr
  %262 = load i64, ptr %17, align 8, !tbaa !15
  %263 = inttoptr i64 %262 to ptr
  %264 = load i32, ptr %13, align 4, !tbaa !13
  %265 = zext i32 %264 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %261, ptr align 2 %263, i64 %265, i1 false)
  %266 = load i32, ptr %14, align 4, !tbaa !13
  %267 = zext i32 %266 to i64
  %268 = load i64, ptr %17, align 8, !tbaa !15
  %269 = add i64 %268, %267
  store i64 %269, ptr %17, align 8, !tbaa !15
  %270 = load i32, ptr %15, align 4, !tbaa !13
  %271 = zext i32 %270 to i64
  %272 = load i64, ptr %16, align 8, !tbaa !15
  %273 = add i64 %272, %271
  store i64 %273, ptr %16, align 8, !tbaa !15
  br label %274

274:                                              ; preds = %259
  %275 = load i64, ptr %19, align 8, !tbaa !15
  %276 = add nsw i64 %275, 1
  store i64 %276, ptr %19, align 8, !tbaa !15
  br label %253, !llvm.loop !19

277:                                              ; preds = %258
  br label %305

278:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !15
  br label %279

279:                                              ; preds = %300, %278
  %280 = load i64, ptr %20, align 8, !tbaa !15
  %281 = load i16, ptr %11, align 2, !tbaa !11
  %282 = sext i16 %281 to i64
  %283 = icmp slt i64 %280, %282
  br i1 %283, label %285, label %284

284:                                              ; preds = %279
  store i32 9, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %303

285:                                              ; preds = %279
  %286 = load i64, ptr %16, align 8, !tbaa !15
  %287 = inttoptr i64 %286 to ptr
  %288 = load i64, ptr %17, align 8, !tbaa !15
  %289 = inttoptr i64 %288 to ptr
  %290 = load i32, ptr %13, align 4, !tbaa !13
  %291 = zext i32 %290 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %287, ptr align 4 %289, i64 %291, i1 false)
  %292 = load i32, ptr %14, align 4, !tbaa !13
  %293 = zext i32 %292 to i64
  %294 = load i64, ptr %17, align 8, !tbaa !15
  %295 = add i64 %294, %293
  store i64 %295, ptr %17, align 8, !tbaa !15
  %296 = load i32, ptr %15, align 4, !tbaa !13
  %297 = zext i32 %296 to i64
  %298 = load i64, ptr %16, align 8, !tbaa !15
  %299 = add i64 %298, %297
  store i64 %299, ptr %16, align 8, !tbaa !15
  br label %300

300:                                              ; preds = %285
  %301 = load i64, ptr %20, align 8, !tbaa !15
  %302 = add nsw i64 %301, 1
  store i64 %302, ptr %20, align 8, !tbaa !15
  br label %279, !llvm.loop !20

303:                                              ; preds = %284
  br label %305

304:                                              ; preds = %223
  br label %305

305:                                              ; preds = %304, %303, %277, %251
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, 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 2, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #6
  store i32 0, ptr %10, align 4
  br label %306

306:                                              ; preds = %305, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %307 = load i32, ptr %10, align 4
  switch i32 %307, label %309 [
    i32 0, label %308
    i32 1, label %308
  ]

308:                                              ; preds = %306, %306
  ret void

309:                                              ; preds = %306
  unreachable
}

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { noreturn nounwind }
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/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{i64 0, i64 2, !11, i64 2, i64 2, !11}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


; 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.arm_2d_region_t = type { %union.anon.34, %union.anon.35 }
%union.anon.34 = type { %struct.arm_2d_location_t }
%struct.arm_2d_location_t = type { i16, i16 }
%union.anon.35 = type { %struct.arm_2d_size_t }
%struct.arm_2d_size_t = type { i16, i16 }

@.str.7 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy = external hidden unnamed_addr constant [116 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [20 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @arm_2d_region_intersect(ptr noundef nonnull, ptr noundef nonnull, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @arm_2d_sw_normal_root_tile_copy(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1, ptr noundef %2, i8 noundef zeroext %3) local_unnamed_addr #3 {
  %5 = alloca %struct.arm_2d_region_t, align 4
  %6 = load i8, ptr %0, align 8
  %7 = and i8 %6, 1
  %.not = icmp eq i8 %7, 0
  %.068.sroa.phi76.sroa.gep = getelementptr inbounds i8, ptr %2, i64 2
  %.068.sroa.phi76.sroa.gep88 = getelementptr inbounds i8, ptr %5, i64 2
  br i1 %.not, label %8, label %9

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.7, i32 noundef 901, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

9:                                                ; preds = %4
  %10 = load i8, ptr %1, align 8
  %11 = and i8 %10, 1
  %.not85 = icmp eq i8 %11, 0
  br i1 %.not85, label %12, label %13

12:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.7, i32 noundef 902, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

13:                                               ; preds = %9
  %14 = and i8 %6, 8
  %15 = icmp eq i8 %14, 0
  br i1 %15, label %17, label %16

16:                                               ; preds = %13
  tail call void @__assert_fail(ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.7, i32 noundef 903, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

17:                                               ; preds = %13
  %18 = zext i8 %3 to i32
  %.not86 = icmp eq i8 %3, 0
  br i1 %.not86, label %19, label %20

19:                                               ; preds = %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.7, i32 noundef 906, ptr noundef nonnull @__PRETTY_FUNCTION__.arm_2d_sw_normal_root_tile_copy) #5
  unreachable

20:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4
  %21 = getelementptr inbounds i8, ptr %5, i64 4
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load i32, ptr %22, align 4
  store i32 %23, ptr %21, align 4
  %24 = icmp eq ptr %2, null
  %25 = lshr i32 %23, 16
  %26 = trunc nuw i32 %25 to i16
  %27 = trunc i32 %23 to i16
  br i1 %24, label %32, label %28

28:                                               ; preds = %20
  %29 = call zeroext i1 @arm_2d_region_intersect(ptr noundef %5, ptr noundef %2, ptr noundef nonnull %5)
  br i1 %29, label %._crit_edge, label %.loopexit

._crit_edge:                                      ; preds = %28
  %.phi.trans.insert = getelementptr inbounds i8, ptr %5, i64 6
  %.pre = load i16, ptr %.phi.trans.insert, align 2, !tbaa !5
  %.pre110 = load i16, ptr %21, align 4, !tbaa !5
  %.pre111 = load i16, ptr %22, align 4, !tbaa !5
  %.pre112 = load i16, ptr %.068.sroa.phi76.sroa.gep88, align 2, !tbaa !5
  %.pre113 = load i16, ptr %5, align 4, !tbaa !5
  %.pre114 = load i16, ptr %.068.sroa.phi76.sroa.gep, align 2, !tbaa !5
  %30 = sext i16 %.pre112 to i32
  %31 = sext i16 %.pre113 to i32
  br label %32

32:                                               ; preds = %._crit_edge, %20
  %33 = phi i16 [ %.pre114, %._crit_edge ], [ 0, %20 ]
  %34 = phi i32 [ %31, %._crit_edge ], [ 0, %20 ]
  %35 = phi i32 [ %30, %._crit_edge ], [ 0, %20 ]
  %36 = phi i16 [ %.pre111, %._crit_edge ], [ %27, %20 ]
  %37 = phi i16 [ %.pre110, %._crit_edge ], [ %27, %20 ]
  %38 = phi i16 [ %.pre, %._crit_edge ], [ %26, %20 ]
  %.068.sroa.phi76 = phi ptr [ %2, %._crit_edge ], [ %5, %20 ]
  %39 = getelementptr inbounds i8, ptr %0, i64 8
  %40 = getelementptr inbounds i8, ptr %0, i64 10
  %41 = load i16, ptr %40, align 2, !tbaa !5
  %. = call i16 @llvm.smin.i16(i16 %41, i16 %38)
  %42 = load i16, ptr %39, align 4, !tbaa !5
  %.in87 = call i16 @llvm.smin.i16(i16 %42, i16 %37)
  %43 = sext i16 %.in87 to i32
  %44 = mul nsw i32 %43, %18
  %45 = sext i16 %42 to i32
  %46 = mul nsw i32 %45, %18
  %47 = sext i16 %36 to i32
  %48 = mul nsw i32 %47, %18
  %49 = getelementptr inbounds i8, ptr %1, i64 16
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = mul i32 %48, %35
  %52 = zext i32 %51 to i64
  %53 = add nsw i64 %50, %52
  %54 = mul nsw i32 %34, %18
  %55 = sext i32 %54 to i64
  %56 = add nsw i64 %53, %55
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  %58 = load i64, ptr %57, align 8, !tbaa !5
  %59 = icmp slt i16 %33, 0
  %60 = sext i16 %33 to i32
  %61 = mul i32 %46, %60
  %62 = sub i32 0, %61
  %63 = zext i32 %62 to i64
  %64 = select i1 %59, i64 %63, i64 0
  %.064 = add i64 %58, %64
  %65 = load i16, ptr %.068.sroa.phi76, align 2, !tbaa !5
  %66 = icmp slt i16 %65, 0
  %67 = sext i16 %65 to i32
  %68 = mul nsw i32 %18, %67
  %69 = sub nsw i32 0, %68
  %70 = zext nneg i32 %69 to i64
  %71 = select i1 %66, i64 %70, i64 0
  %.1 = add i64 %71, %.064
  switch i8 %3, label %.loopexit [
    i8 3, label %84
    i8 1, label %84
    i8 2, label %.preheader
    i8 4, label %.preheader93
  ]

.preheader93:                                     ; preds = %32
  %72 = sext i16 %. to i64
  %73 = icmp sgt i16 %., 0
  br i1 %73, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %.preheader93
  %74 = zext i32 %44 to i64
  %75 = zext i32 %46 to i64
  %76 = zext i32 %48 to i64
  %xtraiter = and i64 %72, 1
  %77 = icmp eq i16 %., 1
  br i1 %77, label %.loopexit.loopexit120.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %72, 32766
  br label %109

.preheader:                                       ; preds = %32
  %78 = sext i16 %. to i64
  %79 = icmp sgt i16 %., 0
  br i1 %79, label %.lr.ph101, label %.loopexit

.lr.ph101:                                        ; preds = %.preheader
  %80 = zext i32 %44 to i64
  %81 = zext i32 %46 to i64
  %82 = zext i32 %48 to i64
  %xtraiter122 = and i64 %78, 1
  %83 = icmp eq i16 %., 1
  br i1 %83, label %.loopexit.loopexit119.unr-lcssa, label %.lr.ph101.new

.lr.ph101.new:                                    ; preds = %.lr.ph101
  %unroll_iter124 = and i64 %78, 32766
  br label %100

84:                                               ; preds = %32, %32
  %85 = sext i16 %. to i64
  %86 = icmp sgt i16 %., 0
  br i1 %86, label %.lr.ph105, label %.loopexit

.lr.ph105:                                        ; preds = %84
  %87 = zext i32 %44 to i64
  %88 = zext i32 %46 to i64
  %89 = zext i32 %48 to i64
  %xtraiter127 = and i64 %85, 1
  %90 = icmp eq i16 %., 1
  br i1 %90, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph105.new

.lr.ph105.new:                                    ; preds = %.lr.ph105
  %unroll_iter129 = and i64 %85, 32766
  br label %91

91:                                               ; preds = %91, %.lr.ph105.new
  %.2103 = phi i64 [ %.1, %.lr.ph105.new ], [ %98, %91 ]
  %.065102 = phi i64 [ %56, %.lr.ph105.new ], [ %99, %91 ]
  %niter130 = phi i64 [ 0, %.lr.ph105.new ], [ %niter130.next.1, %91 ]
  %92 = inttoptr i64 %.065102 to ptr
  %93 = inttoptr i64 %.2103 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %92, ptr align 1 %93, i64 %87, i1 false)
  %94 = add i64 %.2103, %88
  %95 = add i64 %.065102, %89
  %96 = inttoptr i64 %95 to ptr
  %97 = inttoptr i64 %94 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %96, ptr align 1 %97, i64 %87, i1 false)
  %98 = add i64 %94, %88
  %99 = add i64 %95, %89
  %niter130.next.1 = add i64 %niter130, 2
  %niter130.ncmp.1 = icmp eq i64 %niter130.next.1, %unroll_iter129
  br i1 %niter130.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %91, !llvm.loop !8

100:                                              ; preds = %100, %.lr.ph101.new
  %.399 = phi i64 [ %.1, %.lr.ph101.new ], [ %107, %100 ]
  %.16698 = phi i64 [ %56, %.lr.ph101.new ], [ %108, %100 ]
  %niter125 = phi i64 [ 0, %.lr.ph101.new ], [ %niter125.next.1, %100 ]
  %101 = inttoptr i64 %.16698 to ptr
  %102 = inttoptr i64 %.399 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %101, ptr align 2 %102, i64 %80, i1 false)
  %103 = add i64 %.399, %81
  %104 = add i64 %.16698, %82
  %105 = inttoptr i64 %104 to ptr
  %106 = inttoptr i64 %103 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %105, ptr align 2 %106, i64 %80, i1 false)
  %107 = add i64 %103, %81
  %108 = add i64 %104, %82
  %niter125.next.1 = add i64 %niter125, 2
  %niter125.ncmp.1 = icmp eq i64 %niter125.next.1, %unroll_iter124
  br i1 %niter125.ncmp.1, label %.loopexit.loopexit119.unr-lcssa, label %100, !llvm.loop !10

109:                                              ; preds = %109, %.lr.ph.new
  %.496 = phi i64 [ %.1, %.lr.ph.new ], [ %116, %109 ]
  %.26795 = phi i64 [ %56, %.lr.ph.new ], [ %117, %109 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %109 ]
  %110 = inttoptr i64 %.26795 to ptr
  %111 = inttoptr i64 %.496 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %110, ptr align 4 %111, i64 %74, i1 false)
  %112 = add i64 %.496, %75
  %113 = add i64 %.26795, %76
  %114 = inttoptr i64 %113 to ptr
  %115 = inttoptr i64 %112 to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %114, ptr align 4 %115, i64 %74, i1 false)
  %116 = add i64 %112, %75
  %117 = add i64 %113, %76
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit120.unr-lcssa, label %109, !llvm.loop !11

.loopexit.loopexit.unr-lcssa:                     ; preds = %91, %.lr.ph105
  %.2103.unr = phi i64 [ %.1, %.lr.ph105 ], [ %98, %91 ]
  %.065102.unr = phi i64 [ %56, %.lr.ph105 ], [ %99, %91 ]
  %lcmp.mod128.not = icmp eq i64 %xtraiter127, 0
  br i1 %lcmp.mod128.not, label %.loopexit, label %.loopexit.loopexit.epilog-lcssa

.loopexit.loopexit.epilog-lcssa:                  ; preds = %.loopexit.loopexit.unr-lcssa
  %118 = inttoptr i64 %.065102.unr to ptr
  %119 = inttoptr i64 %.2103.unr to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %118, ptr align 1 %119, i64 %87, i1 false)
  br label %.loopexit

.loopexit.loopexit119.unr-lcssa:                  ; preds = %100, %.lr.ph101
  %.399.unr = phi i64 [ %.1, %.lr.ph101 ], [ %107, %100 ]
  %.16698.unr = phi i64 [ %56, %.lr.ph101 ], [ %108, %100 ]
  %lcmp.mod123.not = icmp eq i64 %xtraiter122, 0
  br i1 %lcmp.mod123.not, label %.loopexit, label %.loopexit.loopexit119.epilog-lcssa

.loopexit.loopexit119.epilog-lcssa:               ; preds = %.loopexit.loopexit119.unr-lcssa
  %120 = inttoptr i64 %.16698.unr to ptr
  %121 = inttoptr i64 %.399.unr to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %120, ptr align 2 %121, i64 %80, i1 false)
  br label %.loopexit

.loopexit.loopexit120.unr-lcssa:                  ; preds = %109, %.lr.ph
  %.496.unr = phi i64 [ %.1, %.lr.ph ], [ %116, %109 ]
  %.26795.unr = phi i64 [ %56, %.lr.ph ], [ %117, %109 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.loopexit.loopexit120.epilog-lcssa

.loopexit.loopexit120.epilog-lcssa:               ; preds = %.loopexit.loopexit120.unr-lcssa
  %122 = inttoptr i64 %.26795.unr to ptr
  %123 = inttoptr i64 %.496.unr to ptr
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %122, ptr align 4 %123, i64 %74, i1 false)
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit120.epilog-lcssa, %.loopexit.loopexit120.unr-lcssa, %.loopexit.loopexit119.epilog-lcssa, %.loopexit.loopexit119.unr-lcssa, %.loopexit.loopexit.epilog-lcssa, %.loopexit.loopexit.unr-lcssa, %.preheader93, %.preheader, %84, %32, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.smin.i16(i16, i16) #4

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { noreturn nounwind }
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = distinct !{!11, !9}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass