; LLVM IR from QiaoLiuHit/LSOTB-TIR :: vlfeat-0.9.19/src (test_gmm)

; 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._VlRand = type { [624 x i32], i32 }

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct._VlRand, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %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
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2500, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double 0x3EB0C6F7A0B5ED8D, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 1000, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  store i64 3, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 20, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 5, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store i64 1, ptr %17, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  store i64 5, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store i64 3, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store i64 20, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %30 = load i64, ptr %13, align 8, !tbaa !13
  %31 = mul i64 4, %30
  %32 = load i64, ptr %14, align 8, !tbaa !13
  %33 = mul i64 %31, %32
  %34 = call ptr @vl_malloc(i64 noundef %33)
  store ptr %34, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %35 = load i64, ptr %14, align 8, !tbaa !13
  %36 = mul i64 8, %35
  %37 = load i64, ptr %15, align 8, !tbaa !13
  %38 = mul i64 %36, %37
  %39 = call ptr @vl_malloc(i64 noundef %38)
  store ptr %39, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @vl_set_num_threads(i64 noundef 0)
  call void @vl_rand_init(ptr noundef %7)
  call void @vl_rand_seed(ptr noundef %7, i32 noundef 49000)
  store i64 0, ptr %8, align 8, !tbaa !13
  br label %40

40:                                               ; preds = %63, %2
  %41 = load i64, ptr %8, align 8, !tbaa !13
  %42 = load i64, ptr %13, align 8, !tbaa !13
  %43 = icmp ult i64 %41, %42
  br i1 %43, label %44, label %66

44:                                               ; preds = %40
  store i64 0, ptr %9, align 8, !tbaa !13
  br label %45

45:                                               ; preds = %59, %44
  %46 = load i64, ptr %9, align 8, !tbaa !13
  %47 = load i64, ptr %14, align 8, !tbaa !13
  %48 = icmp ult i64 %46, %47
  br i1 %48, label %49, label %62

49:                                               ; preds = %45
  %50 = call double @vl_rand_real3(ptr noundef %7)
  %51 = fptrunc double %50 to float
  %52 = load ptr, ptr %24, align 8, !tbaa !9
  %53 = load i64, ptr %8, align 8, !tbaa !13
  %54 = load i64, ptr %14, align 8, !tbaa !13
  %55 = mul i64 %53, %54
  %56 = load i64, ptr %9, align 8, !tbaa !13
  %57 = add i64 %55, %56
  %58 = getelementptr inbounds float, ptr %52, i64 %57
  store float %51, ptr %58, align 4, !tbaa !15
  br label %59

59:                                               ; preds = %49
  %60 = load i64, ptr %9, align 8, !tbaa !13
  %61 = add i64 %60, 1
  store i64 %61, ptr %9, align 8, !tbaa !13
  br label %45, !llvm.loop !17

62:                                               ; preds = %45
  br label %63

63:                                               ; preds = %62
  %64 = load i64, ptr %8, align 8, !tbaa !13
  %65 = add i64 %64, 1
  store i64 %65, ptr %8, align 8, !tbaa !13
  br label %40, !llvm.loop !19

66:                                               ; preds = %40
  %67 = load i64, ptr %14, align 8, !tbaa !13
  %68 = load i64, ptr %15, align 8, !tbaa !13
  %69 = call ptr @vl_gmm_new(i32 noundef 1, i64 noundef %67, i64 noundef %68)
  store ptr %69, ptr %11, align 8, !tbaa !9
  %70 = load i32, ptr %23, align 4, !tbaa !5
  switch i32 %70, label %149 [
    i32 0, label %71
    i32 1, label %85
    i32 2, label %87
  ]

71:                                               ; preds = %66
  %72 = call ptr @vl_kmeans_new(i32 noundef 1, i32 noundef 1)
  store ptr %72, ptr %6, align 8, !tbaa !9
  %73 = load ptr, ptr %6, align 8, !tbaa !9
  call void @vl_kmeans_set_verbosity(ptr noundef %73, i32 noundef 1)
  %74 = load ptr, ptr %6, align 8, !tbaa !9
  %75 = load i64, ptr %18, align 8, !tbaa !13
  call void @vl_kmeans_set_max_num_iterations(ptr noundef %74, i64 noundef %75)
  %76 = load ptr, ptr %6, align 8, !tbaa !9
  %77 = load i64, ptr %20, align 8, !tbaa !13
  call void @vl_kmeans_set_max_num_comparisons(ptr noundef %76, i64 noundef %77)
  %78 = load ptr, ptr %6, align 8, !tbaa !9
  %79 = load i64, ptr %19, align 8, !tbaa !13
  call void @vl_kmeans_set_num_trees(ptr noundef %78, i64 noundef %79)
  %80 = load ptr, ptr %6, align 8, !tbaa !9
  call void @vl_kmeans_set_algorithm(ptr noundef %80, i32 noundef 2)
  %81 = load ptr, ptr %6, align 8, !tbaa !9
  call void @vl_kmeans_set_initialization(ptr noundef %81, i32 noundef 0)
  %82 = load ptr, ptr %11, align 8, !tbaa !9
  call void @vl_gmm_set_initialization(ptr noundef %82, i32 noundef 0)
  %83 = load ptr, ptr %11, align 8, !tbaa !9
  %84 = load ptr, ptr %6, align 8, !tbaa !9
  call void @vl_gmm_set_kmeans_init_object(ptr noundef %83, ptr noundef %84)
  br label %150

85:                                               ; preds = %66
  %86 = load ptr, ptr %11, align 8, !tbaa !9
  call void @vl_gmm_set_initialization(ptr noundef %86, i32 noundef 1)
  br label %150

87:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %88 = load i64, ptr %15, align 8, !tbaa !13
  %89 = mul i64 4, %88
  %90 = load i64, ptr %14, align 8, !tbaa !13
  %91 = mul i64 %89, %90
  %92 = call ptr @vl_malloc(i64 noundef %91)
  store ptr %92, ptr %27, align 8, !tbaa !9
  %93 = load i64, ptr %15, align 8, !tbaa !13
  %94 = mul i64 4, %93
  %95 = call ptr @vl_malloc(i64 noundef %94)
  store ptr %95, ptr %29, align 8, !tbaa !9
  %96 = load i64, ptr %15, align 8, !tbaa !13
  %97 = mul i64 4, %96
  %98 = load i64, ptr %14, align 8, !tbaa !13
  %99 = mul i64 %97, %98
  %100 = call ptr @vl_malloc(i64 noundef %99)
  store ptr %100, ptr %28, align 8, !tbaa !9
  %101 = load ptr, ptr %11, align 8, !tbaa !9
  call void @vl_gmm_set_initialization(ptr noundef %101, i32 noundef 2)
  store i64 0, ptr %10, align 8, !tbaa !13
  br label %102

102:                                              ; preds = %139, %87
  %103 = load i64, ptr %10, align 8, !tbaa !13
  %104 = load i64, ptr %15, align 8, !tbaa !13
  %105 = icmp ult i64 %103, %104
  br i1 %105, label %106, label %142

106:                                              ; preds = %102
  store i64 0, ptr %9, align 8, !tbaa !13
  br label %107

107:                                              ; preds = %130, %106
  %108 = load i64, ptr %9, align 8, !tbaa !13
  %109 = load i64, ptr %14, align 8, !tbaa !13
  %110 = icmp ult i64 %108, %109
  br i1 %110, label %111, label %133

111:                                              ; preds = %107
  %112 = call double @vl_rand_real3(ptr noundef %7)
  %113 = fptrunc double %112 to float
  %114 = load ptr, ptr %28, align 8, !tbaa !9
  %115 = load i64, ptr %10, align 8, !tbaa !13
  %116 = load i64, ptr %14, align 8, !tbaa !13
  %117 = mul i64 %115, %116
  %118 = load i64, ptr %9, align 8, !tbaa !13
  %119 = add i64 %117, %118
  %120 = getelementptr inbounds float, ptr %114, i64 %119
  store float %113, ptr %120, align 4, !tbaa !15
  %121 = call double @vl_rand_real3(ptr noundef %7)
  %122 = fptrunc double %121 to float
  %123 = load ptr, ptr %27, align 8, !tbaa !9
  %124 = load i64, ptr %10, align 8, !tbaa !13
  %125 = load i64, ptr %14, align 8, !tbaa !13
  %126 = mul i64 %124, %125
  %127 = load i64, ptr %9, align 8, !tbaa !13
  %128 = add i64 %126, %127
  %129 = getelementptr inbounds float, ptr %123, i64 %128
  store float %122, ptr %129, align 4, !tbaa !15
  br label %130

130:                                              ; preds = %111
  %131 = load i64, ptr %9, align 8, !tbaa !13
  %132 = add i64 %131, 1
  store i64 %132, ptr %9, align 8, !tbaa !13
  br label %107, !llvm.loop !20

133:                                              ; preds = %107
  %134 = call double @vl_rand_real3(ptr noundef %7)
  %135 = fptrunc double %134 to float
  %136 = load ptr, ptr %29, align 8, !tbaa !9
  %137 = load i64, ptr %10, align 8, !tbaa !13
  %138 = getelementptr inbounds float, ptr %136, i64 %137
  store float %135, ptr %138, align 4, !tbaa !15
  br label %139

139:                                              ; preds = %133
  %140 = load i64, ptr %10, align 8, !tbaa !13
  %141 = add i64 %140, 1
  store i64 %141, ptr %10, align 8, !tbaa !13
  br label %102, !llvm.loop !21

142:                                              ; preds = %102
  %143 = load ptr, ptr %11, align 8, !tbaa !9
  %144 = load ptr, ptr %29, align 8, !tbaa !9
  call void @vl_gmm_set_priors(ptr noundef %143, ptr noundef %144)
  %145 = load ptr, ptr %11, align 8, !tbaa !9
  %146 = load ptr, ptr %27, align 8, !tbaa !9
  call void @vl_gmm_set_covariances(ptr noundef %145, ptr noundef %146)
  %147 = load ptr, ptr %11, align 8, !tbaa !9
  %148 = load ptr, ptr %28, align 8, !tbaa !9
  call void @vl_gmm_set_means(ptr noundef %147, ptr noundef %148)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %150

149:                                              ; preds = %66
  call void @abort() #6
  unreachable

150:                                              ; preds = %142, %85, %71
  %151 = load ptr, ptr %11, align 8, !tbaa !9
  %152 = load i64, ptr %16, align 8, !tbaa !13
  call void @vl_gmm_set_max_num_iterations(ptr noundef %151, i64 noundef %152)
  %153 = load ptr, ptr %11, align 8, !tbaa !9
  %154 = load i64, ptr %17, align 8, !tbaa !13
  call void @vl_gmm_set_num_repetitions(ptr noundef %153, i64 noundef %154)
  %155 = load ptr, ptr %11, align 8, !tbaa !9
  call void @vl_gmm_set_verbosity(ptr noundef %155, i32 noundef 1)
  %156 = load ptr, ptr %11, align 8, !tbaa !9
  %157 = load double, ptr %12, align 8, !tbaa !11
  call void @vl_gmm_set_covariance_lower_bound(ptr noundef %156, double noundef %157)
  %158 = load ptr, ptr %11, align 8, !tbaa !9
  %159 = load ptr, ptr %24, align 8, !tbaa !9
  %160 = load i64, ptr %13, align 8, !tbaa !13
  %161 = call double @vl_gmm_cluster(ptr noundef %158, ptr noundef %159, i64 noundef %160)
  %162 = load ptr, ptr %24, align 8, !tbaa !9
  call void @vl_free(ptr noundef %162)
  store i64 2000, ptr %13, align 8, !tbaa !13
  %163 = load i64, ptr %13, align 8, !tbaa !13
  %164 = load i64, ptr %14, align 8, !tbaa !13
  %165 = mul i64 %163, %164
  %166 = mul i64 %165, 4
  %167 = call ptr @vl_malloc(i64 noundef %166)
  store ptr %167, ptr %24, align 8, !tbaa !9
  store i64 0, ptr %8, align 8, !tbaa !13
  br label %168

168:                                              ; preds = %191, %150
  %169 = load i64, ptr %8, align 8, !tbaa !13
  %170 = load i64, ptr %13, align 8, !tbaa !13
  %171 = icmp ult i64 %169, %170
  br i1 %171, label %172, label %194

172:                                              ; preds = %168
  store i64 0, ptr %9, align 8, !tbaa !13
  br label %173

173:                                              ; preds = %187, %172
  %174 = load i64, ptr %9, align 8, !tbaa !13
  %175 = load i64, ptr %14, align 8, !tbaa !13
  %176 = icmp ult i64 %174, %175
  br i1 %176, label %177, label %190

177:                                              ; preds = %173
  %178 = call double @vl_rand_real3(ptr noundef %7)
  %179 = fptrunc double %178 to float
  %180 = load ptr, ptr %24, align 8, !tbaa !9
  %181 = load i64, ptr %8, align 8, !tbaa !13
  %182 = load i64, ptr %14, align 8, !tbaa !13
  %183 = mul i64 %181, %182
  %184 = load i64, ptr %9, align 8, !tbaa !13
  %185 = add i64 %183, %184
  %186 = getelementptr inbounds float, ptr %180, i64 %185
  store float %179, ptr %186, align 4, !tbaa !15
  br label %187

187:                                              ; preds = %177
  %188 = load i64, ptr %9, align 8, !tbaa !13
  %189 = add i64 %188, 1
  store i64 %189, ptr %9, align 8, !tbaa !13
  br label %173, !llvm.loop !22

190:                                              ; preds = %173
  br label %191

191:                                              ; preds = %190
  %192 = load i64, ptr %8, align 8, !tbaa !13
  %193 = add i64 %192, 1
  store i64 %193, ptr %8, align 8, !tbaa !13
  br label %168, !llvm.loop !23

194:                                              ; preds = %168
  %195 = load i32, ptr %21, align 4, !tbaa !5
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %210

197:                                              ; preds = %194
  %198 = load ptr, ptr %25, align 8, !tbaa !9
  %199 = load ptr, ptr %11, align 8, !tbaa !9
  %200 = call ptr @vl_gmm_get_means(ptr noundef %199)
  %201 = load i64, ptr %14, align 8, !tbaa !13
  %202 = load i64, ptr %15, align 8, !tbaa !13
  %203 = load ptr, ptr %11, align 8, !tbaa !9
  %204 = call ptr @vl_gmm_get_covariances(ptr noundef %203)
  %205 = load ptr, ptr %11, align 8, !tbaa !9
  %206 = call ptr @vl_gmm_get_priors(ptr noundef %205)
  %207 = load ptr, ptr %24, align 8, !tbaa !9
  %208 = load i64, ptr %13, align 8, !tbaa !13
  %209 = call i64 @vl_fisher_encode(ptr noundef %198, i32 noundef 1, ptr noundef %200, i64 noundef %201, i64 noundef %202, ptr noundef %204, ptr noundef %206, ptr noundef %207, i64 noundef %208, i32 noundef 3)
  br label %210

210:                                              ; preds = %197, %194
  %211 = load i64, ptr %13, align 8, !tbaa !13
  %212 = load i64, ptr %15, align 8, !tbaa !13
  %213 = mul i64 %211, %212
  %214 = mul i64 %213, 4
  %215 = call ptr @vl_malloc(i64 noundef %214)
  store ptr %215, ptr %26, align 8, !tbaa !9
  store i64 0, ptr %8, align 8, !tbaa !13
  br label %216

216:                                              ; preds = %239, %210
  %217 = load i64, ptr %8, align 8, !tbaa !13
  %218 = load i64, ptr %13, align 8, !tbaa !13
  %219 = icmp ult i64 %217, %218
  br i1 %219, label %220, label %242

220:                                              ; preds = %216
  store i64 0, ptr %10, align 8, !tbaa !13
  br label %221

221:                                              ; preds = %235, %220
  %222 = load i64, ptr %10, align 8, !tbaa !13
  %223 = load i64, ptr %15, align 8, !tbaa !13
  %224 = icmp ult i64 %222, %223
  br i1 %224, label %225, label %238

225:                                              ; preds = %221
  %226 = call double @vl_rand_real3(ptr noundef %7)
  %227 = fptoui double %226 to i32
  %228 = load ptr, ptr %26, align 8, !tbaa !9
  %229 = load i64, ptr %10, align 8, !tbaa !13
  %230 = load i64, ptr %13, align 8, !tbaa !13
  %231 = mul i64 %229, %230
  %232 = load i64, ptr %8, align 8, !tbaa !13
  %233 = add i64 %231, %232
  %234 = getelementptr inbounds i32, ptr %228, i64 %233
  store i32 %227, ptr %234, align 4, !tbaa !5
  br label %235

235:                                              ; preds = %225
  %236 = load i64, ptr %10, align 8, !tbaa !13
  %237 = add i64 %236, 1
  store i64 %237, ptr %10, align 8, !tbaa !13
  br label %221, !llvm.loop !24

238:                                              ; preds = %221
  br label %239

239:                                              ; preds = %238
  %240 = load i64, ptr %8, align 8, !tbaa !13
  %241 = add i64 %240, 1
  store i64 %241, ptr %8, align 8, !tbaa !13
  br label %216, !llvm.loop !25

242:                                              ; preds = %216
  %243 = load i32, ptr %22, align 4, !tbaa !5
  %244 = icmp ne i32 %243, 0
  br i1 %244, label %245, label %260

245:                                              ; preds = %242
  %246 = load ptr, ptr %25, align 8, !tbaa !9
  call void @vl_free(ptr noundef %246)
  %247 = load i64, ptr %14, align 8, !tbaa !13
  %248 = mul i64 4, %247
  %249 = load i64, ptr %15, align 8, !tbaa !13
  %250 = mul i64 %248, %249
  %251 = call ptr @vl_malloc(i64 noundef %250)
  store ptr %251, ptr %25, align 8, !tbaa !9
  %252 = load ptr, ptr %25, align 8, !tbaa !9
  %253 = load ptr, ptr %11, align 8, !tbaa !9
  %254 = call ptr @vl_gmm_get_means(ptr noundef %253)
  %255 = load i64, ptr %14, align 8, !tbaa !13
  %256 = load i64, ptr %15, align 8, !tbaa !13
  %257 = load ptr, ptr %24, align 8, !tbaa !9
  %258 = load i64, ptr %13, align 8, !tbaa !13
  %259 = load ptr, ptr %26, align 8, !tbaa !9
  call void @vl_vlad_encode(ptr noundef %252, i32 noundef 1, ptr noundef %254, i64 noundef %255, i64 noundef %256, ptr noundef %257, i64 noundef %258, ptr noundef %259, i32 noundef 0)
  br label %260

260:                                              ; preds = %245, %242
  %261 = load ptr, ptr %11, align 8, !tbaa !9
  call void @vl_gmm_delete(ptr noundef %261)
  %262 = load ptr, ptr %24, align 8, !tbaa !9
  call void @vl_free(ptr noundef %262)
  %263 = load ptr, ptr %25, align 8, !tbaa !9
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %267

265:                                              ; preds = %260
  %266 = load ptr, ptr %25, align 8, !tbaa !9
  call void @vl_free(ptr noundef %266)
  br label %267

267:                                              ; preds = %265, %260
  %268 = load ptr, ptr %6, align 8, !tbaa !9
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %272

270:                                              ; preds = %267
  %271 = load ptr, ptr %6, align 8, !tbaa !9
  call void @vl_kmeans_delete(ptr noundef %271)
  br label %272

272:                                              ; preds = %270, %267
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 2500, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  ret i32 0
}

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

declare ptr @vl_malloc(i64 noundef) #2

declare void @vl_set_num_threads(i64 noundef) #2

declare void @vl_rand_init(ptr noundef) #2

declare void @vl_rand_seed(ptr noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_rand_real3(ptr noundef) #3

declare ptr @vl_gmm_new(i32 noundef, i64 noundef, i64 noundef) #2

declare ptr @vl_kmeans_new(i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_verbosity(ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_max_num_iterations(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_max_num_comparisons(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_num_trees(ptr noundef, i64 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_algorithm(ptr noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_initialization(ptr noundef, i32 noundef) #3

declare void @vl_gmm_set_initialization(ptr noundef, i32 noundef) #2

declare void @vl_gmm_set_kmeans_init_object(ptr noundef, ptr noundef) #2

declare void @vl_gmm_set_priors(ptr noundef, ptr noundef) #2

declare void @vl_gmm_set_covariances(ptr noundef, ptr noundef) #2

declare void @vl_gmm_set_means(ptr noundef, ptr noundef) #2

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

; Function Attrs: noreturn nounwind
declare void @abort() #4

declare void @vl_gmm_set_max_num_iterations(ptr noundef, i64 noundef) #2

declare void @vl_gmm_set_num_repetitions(ptr noundef, i64 noundef) #2

declare void @vl_gmm_set_verbosity(ptr noundef, i32 noundef) #2

declare void @vl_gmm_set_covariance_lower_bound(ptr noundef, double noundef) #2

declare double @vl_gmm_cluster(ptr noundef, ptr noundef, i64 noundef) #2

declare void @vl_free(ptr noundef) #2

declare i64 @vl_fisher_encode(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) #2

declare ptr @vl_gmm_get_means(ptr noundef) #2

declare ptr @vl_gmm_get_covariances(ptr noundef) #2

declare ptr @vl_gmm_get_priors(ptr noundef) #2

declare void @vl_vlad_encode(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) #2

declare void @vl_gmm_delete(ptr noundef) #2

declare void @vl_kmeans_delete(ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 #5 = { nounwind }
attributes #6 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !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._VlRand = type { [624 x i32], i32 }

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %struct._VlRand, align 4
  call void @llvm.lifetime.start.p0(i64 2500, ptr nonnull %3) #4
  %4 = tail call ptr @vl_malloc(i64 noundef 12000) #4
  %5 = tail call ptr @vl_malloc(i64 noundef 480) #4
  tail call void @vl_set_num_threads(i64 noundef 0) #4
  call void @vl_rand_init(ptr noundef nonnull %3) #4
  call void @vl_rand_seed(ptr noundef nonnull %3, i32 noundef 49000) #4
  br label %.preheader129

.preheader129:                                    ; preds = %2, %.preheader129
  %.0118131 = phi i64 [ 0, %2 ], [ %15, %.preheader129 ]
  %.idx127 = mul nuw nsw i64 %.0118131, 12
  %6 = getelementptr inbounds i8, ptr %4, i64 %.idx127
  %7 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %8 = fptrunc double %7 to float
  store float %8, ptr %6, align 4, !tbaa !5
  %9 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %10 = fptrunc double %9 to float
  %11 = getelementptr inbounds i8, ptr %6, i64 4
  store float %10, ptr %11, align 4, !tbaa !5
  %12 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %13 = fptrunc double %12 to float
  %14 = getelementptr inbounds i8, ptr %6, i64 8
  store float %13, ptr %14, align 4, !tbaa !5
  %15 = add nuw nsw i64 %.0118131, 1
  %exitcond.not = icmp eq i64 %15, 1000
  br i1 %exitcond.not, label %16, label %.preheader129, !llvm.loop !9

16:                                               ; preds = %.preheader129
  %17 = call ptr @vl_gmm_new(i32 noundef 1, i64 noundef 3, i64 noundef 20) #4
  %18 = call ptr @vl_kmeans_new(i32 noundef 1, i32 noundef 1) #4
  call void @vl_kmeans_set_verbosity(ptr noundef %18, i32 noundef 1)
  call void @vl_kmeans_set_max_num_iterations(ptr noundef %18, i64 noundef 5)
  call void @vl_kmeans_set_max_num_comparisons(ptr noundef %18, i64 noundef 20)
  call void @vl_kmeans_set_num_trees(ptr noundef %18, i64 noundef 3)
  call void @vl_kmeans_set_algorithm(ptr noundef %18, i32 noundef 2)
  call void @vl_kmeans_set_initialization(ptr noundef %18, i32 noundef 0)
  call void @vl_gmm_set_initialization(ptr noundef %17, i32 noundef 0) #4
  call void @vl_gmm_set_kmeans_init_object(ptr noundef %17, ptr noundef %18) #4
  call void @vl_gmm_set_max_num_iterations(ptr noundef %17, i64 noundef 5) #4
  call void @vl_gmm_set_num_repetitions(ptr noundef %17, i64 noundef 1) #4
  call void @vl_gmm_set_verbosity(ptr noundef %17, i32 noundef 1) #4
  call void @vl_gmm_set_covariance_lower_bound(ptr noundef %17, double noundef 0x3EB0C6F7A0B5ED8D) #4
  %19 = call double @vl_gmm_cluster(ptr noundef %17, ptr noundef nonnull %4, i64 noundef 1000) #4
  call void @vl_free(ptr noundef nonnull %4) #4
  %20 = call ptr @vl_malloc(i64 noundef 24000) #4
  br label %.preheader128

.preheader128:                                    ; preds = %16, %.preheader128
  %.1133 = phi i64 [ 0, %16 ], [ %30, %.preheader128 ]
  %.idx126 = mul nuw nsw i64 %.1133, 12
  %21 = getelementptr inbounds i8, ptr %20, i64 %.idx126
  %22 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %23 = fptrunc double %22 to float
  store float %23, ptr %21, align 4, !tbaa !5
  %24 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %25 = fptrunc double %24 to float
  %26 = getelementptr inbounds i8, ptr %21, i64 4
  store float %25, ptr %26, align 4, !tbaa !5
  %27 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %28 = fptrunc double %27 to float
  %29 = getelementptr inbounds i8, ptr %21, i64 8
  store float %28, ptr %29, align 4, !tbaa !5
  %30 = add nuw nsw i64 %.1133, 1
  %exitcond137.not = icmp eq i64 %30, 2000
  br i1 %exitcond137.not, label %31, label %.preheader128, !llvm.loop !11

31:                                               ; preds = %.preheader128
  %32 = call ptr @vl_gmm_get_means(ptr noundef %17) #4
  %33 = call ptr @vl_gmm_get_covariances(ptr noundef %17) #4
  %34 = call ptr @vl_gmm_get_priors(ptr noundef %17) #4
  %35 = call i64 @vl_fisher_encode(ptr noundef %5, i32 noundef 1, ptr noundef %32, i64 noundef 3, i64 noundef 20, ptr noundef %33, ptr noundef %34, ptr noundef nonnull %20, i64 noundef 2000, i32 noundef 3) #4
  %36 = call ptr @vl_malloc(i64 noundef 160000) #4
  br label %.preheader

.preheader:                                       ; preds = %31, %.preheader
  %.2135 = phi i64 [ 0, %31 ], [ %77, %.preheader ]
  %invariant.gep = getelementptr inbounds i32, ptr %36, i64 %.2135
  %37 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %38 = fptoui double %37 to i32
  store i32 %38, ptr %invariant.gep, align 4, !tbaa !12
  %39 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %40 = fptoui double %39 to i32
  %gep.1 = getelementptr inbounds i8, ptr %invariant.gep, i64 8000
  store i32 %40, ptr %gep.1, align 4, !tbaa !12
  %41 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %42 = fptoui double %41 to i32
  %gep.2 = getelementptr inbounds i8, ptr %invariant.gep, i64 16000
  store i32 %42, ptr %gep.2, align 4, !tbaa !12
  %43 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %44 = fptoui double %43 to i32
  %gep.3 = getelementptr inbounds i8, ptr %invariant.gep, i64 24000
  store i32 %44, ptr %gep.3, align 4, !tbaa !12
  %45 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %46 = fptoui double %45 to i32
  %gep.4 = getelementptr inbounds i8, ptr %invariant.gep, i64 32000
  store i32 %46, ptr %gep.4, align 4, !tbaa !12
  %47 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %48 = fptoui double %47 to i32
  %gep.5 = getelementptr inbounds i8, ptr %invariant.gep, i64 40000
  store i32 %48, ptr %gep.5, align 4, !tbaa !12
  %49 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %50 = fptoui double %49 to i32
  %gep.6 = getelementptr inbounds i8, ptr %invariant.gep, i64 48000
  store i32 %50, ptr %gep.6, align 4, !tbaa !12
  %51 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %52 = fptoui double %51 to i32
  %gep.7 = getelementptr inbounds i8, ptr %invariant.gep, i64 56000
  store i32 %52, ptr %gep.7, align 4, !tbaa !12
  %53 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %54 = fptoui double %53 to i32
  %gep.8 = getelementptr inbounds i8, ptr %invariant.gep, i64 64000
  store i32 %54, ptr %gep.8, align 4, !tbaa !12
  %55 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %56 = fptoui double %55 to i32
  %gep.9 = getelementptr inbounds i8, ptr %invariant.gep, i64 72000
  store i32 %56, ptr %gep.9, align 4, !tbaa !12
  %57 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %58 = fptoui double %57 to i32
  %gep.10 = getelementptr inbounds i8, ptr %invariant.gep, i64 80000
  store i32 %58, ptr %gep.10, align 4, !tbaa !12
  %59 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %60 = fptoui double %59 to i32
  %gep.11 = getelementptr inbounds i8, ptr %invariant.gep, i64 88000
  store i32 %60, ptr %gep.11, align 4, !tbaa !12
  %61 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %62 = fptoui double %61 to i32
  %gep.12 = getelementptr inbounds i8, ptr %invariant.gep, i64 96000
  store i32 %62, ptr %gep.12, align 4, !tbaa !12
  %63 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %64 = fptoui double %63 to i32
  %gep.13 = getelementptr inbounds i8, ptr %invariant.gep, i64 104000
  store i32 %64, ptr %gep.13, align 4, !tbaa !12
  %65 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %66 = fptoui double %65 to i32
  %gep.14 = getelementptr inbounds i8, ptr %invariant.gep, i64 112000
  store i32 %66, ptr %gep.14, align 4, !tbaa !12
  %67 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %68 = fptoui double %67 to i32
  %gep.15 = getelementptr inbounds i8, ptr %invariant.gep, i64 120000
  store i32 %68, ptr %gep.15, align 4, !tbaa !12
  %69 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %70 = fptoui double %69 to i32
  %gep.16 = getelementptr inbounds i8, ptr %invariant.gep, i64 128000
  store i32 %70, ptr %gep.16, align 4, !tbaa !12
  %71 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %72 = fptoui double %71 to i32
  %gep.17 = getelementptr inbounds i8, ptr %invariant.gep, i64 136000
  store i32 %72, ptr %gep.17, align 4, !tbaa !12
  %73 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %74 = fptoui double %73 to i32
  %gep.18 = getelementptr inbounds i8, ptr %invariant.gep, i64 144000
  store i32 %74, ptr %gep.18, align 4, !tbaa !12
  %75 = call double @vl_rand_real3(ptr noundef nonnull %3)
  %76 = fptoui double %75 to i32
  %gep.19 = getelementptr inbounds i8, ptr %invariant.gep, i64 152000
  store i32 %76, ptr %gep.19, align 4, !tbaa !12
  %77 = add nuw nsw i64 %.2135, 1
  %exitcond139.not = icmp eq i64 %77, 2000
  br i1 %exitcond139.not, label %78, label %.preheader, !llvm.loop !14

78:                                               ; preds = %.preheader
  call void @vl_gmm_delete(ptr noundef %17) #4
  call void @vl_free(ptr noundef %20) #4
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %80, label %79

79:                                               ; preds = %78
  call void @vl_free(ptr noundef nonnull %5) #4
  br label %80

80:                                               ; preds = %79, %78
  %.not125 = icmp eq ptr %18, null
  br i1 %.not125, label %82, label %81

81:                                               ; preds = %80
  call void @vl_kmeans_delete(ptr noundef nonnull %18) #4
  br label %82

82:                                               ; preds = %81, %80
  call void @llvm.lifetime.end.p0(i64 2500, ptr nonnull %3) #4
  ret i32 0
}

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

declare ptr @vl_malloc(i64 noundef) local_unnamed_addr #2

declare void @vl_set_num_threads(i64 noundef) local_unnamed_addr #2

declare void @vl_rand_init(ptr noundef) local_unnamed_addr #2

declare void @vl_rand_seed(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden double @vl_rand_real3(ptr noundef) local_unnamed_addr #3

declare ptr @vl_gmm_new(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #2

declare ptr @vl_kmeans_new(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_verbosity(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_max_num_iterations(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_max_num_comparisons(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_num_trees(ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_algorithm(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @vl_kmeans_set_initialization(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @vl_gmm_set_initialization(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @vl_gmm_set_kmeans_init_object(ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @vl_gmm_set_max_num_iterations(ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @vl_gmm_set_num_repetitions(ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @vl_gmm_set_verbosity(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @vl_gmm_set_covariance_lower_bound(ptr noundef, double noundef) local_unnamed_addr #2

declare double @vl_gmm_cluster(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare void @vl_free(ptr noundef) local_unnamed_addr #2

declare i64 @vl_fisher_encode(ptr noundef, i32 noundef, ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

declare ptr @vl_gmm_get_means(ptr noundef) local_unnamed_addr #2

declare ptr @vl_gmm_get_covariances(ptr noundef) local_unnamed_addr #2

declare ptr @vl_gmm_get_priors(ptr noundef) local_unnamed_addr #2

declare void @vl_gmm_delete(ptr noundef) local_unnamed_addr #2

declare void @vl_kmeans_delete(ptr noundef) local_unnamed_addr #2

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass