; LLVM IR from Try/Tempest :: Engine/thirdparty/squish (clusterfit)

; 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.squish::Vec4" = type { float, float, float, float }
%"class.squish::ColourFit" = type <{ ptr, ptr, i32, [4 x i8] }>
%"class.squish::ClusterFit" = type { %"class.squish::ColourFit.base", i32, %"class.squish::Vec3", [128 x i8], [16 x %"class.squish::Vec4"], %"class.squish::Vec4", %"class.squish::Vec4", %"class.squish::Vec4", [4 x i8] }
%"class.squish::ColourFit.base" = type <{ ptr, ptr, i32 }>
%"class.squish::Vec3" = type { float, 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: mustprogress nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16), float noundef) unnamed_addr #1 align 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) #2

; 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 @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6squish9ColourSet10GetWeightsEv(ptr noundef nonnull align 4 dereferenceable(325)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, i32 noundef %2) #3 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca [16 x float], align 16
  %11 = alloca ptr, align 8
  %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 ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.squish::Vec4", align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.squish::Vec4", align 4
  %26 = alloca %"class.squish::Vec4", align 4
  %27 = alloca %"class.squish::Vec4", align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %28 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %29 = getelementptr inbounds %"class.squish::ColourFit", ptr %28, i32 0, i32 1
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = call noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325) %30)
  store i32 %31, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %32 = getelementptr inbounds %"class.squish::ColourFit", ptr %28, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = call noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325) %33)
  store ptr %34, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %35 = getelementptr inbounds %"class.squish::ClusterFit", ptr %28, i32 0, i32 3
  %36 = getelementptr inbounds [128 x i8], ptr %35, i64 0, i64 0
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = mul nsw i32 16, %37
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %36, i64 %39
  store ptr %40, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %62, %3
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %65

46:                                               ; preds = %41
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = load i32, ptr %12, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds %"class.squish::Vec3", ptr %47, i64 %49
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = call noundef float @_ZN6squish3DotERKNS_4Vec3ES2_(ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(12) %51)
  %53 = load i32, ptr %12, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %54
  store float %52, ptr %55, align 4, !tbaa !13
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = trunc i32 %56 to i8
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds i8, ptr %58, i64 %60
  store i8 %57, ptr %61, align 1, !tbaa !15
  br label %62

62:                                               ; preds = %46
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %12, align 4, !tbaa !9
  br label %41, !llvm.loop !16

65:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %111, %65
  %67 = load i32, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %114

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %72 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %72, ptr %15, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %107, %71
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = icmp sgt i32 %74, 0
  br i1 %75, label %76, label %87

76:                                               ; preds = %73
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %78
  %80 = load float, ptr %79, align 4, !tbaa !13
  %81 = load i32, ptr %15, align 4, !tbaa !9
  %82 = sub nsw i32 %81, 1
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %83
  %85 = load float, ptr %84, align 4, !tbaa !13
  %86 = fcmp olt float %80, %85
  br label %87

87:                                               ; preds = %76, %73
  %88 = phi i1 [ false, %73 ], [ %86, %76 ]
  br i1 %88, label %90, label %89

89:                                               ; preds = %87
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %110

90:                                               ; preds = %87
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %92
  %94 = load i32, ptr %15, align 4, !tbaa !9
  %95 = sub nsw i32 %94, 1
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [16 x float], ptr %10, i64 0, i64 %96
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %93, ptr noundef nonnull align 4 dereferenceable(4) %97) #6
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds i8, ptr %98, i64 %100
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = load i32, ptr %15, align 4, !tbaa !9
  %104 = sub nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i8, ptr %102, i64 %105
  call void @_ZSt4swapIhENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 1 dereferenceable(1) %101, ptr noundef nonnull align 1 dereferenceable(1) %106) #6
  br label %107

107:                                              ; preds = %90
  %108 = load i32, ptr %15, align 4, !tbaa !9
  %109 = add nsw i32 %108, -1
  store i32 %109, ptr %15, align 4, !tbaa !9
  br label %73, !llvm.loop !18

110:                                              ; preds = %89
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %13, align 4, !tbaa !9
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %13, align 4, !tbaa !9
  br label %66, !llvm.loop !19

114:                                              ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %160, %114
  %116 = load i32, ptr %16, align 4, !tbaa !9
  %117 = load i32, ptr %7, align 4, !tbaa !9
  %118 = icmp slt i32 %116, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  store i32 11, ptr %14, align 4
  br label %163

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %121 = getelementptr inbounds %"class.squish::ClusterFit", ptr %28, i32 0, i32 3
  %122 = getelementptr inbounds [128 x i8], ptr %121, i64 0, i64 0
  %123 = load i32, ptr %16, align 4, !tbaa !9
  %124 = mul nsw i32 16, %123
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i8, ptr %122, i64 %125
  store ptr %126, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 1, ptr %18, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %127

127:                                              ; preds = %148, %120
  %128 = load i32, ptr %19, align 4, !tbaa !9
  %129 = load i32, ptr %8, align 4, !tbaa !9
  %130 = icmp slt i32 %128, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 14, ptr %14, align 4
  br label %151

132:                                              ; preds = %127
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = load i32, ptr %19, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds i8, ptr %133, i64 %135
  %137 = load i8, ptr %136, align 1, !tbaa !15
  %138 = zext i8 %137 to i32
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds i8, ptr %139, i64 %141
  %143 = load i8, ptr %142, align 1, !tbaa !15
  %144 = zext i8 %143 to i32
  %145 = icmp ne i32 %138, %144
  br i1 %145, label %146, label %147

146:                                              ; preds = %132
  store i8 0, ptr %18, align 1, !tbaa !20
  store i32 14, ptr %14, align 4
  br label %151

147:                                              ; preds = %132
  br label %148

148:                                              ; preds = %147
  %149 = load i32, ptr %19, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %19, align 4, !tbaa !9
  br label %127, !llvm.loop !22

151:                                              ; preds = %146, %131
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %152

152:                                              ; preds = %151
  %153 = load i8, ptr %18, align 1, !tbaa !20, !range !23, !noundef !24
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %156

155:                                              ; preds = %152
  store i1 false, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %157

156:                                              ; preds = %152
  store i32 0, ptr %14, align 4
  br label %157

157:                                              ; preds = %156, %155
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %158 = load i32, ptr %14, align 4
  switch i32 %158, label %163 [
    i32 0, label %159
  ]

159:                                              ; preds = %157
  br label %160

160:                                              ; preds = %159
  %161 = load i32, ptr %16, align 4, !tbaa !9
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %16, align 4, !tbaa !9
  br label %115, !llvm.loop !25

163:                                              ; preds = %157, %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  %164 = load i32, ptr %14, align 4
  switch i32 %164, label %220 [
    i32 11, label %165
  ]

165:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %166 = getelementptr inbounds %"class.squish::ColourFit", ptr %28, i32 0, i32 1
  %167 = load ptr, ptr %166, align 8, !tbaa !11
  %168 = call noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325) %167)
  store ptr %168, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %169 = getelementptr inbounds %"class.squish::ColourFit", ptr %28, i32 0, i32 1
  %170 = load ptr, ptr %169, align 8, !tbaa !11
  %171 = call noundef ptr @_ZNK6squish9ColourSet10GetWeightsEv(ptr noundef nonnull align 4 dereferenceable(325) %170)
  store ptr %171, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef 0.000000e+00)
  %172 = getelementptr inbounds %"class.squish::ClusterFit", ptr %28, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %172, ptr align 4 %22, i64 16, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %216, %165
  %174 = load i32, ptr %23, align 4, !tbaa !9
  %175 = load i32, ptr %8, align 4, !tbaa !9
  %176 = icmp slt i32 %174, %175
  br i1 %176, label %178, label %177

177:                                              ; preds = %173
  store i32 17, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %219

178:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load i32, ptr %23, align 4, !tbaa !9
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i8, ptr %179, i64 %181
  %183 = load i8, ptr %182, align 1, !tbaa !15
  %184 = zext i8 %183 to i32
  store i32 %184, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %185 = load ptr, ptr %20, align 8, !tbaa !5
  %186 = load i32, ptr %24, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds %"class.squish::Vec3", ptr %185, i64 %187
  %189 = call noundef float @_ZNK6squish4Vec31XEv(ptr noundef nonnull align 4 dereferenceable(12) %188)
  %190 = load ptr, ptr %20, align 8, !tbaa !5
  %191 = load i32, ptr %24, align 4, !tbaa !9
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds %"class.squish::Vec3", ptr %190, i64 %192
  %194 = call noundef float @_ZNK6squish4Vec31YEv(ptr noundef nonnull align 4 dereferenceable(12) %193)
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  %196 = load i32, ptr %24, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds %"class.squish::Vec3", ptr %195, i64 %197
  %199 = call noundef float @_ZNK6squish4Vec31ZEv(ptr noundef nonnull align 4 dereferenceable(12) %198)
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef %189, float noundef %194, float noundef %199, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %200 = load ptr, ptr %21, align 8, !tbaa !5
  %201 = load i32, ptr %24, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds float, ptr %200, i64 %202
  %204 = load float, ptr %203, align 4, !tbaa !13
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef %204)
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  %205 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(16) %26)
  %206 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %207 = extractvalue { <2 x float>, <2 x float> } %205, 0
  store <2 x float> %207, ptr %206, align 4
  %208 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %209 = extractvalue { <2 x float>, <2 x float> } %205, 1
  store <2 x float> %209, ptr %208, align 4
  %210 = getelementptr inbounds %"class.squish::ClusterFit", ptr %28, i32 0, i32 4
  %211 = load i32, ptr %23, align 4, !tbaa !9
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %210, i64 0, i64 %212
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %213, ptr align 4 %27, i64 16, i1 false), !tbaa.struct !26
  %214 = getelementptr inbounds %"class.squish::ClusterFit", ptr %28, i32 0, i32 5
  %215 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %214, ptr noundef nonnull align 4 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %216

216:                                              ; preds = %178
  %217 = load i32, ptr %23, align 4, !tbaa !9
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %23, align 4, !tbaa !9
  br label %173, !llvm.loop !27

219:                                              ; preds = %177
  store i1 true, ptr %4, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %220

220:                                              ; preds = %219, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %221 = load i1, ptr %4, align 1
  ret i1 %221
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6squish3DotERKNS_4Vec3ES2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIhENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31XEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31YEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31ZEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #5

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

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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, !6, i64 8}
!12 = !{!"_ZTSN6squish9ColourFitE", !6, i64 8, !10, i64 16}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!7, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = distinct !{!22, !17}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = distinct !{!25, !17}
!26 = !{i64 0, i64 4, !13, i64 4, i64 4, !13, i64 8, i64 4, !13, i64 12, i64 4, !13}
!27 = distinct !{!27, !17}


; 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.squish::Vec4" = type { float, float, float, float }
%"class.squish::Vec3" = type { float, 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 nounwind uwtable
declare dso_local void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16), float noundef) unnamed_addr #1 align 2

; 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: 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 @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6squish9ColourSet10GetWeightsEv(ptr noundef nonnull align 4 dereferenceable(325)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6squish10ClusterFit17ConstructOrderingERKNS_4Vec3Ei(ptr noundef nonnull align 8 dereferenceable(468) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, i32 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca [16 x float], align 16
  %5 = alloca %"class.squish::Vec4", align 4
  %6 = alloca %"class.squish::Vec4", align 4
  %7 = alloca %"class.squish::Vec4", align 4
  %8 = alloca %"class.squish::Vec4", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = tail call noundef i32 @_ZNK6squish9ColourSet8GetCountEv(ptr noundef nonnull align 4 dereferenceable(325) %10)
  %12 = load ptr, ptr %9, align 8, !tbaa !5
  %13 = tail call noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325) %12)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 36
  %15 = shl nsw i32 %2, 4
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds i8, ptr %14, i64 %16
  %18 = icmp sgt i32 %11, 0
  br i1 %18, label %.lr.ph.preheader, label %.preheader

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = zext nneg i32 %11 to i64
  br label %.lr.ph

.preheader72:                                     ; preds = %.lr.ph
  br i1 %18, label %.preheader71.preheader, label %.preheader

.preheader71.preheader:                           ; preds = %.preheader72
  %wide.trip.count103 = zext nneg i32 %11 to i64
  br label %.preheader71

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %19 = getelementptr inbounds %"class.squish::Vec3", ptr %13, i64 %indvars.iv
  %20 = tail call noundef float @_ZN6squish3DotERKNS_4Vec3ES2_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %21 = getelementptr inbounds [16 x float], ptr %4, i64 0, i64 %indvars.iv
  store float %20, ptr %21, align 4, !tbaa !11
  %22 = trunc i64 %indvars.iv to i8
  %23 = getelementptr inbounds i8, ptr %17, i64 %indvars.iv
  store i8 %22, ptr %23, align 1, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader72, label %.lr.ph, !llvm.loop !14

.preheader71:                                     ; preds = %.preheader71.preheader, %.critedge
  %indvars.iv96 = phi i64 [ 0, %.preheader71.preheader ], [ %indvars.iv.next97, %.critedge ]
  %24 = and i64 %indvars.iv96, 4294967295
  %.not = icmp eq i64 %24, 0
  br i1 %.not, label %.critedge, label %.lr.ph77

.preheader:                                       ; preds = %.critedge, %3, %.preheader72
  %.not6685 = icmp slt i32 %2, 1
  br i1 %.not6685, label %.critedge69, label %.lr.ph88

.lr.ph88:                                         ; preds = %.preheader
  br i1 %18, label %.lr.ph82.us.preheader, label %.critedge68

.lr.ph82.us.preheader:                            ; preds = %.lr.ph88
  %25 = zext nneg i32 %2 to i64
  %wide.trip.count113 = zext nneg i32 %2 to i64
  %wide.trip.count109 = zext nneg i32 %11 to i64
  br label %.lr.ph82.us

.lr.ph82.us:                                      ; preds = %.lr.ph82.us.preheader, %34
  %indvars.iv111 = phi i64 [ 0, %.lr.ph82.us.preheader ], [ %indvars.iv.next112, %34 ]
  %.not6687.us = phi i1 [ false, %.lr.ph82.us.preheader ], [ %.not66.us, %34 ]
  %26 = shl nsw i64 %indvars.iv111, 4
  %27 = getelementptr inbounds i8, ptr %14, i64 %26
  br label %29

28:                                               ; preds = %29
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %exitcond110.not = icmp eq i64 %indvars.iv.next106, %wide.trip.count109
  br i1 %exitcond110.not, label %.critedge68, label %29, !llvm.loop !16

29:                                               ; preds = %.lr.ph82.us, %28
  %indvars.iv105 = phi i64 [ 0, %.lr.ph82.us ], [ %indvars.iv.next106, %28 ]
  %30 = getelementptr inbounds i8, ptr %17, i64 %indvars.iv105
  %31 = load i8, ptr %30, align 1, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %27, i64 %indvars.iv105
  %33 = load i8, ptr %32, align 1, !tbaa !13
  %.not.us = icmp eq i8 %31, %33
  br i1 %.not.us, label %28, label %34

34:                                               ; preds = %29
  %indvars.iv.next112 = add nuw nsw i64 %indvars.iv111, 1
  %.not66.us = icmp uge i64 %indvars.iv.next112, %25
  %exitcond114 = icmp eq i64 %indvars.iv.next112, %wide.trip.count113
  br i1 %exitcond114, label %.critedge69, label %.lr.ph82.us, !llvm.loop !17

.lr.ph77:                                         ; preds = %.preheader71, %41
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %41 ], [ %indvars.iv96, %.preheader71 ]
  %35 = getelementptr inbounds [16 x float], ptr %4, i64 0, i64 %indvars.iv98
  %36 = load float, ptr %35, align 4, !tbaa !11
  %indvars.iv.next99 = add nsw i64 %indvars.iv98, -1
  %37 = and i64 %indvars.iv.next99, 4294967295
  %38 = getelementptr inbounds [16 x float], ptr %4, i64 0, i64 %37
  %39 = load float, ptr %38, align 4, !tbaa !11
  %40 = fcmp olt float %36, %39
  br i1 %40, label %41, label %.critedge

.critedge:                                        ; preds = %.lr.ph77, %41, %.preheader71
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %exitcond104.not = icmp eq i64 %indvars.iv.next97, %wide.trip.count103
  br i1 %exitcond104.not, label %.preheader, label %.preheader71, !llvm.loop !18

41:                                               ; preds = %.lr.ph77
  call void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %38) #6
  %42 = getelementptr inbounds i8, ptr %17, i64 %indvars.iv98
  %43 = getelementptr inbounds i8, ptr %17, i64 %37
  call void @_ZSt4swapIhENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 1 dereferenceable(1) %42, ptr noundef nonnull align 1 dereferenceable(1) %43) #6
  %44 = icmp sgt i64 %indvars.iv98, 1
  br i1 %44, label %.lr.ph77, label %.critedge, !llvm.loop !19

.critedge69:                                      ; preds = %34, %.preheader
  %.not66.lcssa = phi i1 [ true, %.preheader ], [ %.not66.us, %34 ]
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = call noundef ptr @_ZNK6squish9ColourSet9GetPointsEv(ptr noundef nonnull align 4 dereferenceable(325) %45)
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = call noundef ptr @_ZNK6squish9ColourSet10GetWeightsEv(ptr noundef nonnull align 4 dereferenceable(325) %47)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0.000000e+00)
  %49 = getelementptr inbounds i8, ptr %0, i64 420
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br i1 %18, label %.lr.ph92, label %.critedge68

.lr.ph92:                                         ; preds = %.critedge69
  %50 = getelementptr inbounds i8, ptr %8, i64 8
  %51 = getelementptr inbounds i8, ptr %0, i64 164
  %wide.trip.count119 = zext nneg i32 %11 to i64
  br label %52

52:                                               ; preds = %.lr.ph92, %52
  %indvars.iv115 = phi i64 [ 0, %.lr.ph92 ], [ %indvars.iv.next116, %52 ]
  %53 = getelementptr inbounds i8, ptr %17, i64 %indvars.iv115
  %54 = load i8, ptr %53, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %55 = zext i8 %54 to i64
  %56 = getelementptr inbounds %"class.squish::Vec3", ptr %46, i64 %55
  %57 = call noundef float @_ZNK6squish4Vec31XEv(ptr noundef nonnull align 4 dereferenceable(12) %56)
  %58 = call noundef float @_ZNK6squish4Vec31YEv(ptr noundef nonnull align 4 dereferenceable(12) %56)
  %59 = call noundef float @_ZNK6squish4Vec31ZEv(ptr noundef nonnull align 4 dereferenceable(12) %56)
  call void @_ZN6squish4Vec4C2Effff(ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %57, float noundef %58, float noundef %59, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %60 = getelementptr inbounds float, ptr %48, i64 %55
  %61 = load float, ptr %60, align 4, !tbaa !11
  call void @_ZN6squish4Vec4C2Ef(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef %61)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  %62 = call { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16) %6, ptr noundef nonnull align 4 dereferenceable(16) %7)
  %63 = extractvalue { <2 x float>, <2 x float> } %62, 0
  store <2 x float> %63, ptr %8, align 8
  %64 = extractvalue { <2 x float>, <2 x float> } %62, 1
  store <2 x float> %64, ptr %50, align 8
  %65 = getelementptr inbounds [16 x %"class.squish::Vec4"], ptr %51, i64 0, i64 %indvars.iv115
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %65, ptr noundef nonnull align 8 dereferenceable(16) %8, i64 16, i1 false), !tbaa.struct !20
  %66 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN6squish4Vec4pLERKS0_(ptr noundef nonnull align 4 dereferenceable(16) %49, ptr noundef nonnull align 4 dereferenceable(16) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %exitcond120.not = icmp eq i64 %indvars.iv.next116, %wide.trip.count119
  br i1 %exitcond120.not, label %.critedge68, label %52, !llvm.loop !21

.critedge68:                                      ; preds = %28, %52, %.lr.ph88, %.critedge69
  %.not6674 = phi i1 [ %.not66.lcssa, %.critedge69 ], [ false, %.lr.ph88 ], [ %.not66.lcssa, %52 ], [ %.not6687.us, %28 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #6
  ret i1 %.not6674
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6squish3DotERKNS_4Vec3ES2_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIfENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIhENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31XEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31YEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6squish4Vec31ZEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, <2 x float> } @_ZN6squishmlERKNS_4Vec4ES2_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

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

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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #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, !7, i64 8}
!6 = !{!"_ZTSN6squish9ColourFitE", !7, i64 8, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11, i64 12, i64 4, !11}
!21 = distinct !{!21, !15}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass