; LLVM IR from libxsmm/libxsmm :: tests (matcopy)

; 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.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }

@__const.main.m = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.n = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.ldi = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.ldo = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.matcopy = external hidden unnamed_addr constant [2 x ptr], align 16
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [25 x i32], align 16
  %3 = alloca [25 x i32], align 16
  %4 = alloca [25 x i32], align 16
  %5 = alloca [25 x i32], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca [2 x ptr], align 16
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca i64, align 8
  %34 = alloca i32, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca i32, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca i32, align 4
  %42 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %43 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 100, ptr %2) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.m, i64 100, i1 false)
  call void @llvm.lifetime.start.p0(i64 100, ptr %3) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.n, i64 100, i1 false)
  call void @llvm.lifetime.start.p0(i64 100, ptr %4) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.ldi, i64 100, i1 false)
  call void @llvm.lifetime.start.p0(i64 100, ptr %5) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.ldo, i64 100, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 25, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store ptr null, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store ptr null, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.main.matcopy, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 2, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %106, %0
  %45 = load i32, ptr %17, align 4, !tbaa !5
  %46 = icmp slt i32 %45, 25
  br i1 %46, label %47, label %109

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %48 = load i32, ptr %17, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = load i32, ptr %17, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = mul nsw i32 %51, %55
  store i32 %56, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %57 = load i32, ptr %17, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = load i32, ptr %17, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = mul nsw i32 %60, %64
  store i32 %65, ptr %20, align 4, !tbaa !5
  %66 = load i32, ptr %17, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %67
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %70 = load i32, ptr %17, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = icmp sle i32 %69, %73
  br i1 %74, label %75, label %86

75:                                               ; preds = %47
  %76 = load i32, ptr %17, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr %17, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = icmp sle i32 %79, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %75
  br label %87

86:                                               ; preds = %75, %47
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 70, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

87:                                               ; preds = %85
  %88 = load i32, ptr %8, align 4, !tbaa !5
  %89 = load i32, ptr %19, align 4, !tbaa !5
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %91, label %93

91:                                               ; preds = %87
  %92 = load i32, ptr %19, align 4, !tbaa !5
  br label %95

93:                                               ; preds = %87
  %94 = load i32, ptr %8, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %93, %91
  %96 = phi i32 [ %92, %91 ], [ %94, %93 ]
  store i32 %96, ptr %8, align 4, !tbaa !5
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = load i32, ptr %20, align 4, !tbaa !5
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %100, label %102

100:                                              ; preds = %95
  %101 = load i32, ptr %20, align 4, !tbaa !5
  br label %104

102:                                              ; preds = %95
  %103 = load i32, ptr %9, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %102, %100
  %105 = phi i32 [ %101, %100 ], [ %103, %102 ]
  store i32 %105, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %106

106:                                              ; preds = %104
  %107 = load i32, ptr %17, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %17, align 4, !tbaa !5
  br label %44, !llvm.loop !11

109:                                              ; preds = %44
  %110 = load i32, ptr %8, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = mul i64 %111, 4
  %113 = call noalias ptr @libxsmm_malloc(i64 noundef %112)
  store ptr %113, ptr %13, align 8, !tbaa !9
  %114 = load i32, ptr %9, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = mul i64 %115, 4
  %117 = call noalias ptr @libxsmm_malloc(i64 noundef %116)
  store ptr %117, ptr %14, align 8, !tbaa !9
  %118 = load ptr, ptr %13, align 8, !tbaa !9
  %119 = icmp ne ptr null, %118
  br i1 %119, label %120, label %124

120:                                              ; preds = %109
  %121 = load ptr, ptr %14, align 8, !tbaa !9
  %122 = icmp ne ptr null, %121
  br i1 %122, label %123, label %124

123:                                              ; preds = %120
  br label %125

124:                                              ; preds = %120, %109
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 76, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

125:                                              ; preds = %123
  br label %126

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store double 4.200000e+01, ptr %21, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %127 = load double, ptr %21, align 8, !tbaa !13
  %128 = call double @llvm.fmuladd.f64(double %127, double 1.000000e+00, double 1.000000e+00)
  store double %128, ptr %22, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %129 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %129, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 1, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %130 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %130, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !5
  %131 = load double, ptr %21, align 8, !tbaa !13
  %132 = fcmp une double 0.000000e+00, %131
  br i1 %132, label %133, label %191

133:                                              ; preds = %126
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %187, %133
  %135 = load i32, ptr %26, align 4, !tbaa !5
  %136 = icmp slt i32 %135, 1
  br i1 %136, label %137, label %190

137:                                              ; preds = %134
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %138

138:                                              ; preds = %163, %137
  %139 = load i32, ptr %27, align 4, !tbaa !5
  %140 = load i32, ptr %23, align 4, !tbaa !5
  %141 = icmp slt i32 %139, %140
  br i1 %141, label %142, label %166

142:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %143 = load i32, ptr %26, align 4, !tbaa !5
  %144 = load i32, ptr %25, align 4, !tbaa !5
  %145 = mul nsw i32 %143, %144
  %146 = load i32, ptr %27, align 4, !tbaa !5
  %147 = add nsw i32 %145, %146
  store i32 %147, ptr %28, align 4, !tbaa !5
  %148 = load double, ptr %22, align 8, !tbaa !13
  %149 = load i32, ptr %26, align 4, !tbaa !5
  %150 = sitofp i32 %149 to double
  %151 = load i32, ptr %23, align 4, !tbaa !5
  %152 = sitofp i32 %151 to double
  %153 = call double @llvm.fmuladd.f64(double %150, double %152, double 1.000000e+00)
  %154 = load i32, ptr %27, align 4, !tbaa !5
  %155 = sitofp i32 %154 to double
  %156 = fadd double %153, %155
  %157 = fmul double %148, %156
  %158 = fptrunc double %157 to float
  %159 = load ptr, ptr %13, align 8, !tbaa !9
  %160 = load i32, ptr %28, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds float, ptr %159, i64 %161
  store float %158, ptr %162, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  br label %163

163:                                              ; preds = %142
  %164 = load i32, ptr %27, align 4, !tbaa !5
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %27, align 4, !tbaa !5
  br label %138, !llvm.loop !17

166:                                              ; preds = %138
  br label %167

167:                                              ; preds = %183, %166
  %168 = load i32, ptr %27, align 4, !tbaa !5
  %169 = load i32, ptr %25, align 4, !tbaa !5
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %171, label %186

171:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %172 = load i32, ptr %26, align 4, !tbaa !5
  %173 = load i32, ptr %25, align 4, !tbaa !5
  %174 = mul nsw i32 %172, %173
  %175 = load i32, ptr %27, align 4, !tbaa !5
  %176 = add nsw i32 %174, %175
  store i32 %176, ptr %29, align 4, !tbaa !5
  %177 = load double, ptr %21, align 8, !tbaa !13
  %178 = fptrunc double %177 to float
  %179 = load ptr, ptr %13, align 8, !tbaa !9
  %180 = load i32, ptr %29, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds float, ptr %179, i64 %181
  store float %178, ptr %182, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %183

183:                                              ; preds = %171
  %184 = load i32, ptr %27, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %27, align 4, !tbaa !5
  br label %167, !llvm.loop !18

186:                                              ; preds = %167
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %26, align 4, !tbaa !5
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %26, align 4, !tbaa !5
  br label %134, !llvm.loop !19

190:                                              ; preds = %134
  br label %241

191:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %192 = load i32, ptr %25, align 4, !tbaa !5
  %193 = mul nsw i32 1, %192
  store i32 %193, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %194 = load i32, ptr %30, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  %196 = sdiv i32 %195, 2
  %197 = sitofp i32 %196 to float
  store float %197, ptr %31, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %198 = load float, ptr %31, align 4, !tbaa !15
  %199 = fdiv float 1.000000e+00, %198
  store float %199, ptr %32, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %200 = load i32, ptr %30, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = call i64 @libxsmm_coprime2(i64 noundef %201)
  store i64 %202, ptr %33, align 8, !tbaa !20
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %203

203:                                              ; preds = %237, %191
  %204 = load i32, ptr %26, align 4, !tbaa !5
  %205 = icmp slt i32 %204, 1
  br i1 %205, label %206, label %240

206:                                              ; preds = %203
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %207

207:                                              ; preds = %233, %206
  %208 = load i32, ptr %27, align 4, !tbaa !5
  %209 = load i32, ptr %25, align 4, !tbaa !5
  %210 = icmp slt i32 %208, %209
  br i1 %210, label %211, label %236

211:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %212 = load i32, ptr %26, align 4, !tbaa !5
  %213 = load i32, ptr %25, align 4, !tbaa !5
  %214 = mul nsw i32 %212, %213
  %215 = load i32, ptr %27, align 4, !tbaa !5
  %216 = add nsw i32 %214, %215
  store i32 %216, ptr %34, align 4, !tbaa !5
  %217 = load float, ptr %32, align 4, !tbaa !15
  %218 = load i64, ptr %33, align 8, !tbaa !20
  %219 = load i32, ptr %34, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = mul i64 %218, %220
  %222 = load i32, ptr %30, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = urem i64 %221, %223
  %225 = uitofp i64 %224 to float
  %226 = load float, ptr %31, align 4, !tbaa !15
  %227 = fsub float %225, %226
  %228 = fmul float %217, %227
  %229 = load ptr, ptr %13, align 8, !tbaa !9
  %230 = load i32, ptr %34, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds float, ptr %229, i64 %231
  store float %228, ptr %232, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %233

233:                                              ; preds = %211
  %234 = load i32, ptr %27, align 4, !tbaa !5
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %27, align 4, !tbaa !5
  br label %207, !llvm.loop !22

236:                                              ; preds = %207
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %26, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %26, align 4, !tbaa !5
  br label %203, !llvm.loop !23

240:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %241

241:                                              ; preds = %240, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %242

242:                                              ; preds = %241
  br label %243

243:                                              ; preds = %242
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %244

244:                                              ; preds = %520, %243
  %245 = load i32, ptr %18, align 4, !tbaa !5
  %246 = icmp slt i32 %245, 2
  br i1 %246, label %247, label %523

247:                                              ; preds = %244
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %248

248:                                              ; preds = %516, %247
  %249 = load i32, ptr %17, align 4, !tbaa !5
  %250 = icmp slt i32 %249, 25
  br i1 %250, label %251, label %519

251:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  %252 = load ptr, ptr %14, align 8, !tbaa !9
  %253 = load i32, ptr %9, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = mul i64 %254, 4
  call void @llvm.memset.p0.i64(ptr align 4 %252, i8 -1, i64 %255, i1 false)
  %256 = load ptr, ptr %14, align 8, !tbaa !9
  %257 = getelementptr inbounds float, ptr %256, i64 0
  %258 = load float, ptr %257, align 4, !tbaa !15
  store float %258, ptr %35, align 4, !tbaa !15
  %259 = load i32, ptr %18, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [2 x ptr], ptr %15, i64 0, i64 %260
  %262 = load ptr, ptr %261, align 8, !tbaa !9
  %263 = load ptr, ptr %14, align 8, !tbaa !9
  %264 = load i32, ptr %17, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %265
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = load i32, ptr %17, align 4, !tbaa !5
  %269 = sext i32 %268 to i64
  %270 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %269
  %271 = load i32, ptr %270, align 4, !tbaa !5
  %272 = load i32, ptr %17, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %273
  %275 = load i32, ptr %274, align 4, !tbaa !5
  %276 = load i32, ptr %17, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %277
  %279 = load i32, ptr %278, align 4, !tbaa !5
  call void %262(ptr noundef %263, ptr noundef null, i32 noundef 4, i32 noundef %267, i32 noundef %271, i32 noundef %275, i32 noundef %279)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %280

280:                                              ; preds = %353, %251
  %281 = load i32, ptr %10, align 4, !tbaa !5
  %282 = load i32, ptr %17, align 4, !tbaa !5
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %283
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = icmp slt i32 %281, %285
  br i1 %286, label %287, label %356

287:                                              ; preds = %280
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %288

288:                                              ; preds = %314, %287
  %289 = load i32, ptr %11, align 4, !tbaa !5
  %290 = load i32, ptr %17, align 4, !tbaa !5
  %291 = sext i32 %290 to i64
  %292 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %291
  %293 = load i32, ptr %292, align 4, !tbaa !5
  %294 = icmp slt i32 %289, %293
  br i1 %294, label %295, label %317

295:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store float 0.000000e+00, ptr %36, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %296 = load ptr, ptr %14, align 8, !tbaa !9
  %297 = load i32, ptr %10, align 4, !tbaa !5
  %298 = load i32, ptr %17, align 4, !tbaa !5
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %299
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = mul nsw i32 %297, %301
  %303 = load i32, ptr %11, align 4, !tbaa !5
  %304 = add nsw i32 %302, %303
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds float, ptr %296, i64 %305
  %307 = load float, ptr %306, align 4, !tbaa !15
  store float %307, ptr %37, align 4, !tbaa !15
  %308 = load float, ptr %37, align 4, !tbaa !15
  %309 = fcmp une float 0.000000e+00, %308
  br i1 %309, label %310, label %313

310:                                              ; preds = %295
  %311 = load i32, ptr %12, align 4, !tbaa !5
  %312 = add i32 %311, 1
  store i32 %312, ptr %12, align 4, !tbaa !5
  br label %313

313:                                              ; preds = %310, %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %314

314:                                              ; preds = %313
  %315 = load i32, ptr %11, align 4, !tbaa !5
  %316 = add nsw i32 %315, 1
  store i32 %316, ptr %11, align 4, !tbaa !5
  br label %288, !llvm.loop !24

317:                                              ; preds = %288
  %318 = load i32, ptr %17, align 4, !tbaa !5
  %319 = sext i32 %318 to i64
  %320 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %319
  %321 = load i32, ptr %320, align 4, !tbaa !5
  store i32 %321, ptr %11, align 4, !tbaa !5
  br label %322

322:                                              ; preds = %349, %317
  %323 = load i32, ptr %11, align 4, !tbaa !5
  %324 = load i32, ptr %17, align 4, !tbaa !5
  %325 = sext i32 %324 to i64
  %326 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %325
  %327 = load i32, ptr %326, align 4, !tbaa !5
  %328 = icmp slt i32 %323, %327
  br i1 %328, label %329, label %352

329:                                              ; preds = %322
  %330 = load ptr, ptr %14, align 8, !tbaa !9
  %331 = load i32, ptr %10, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = load i32, ptr %17, align 4, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %334
  %336 = load i32, ptr %335, align 4, !tbaa !5
  %337 = sext i32 %336 to i64
  %338 = mul i64 %332, %337
  %339 = getelementptr inbounds float, ptr %330, i64 %338
  %340 = load i32, ptr %11, align 4, !tbaa !5
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds float, ptr %339, i64 %341
  %343 = call i32 @memcmp(ptr noundef %35, ptr noundef %342, i64 noundef 4) #10
  %344 = icmp ne i32 0, %343
  br i1 %344, label %345, label %348

345:                                              ; preds = %329
  %346 = load i32, ptr %12, align 4, !tbaa !5
  %347 = add i32 %346, 1
  store i32 %347, ptr %12, align 4, !tbaa !5
  br label %348

348:                                              ; preds = %345, %329
  br label %349

349:                                              ; preds = %348
  %350 = load i32, ptr %11, align 4, !tbaa !5
  %351 = add nsw i32 %350, 1
  store i32 %351, ptr %11, align 4, !tbaa !5
  br label %322, !llvm.loop !25

352:                                              ; preds = %322
  br label %353

353:                                              ; preds = %352
  %354 = load i32, ptr %10, align 4, !tbaa !5
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %10, align 4, !tbaa !5
  br label %280, !llvm.loop !26

356:                                              ; preds = %280
  %357 = load i32, ptr %12, align 4, !tbaa !5
  %358 = icmp ne i32 0, %357
  br i1 %358, label %359, label %360

359:                                              ; preds = %356
  store i32 2147483647, ptr %17, align 4, !tbaa !5
  store i32 2147483647, ptr %18, align 4, !tbaa !5
  store i32 25, ptr %38, align 4
  br label %513

360:                                              ; preds = %356
  %361 = load i32, ptr %18, align 4, !tbaa !5
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds [2 x ptr], ptr %15, i64 0, i64 %362
  %364 = load ptr, ptr %363, align 8, !tbaa !9
  %365 = load ptr, ptr %14, align 8, !tbaa !9
  %366 = load ptr, ptr %13, align 8, !tbaa !9
  %367 = load i32, ptr %17, align 4, !tbaa !5
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %368
  %370 = load i32, ptr %369, align 4, !tbaa !5
  %371 = load i32, ptr %17, align 4, !tbaa !5
  %372 = sext i32 %371 to i64
  %373 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %372
  %374 = load i32, ptr %373, align 4, !tbaa !5
  %375 = load i32, ptr %17, align 4, !tbaa !5
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %376
  %378 = load i32, ptr %377, align 4, !tbaa !5
  %379 = load i32, ptr %17, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %380
  %382 = load i32, ptr %381, align 4, !tbaa !5
  call void %364(ptr noundef %365, ptr noundef %366, i32 noundef 4, i32 noundef %370, i32 noundef %374, i32 noundef %378, i32 noundef %382)
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %383

383:                                              ; preds = %469, %360
  %384 = load i32, ptr %10, align 4, !tbaa !5
  %385 = load i32, ptr %17, align 4, !tbaa !5
  %386 = sext i32 %385 to i64
  %387 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %386
  %388 = load i32, ptr %387, align 4, !tbaa !5
  %389 = icmp slt i32 %384, %388
  br i1 %389, label %390, label %472

390:                                              ; preds = %383
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %391

391:                                              ; preds = %430, %390
  %392 = load i32, ptr %11, align 4, !tbaa !5
  %393 = load i32, ptr %17, align 4, !tbaa !5
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %394
  %396 = load i32, ptr %395, align 4, !tbaa !5
  %397 = icmp slt i32 %392, %396
  br i1 %397, label %398, label %433

398:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %399 = load ptr, ptr %13, align 8, !tbaa !9
  %400 = load i32, ptr %10, align 4, !tbaa !5
  %401 = load i32, ptr %17, align 4, !tbaa !5
  %402 = sext i32 %401 to i64
  %403 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %402
  %404 = load i32, ptr %403, align 4, !tbaa !5
  %405 = mul nsw i32 %400, %404
  %406 = load i32, ptr %11, align 4, !tbaa !5
  %407 = add nsw i32 %405, %406
  %408 = sext i32 %407 to i64
  %409 = getelementptr inbounds float, ptr %399, i64 %408
  %410 = load float, ptr %409, align 4, !tbaa !15
  store float %410, ptr %39, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  %411 = load ptr, ptr %14, align 8, !tbaa !9
  %412 = load i32, ptr %10, align 4, !tbaa !5
  %413 = load i32, ptr %17, align 4, !tbaa !5
  %414 = sext i32 %413 to i64
  %415 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %414
  %416 = load i32, ptr %415, align 4, !tbaa !5
  %417 = mul nsw i32 %412, %416
  %418 = load i32, ptr %11, align 4, !tbaa !5
  %419 = add nsw i32 %417, %418
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds float, ptr %411, i64 %420
  %422 = load float, ptr %421, align 4, !tbaa !15
  store float %422, ptr %40, align 4, !tbaa !15
  %423 = load float, ptr %39, align 4, !tbaa !15
  %424 = load float, ptr %40, align 4, !tbaa !15
  %425 = fcmp une float %423, %424
  br i1 %425, label %426, label %429

426:                                              ; preds = %398
  %427 = load i32, ptr %12, align 4, !tbaa !5
  %428 = add i32 %427, 1
  store i32 %428, ptr %12, align 4, !tbaa !5
  br label %429

429:                                              ; preds = %426, %398
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %430

430:                                              ; preds = %429
  %431 = load i32, ptr %11, align 4, !tbaa !5
  %432 = add nsw i32 %431, 1
  store i32 %432, ptr %11, align 4, !tbaa !5
  br label %391, !llvm.loop !27

433:                                              ; preds = %391
  %434 = load i32, ptr %17, align 4, !tbaa !5
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %435
  %437 = load i32, ptr %436, align 4, !tbaa !5
  store i32 %437, ptr %11, align 4, !tbaa !5
  br label %438

438:                                              ; preds = %465, %433
  %439 = load i32, ptr %11, align 4, !tbaa !5
  %440 = load i32, ptr %17, align 4, !tbaa !5
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %441
  %443 = load i32, ptr %442, align 4, !tbaa !5
  %444 = icmp slt i32 %439, %443
  br i1 %444, label %445, label %468

445:                                              ; preds = %438
  %446 = load ptr, ptr %14, align 8, !tbaa !9
  %447 = load i32, ptr %10, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = load i32, ptr %17, align 4, !tbaa !5
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %450
  %452 = load i32, ptr %451, align 4, !tbaa !5
  %453 = sext i32 %452 to i64
  %454 = mul i64 %448, %453
  %455 = getelementptr inbounds float, ptr %446, i64 %454
  %456 = load i32, ptr %11, align 4, !tbaa !5
  %457 = sext i32 %456 to i64
  %458 = getelementptr inbounds float, ptr %455, i64 %457
  %459 = call i32 @memcmp(ptr noundef %35, ptr noundef %458, i64 noundef 4) #10
  %460 = icmp ne i32 0, %459
  br i1 %460, label %461, label %464

461:                                              ; preds = %445
  %462 = load i32, ptr %12, align 4, !tbaa !5
  %463 = add i32 %462, 1
  store i32 %463, ptr %12, align 4, !tbaa !5
  br label %464

464:                                              ; preds = %461, %445
  br label %465

465:                                              ; preds = %464
  %466 = load i32, ptr %11, align 4, !tbaa !5
  %467 = add nsw i32 %466, 1
  store i32 %467, ptr %11, align 4, !tbaa !5
  br label %438, !llvm.loop !28

468:                                              ; preds = %438
  br label %469

469:                                              ; preds = %468
  %470 = load i32, ptr %10, align 4, !tbaa !5
  %471 = add nsw i32 %470, 1
  store i32 %471, ptr %10, align 4, !tbaa !5
  br label %383, !llvm.loop !29

472:                                              ; preds = %383
  %473 = load i32, ptr %12, align 4, !tbaa !5
  %474 = icmp ne i32 0, %473
  br i1 %474, label %475, label %476

475:                                              ; preds = %472
  store i32 2147483647, ptr %17, align 4, !tbaa !5
  store i32 2147483647, ptr %18, align 4, !tbaa !5
  store i32 25, ptr %38, align 4
  br label %513

476:                                              ; preds = %472
  %477 = load i32, ptr %18, align 4, !tbaa !5
  %478 = icmp eq i32 0, %477
  br i1 %478, label %479, label %512

479:                                              ; preds = %476
  %480 = call i32 @libxsmm_get_target_archid()
  %481 = icmp sle i32 1006, %480
  br i1 %481, label %482, label %512

482:                                              ; preds = %479
  %483 = call i32 @libxsmm_get_target_archid()
  %484 = icmp sge i32 1999, %483
  br i1 %484, label %485, label %512

485:                                              ; preds = %482
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 1, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 28, ptr %42) #8
  %486 = load i32, ptr %17, align 4, !tbaa !5
  %487 = sext i32 %486 to i64
  %488 = getelementptr inbounds [25 x i32], ptr %2, i64 0, i64 %487
  %489 = load i32, ptr %488, align 4, !tbaa !5
  %490 = load i32, ptr %17, align 4, !tbaa !5
  %491 = sext i32 %490 to i64
  %492 = getelementptr inbounds [25 x i32], ptr %3, i64 0, i64 %491
  %493 = load i32, ptr %492, align 4, !tbaa !5
  %494 = load i32, ptr %17, align 4, !tbaa !5
  %495 = sext i32 %494 to i64
  %496 = getelementptr inbounds [25 x i32], ptr %4, i64 0, i64 %495
  %497 = load i32, ptr %496, align 4, !tbaa !5
  %498 = load i32, ptr %17, align 4, !tbaa !5
  %499 = sext i32 %498 to i64
  %500 = getelementptr inbounds [25 x i32], ptr %5, i64 0, i64 %499
  %501 = load i32, ptr %500, align 4, !tbaa !5
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %42, i32 noundef %489, i32 noundef %493, i32 noundef %497, i32 noundef %501, i32 noundef 1, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %502 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 1, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %42, i32 noundef 0)
  store ptr %502, ptr %43, align 8, !tbaa !9
  %503 = load ptr, ptr %43, align 8, !tbaa !9
  %504 = icmp eq ptr null, %503
  br i1 %504, label %505, label %508

505:                                              ; preds = %485
  %506 = load i32, ptr %12, align 4, !tbaa !5
  %507 = add i32 %506, 1
  store i32 %507, ptr %12, align 4, !tbaa !5
  store i32 2147483647, ptr %17, align 4, !tbaa !5
  store i32 2147483647, ptr %18, align 4, !tbaa !5
  store i32 25, ptr %38, align 4
  br label %509

508:                                              ; preds = %485
  store i32 0, ptr %38, align 4
  br label %509

509:                                              ; preds = %508, %505
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 28, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  %510 = load i32, ptr %38, align 4
  switch i32 %510, label %513 [
    i32 0, label %511
  ]

511:                                              ; preds = %509
  br label %512

512:                                              ; preds = %511, %482, %479, %476
  store i32 0, ptr %38, align 4
  br label %513

513:                                              ; preds = %512, %509, %475, %359
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  %514 = load i32, ptr %38, align 4
  switch i32 %514, label %532 [
    i32 0, label %515
    i32 25, label %519
  ]

515:                                              ; preds = %513
  br label %516

516:                                              ; preds = %515
  %517 = load i32, ptr %17, align 4, !tbaa !5
  %518 = add nsw i32 %517, 1
  store i32 %518, ptr %17, align 4, !tbaa !5
  br label %248, !llvm.loop !30

519:                                              ; preds = %513, %248
  br label %520

520:                                              ; preds = %519
  %521 = load i32, ptr %18, align 4, !tbaa !5
  %522 = add nsw i32 %521, 1
  store i32 %522, ptr %18, align 4, !tbaa !5
  br label %244, !llvm.loop !31

523:                                              ; preds = %244
  %524 = load ptr, ptr %13, align 8, !tbaa !9
  call void @libxsmm_free(ptr noundef %524)
  %525 = load ptr, ptr %14, align 8, !tbaa !9
  call void @libxsmm_free(ptr noundef %525)
  %526 = load i32, ptr %12, align 4, !tbaa !5
  %527 = icmp ne i32 0, %526
  br i1 %527, label %528, label %529

528:                                              ; preds = %523
  store i32 1, ptr %1, align 4
  store i32 1, ptr %38, align 4
  br label %530

529:                                              ; preds = %523
  store i32 0, ptr %1, align 4
  store i32 1, ptr %38, align 4
  br label %530

530:                                              ; preds = %529, %528
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 100, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 100, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 100, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 100, ptr %2) #8
  %531 = load i32, ptr %1, align 4
  ret i32 %531

532:                                              ; preds = %513
  unreachable
}

; 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 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

declare noalias ptr @libxsmm_malloc(i64 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

declare i64 @libxsmm_coprime2(i64 noundef) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #7

declare i32 @libxsmm_get_target_archid() #4

declare void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare ptr @libxsmm_dispatch_meltw_unary(i32 noundef, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8, i32 noundef) #4

declare void @libxsmm_free(ptr noundef) #4

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind willreturn memory(read) "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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !12}
!23 = distinct !{!23, !12}
!24 = distinct !{!24, !12}
!25 = distinct !{!25, !12}
!26 = distinct !{!26, !12}
!27 = distinct !{!27, !12}
!28 = distinct !{!28, !12}
!29 = distinct !{!29, !12}
!30 = distinct !{!30, !12}
!31 = distinct !{!31, !12}


; 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.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }

@__const.main.m = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.n = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.ldi = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.ldo = external hidden unnamed_addr constant [25 x i32], align 16
@__const.main.matcopy = external hidden unnamed_addr constant [2 x ptr], align 16
@.str = external hidden unnamed_addr constant [45 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [65 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main() local_unnamed_addr #0 {
  %1 = alloca float, align 4
  %2 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  br label %3

3:                                                ; preds = %0, %11
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %11 ]
  %.0150227 = phi i32 [ 0, %0 ], [ %16, %11 ]
  %.0151226 = phi i32 [ 0, %0 ], [ %17, %11 ]
  %4 = getelementptr inbounds [25 x i32], ptr @__const.main.ldi, i64 0, i64 %indvars.iv
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = getelementptr inbounds [25 x i32], ptr @__const.main.ldo, i64 0, i64 %indvars.iv
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = getelementptr inbounds [25 x i32], ptr @__const.main.m, i64 0, i64 %indvars.iv
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %.not190 = icmp sgt i32 %9, %5
  %.not191 = icmp sgt i32 %9, %7
  %or.cond192 = select i1 %.not190, i1 true, i1 %.not191
  br i1 %or.cond192, label %10, label %11

10:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 70, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

11:                                               ; preds = %3
  %12 = getelementptr inbounds [25 x i32], ptr @__const.main.n, i64 0, i64 %indvars.iv
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = mul nsw i32 %13, %7
  %15 = mul nsw i32 %13, %5
  %16 = tail call i32 @llvm.smax.i32(i32 %.0150227, i32 %15)
  %17 = tail call i32 @llvm.smax.i32(i32 %.0151226, i32 %14)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 25
  br i1 %exitcond.not, label %18, label %3, !llvm.loop !9

18:                                               ; preds = %11
  %19 = zext nneg i32 %16 to i64
  %20 = shl nuw nsw i64 %19, 2
  %21 = tail call noalias ptr @libxsmm_malloc(i64 noundef %20) #8
  %22 = zext nneg i32 %17 to i64
  %23 = shl nuw nsw i64 %22, 2
  %24 = tail call noalias ptr @libxsmm_malloc(i64 noundef %23) #8
  %25 = icmp ne ptr %21, null
  %26 = icmp ne ptr %24, null
  %or.cond = select i1 %25, i1 %26, i1 false
  br i1 %or.cond, label %.preheader220, label %34

.preheader220:                                    ; preds = %18
  %27 = icmp sgt i32 %16, 0
  br i1 %27, label %.lr.ph, label %.preheader218.preheader

.lr.ph:                                           ; preds = %.preheader220
  %wide.trip.count = zext nneg i32 %16 to i64
  %min.iters.check = icmp ult i32 %16, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv277.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %28 = uitofp <4 x i32> %vec.ind to <4 x double>
  %29 = fadd <4 x double> %28, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>
  %30 = fmul <4 x double> %29, <double 4.300000e+01, double 4.300000e+01, double 4.300000e+01, double 4.300000e+01>
  %31 = fptrunc <4 x double> %30 to <4 x float>
  %32 = getelementptr inbounds float, ptr %21, i64 %index
  store <4 x float> %31, ptr %32, align 4, !tbaa !11
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %33 = icmp eq i64 %index.next, %n.vec
  br i1 %33, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader218.preheader, label %scalar.ph.preheader

34:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 76, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #7
  unreachable

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv277 = phi i64 [ %indvars.iv.next278, %scalar.ph ], [ %indvars.iv277.ph, %scalar.ph.preheader ]
  %35 = trunc nuw nsw i64 %indvars.iv277 to i32
  %36 = uitofp nneg i32 %35 to double
  %37 = fadd double %36, 1.000000e+00
  %38 = fmul double %37, 4.300000e+01
  %39 = fptrunc double %38 to float
  %40 = getelementptr inbounds float, ptr %21, i64 %indvars.iv277
  store float %39, ptr %40, align 4, !tbaa !11
  %indvars.iv.next278 = add nuw nsw i64 %indvars.iv277, 1
  %exitcond280.not = icmp eq i64 %indvars.iv.next278, %wide.trip.count
  br i1 %exitcond280.not, label %.preheader218.preheader, label %scalar.ph, !llvm.loop !16

.preheader218.preheader:                          ; preds = %scalar.ph, %middle.block, %.preheader220
  br label %.preheader218

.preheader218:                                    ; preds = %.preheader218.preheader, %.critedge
  %.0166270 = phi i32 [ %133, %.critedge ], [ 0, %.preheader218.preheader ]
  %41 = zext nneg i32 %.0166270 to i64
  %42 = getelementptr inbounds [2 x ptr], ptr @__const.main.matcopy, i64 0, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = icmp eq i32 %.0166270, 0
  br label %45

45:                                               ; preds = %.preheader218, %.thread
  %indvars.iv326 = phi i64 [ 0, %.preheader218 ], [ %indvars.iv.next327, %.thread ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.memset.p0.i64(ptr nonnull align 4 %24, i8 -1, i64 %23, i1 false)
  %46 = load float, ptr %24, align 4, !tbaa !11
  store float %46, ptr %1, align 4, !tbaa !11
  %47 = getelementptr inbounds [25 x i32], ptr @__const.main.m, i64 0, i64 %indvars.iv326
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = getelementptr inbounds [25 x i32], ptr @__const.main.n, i64 0, i64 %indvars.iv326
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds [25 x i32], ptr @__const.main.ldi, i64 0, i64 %indvars.iv326
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = getelementptr inbounds [25 x i32], ptr @__const.main.ldo, i64 0, i64 %indvars.iv326
  %54 = load i32, ptr %53, align 4, !tbaa !5
  call void %43(ptr noundef nonnull %24, ptr noundef null, i32 noundef 4, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54) #8
  %55 = icmp sgt i32 %50, 0
  br i1 %55, label %.preheader217.lr.ph, label %.thread333

.preheader217.lr.ph:                              ; preds = %45
  %56 = icmp sgt i32 %48, 0
  %57 = icmp slt i32 %48, %54
  %58 = sext i32 %54 to i64
  br i1 %57, label %.preheader217.us.preheader, label %.preheader217.lr.ph.split

.preheader217.us.preheader:                       ; preds = %.preheader217.lr.ph
  %59 = sext i32 %48 to i64
  %wide.trip.count309 = zext nneg i32 %50 to i64
  %wide.trip.count299 = zext i32 %48 to i64
  %min.iters.check371 = icmp ult i32 %48, 8
  %n.vec374 = and i64 %wide.trip.count299, 2147483640
  %cmp.n384 = icmp eq i64 %n.vec374, %wide.trip.count299
  br label %.preheader217.us

.preheader217.us:                                 ; preds = %.preheader217.us.preheader, %._crit_edge.us
  %indvars.iv306 = phi i64 [ 0, %.preheader217.us.preheader ], [ %indvars.iv.next307, %._crit_edge.us ]
  %.2159239.us = phi i32 [ 0, %.preheader217.us.preheader ], [ %spec.select.us, %._crit_edge.us ]
  %60 = mul nsw i64 %indvars.iv306, %58
  br i1 %56, label %.lr.ph233.us, label %.preheader216.us

61:                                               ; preds = %.preheader216.us, %61
  %indvars.iv301 = phi i64 [ %59, %.preheader216.us ], [ %indvars.iv.next302, %61 ]
  %.5235.us = phi i32 [ %.3160.lcssa.us, %.preheader216.us ], [ %spec.select.us, %61 ]
  %62 = getelementptr inbounds float, ptr %67, i64 %indvars.iv301
  %bcmp214.us = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %1, ptr noundef nonnull dereferenceable(4) %62, i64 4)
  %.not189.us = icmp ne i32 %bcmp214.us, 0
  %63 = zext i1 %.not189.us to i32
  %spec.select.us = add i32 %.5235.us, %63
  %indvars.iv.next302 = add nsw i64 %indvars.iv301, 1
  %exitcond305.not = icmp eq i64 %indvars.iv.next302, %58
  br i1 %exitcond305.not, label %._crit_edge.us, label %61, !llvm.loop !19

scalar.ph370:                                     ; preds = %scalar.ph370.preheader, %scalar.ph370
  %indvars.iv296 = phi i64 [ %indvars.iv.next297, %scalar.ph370 ], [ %indvars.iv296.ph, %scalar.ph370.preheader ]
  %.3160231.us = phi i32 [ %.4.us, %scalar.ph370 ], [ %.3160231.us.ph, %scalar.ph370.preheader ]
  %gep347 = getelementptr float, ptr %invariant.gep346, i64 %indvars.iv296
  %64 = load float, ptr %gep347, align 4, !tbaa !11
  %65 = fcmp une float %64, 0.000000e+00
  %66 = zext i1 %65 to i32
  %.4.us = add i32 %.3160231.us, %66
  %indvars.iv.next297 = add nuw nsw i64 %indvars.iv296, 1
  %exitcond300.not = icmp eq i64 %indvars.iv.next297, %wide.trip.count299
  br i1 %exitcond300.not, label %.preheader216.us, label %scalar.ph370, !llvm.loop !20

.preheader216.us:                                 ; preds = %scalar.ph370, %middle.block369, %.preheader217.us
  %.3160.lcssa.us = phi i32 [ %.2159239.us, %.preheader217.us ], [ %78, %middle.block369 ], [ %.4.us, %scalar.ph370 ]
  %67 = getelementptr inbounds float, ptr %24, i64 %60
  br label %61

.lr.ph233.us:                                     ; preds = %.preheader217.us
  %invariant.gep346 = getelementptr float, ptr %24, i64 %60
  br i1 %min.iters.check371, label %scalar.ph370.preheader, label %vector.ph372

scalar.ph370.preheader:                           ; preds = %middle.block369, %.lr.ph233.us
  %indvars.iv296.ph = phi i64 [ 0, %.lr.ph233.us ], [ %n.vec374, %middle.block369 ]
  %.3160231.us.ph = phi i32 [ %.2159239.us, %.lr.ph233.us ], [ %78, %middle.block369 ]
  br label %scalar.ph370

vector.ph372:                                     ; preds = %.lr.ph233.us
  %68 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %.2159239.us, i64 0
  br label %vector.body376

vector.body376:                                   ; preds = %vector.body376, %vector.ph372
  %index377 = phi i64 [ 0, %vector.ph372 ], [ %index.next382, %vector.body376 ]
  %vec.phi378 = phi <4 x i32> [ %68, %vector.ph372 ], [ %75, %vector.body376 ]
  %vec.phi379 = phi <4 x i32> [ zeroinitializer, %vector.ph372 ], [ %76, %vector.body376 ]
  %69 = getelementptr float, ptr %invariant.gep346, i64 %index377
  %70 = getelementptr i8, ptr %69, i64 16
  %wide.load380 = load <4 x float>, ptr %69, align 4, !tbaa !11
  %wide.load381 = load <4 x float>, ptr %70, align 4, !tbaa !11
  %71 = fcmp une <4 x float> %wide.load380, zeroinitializer
  %72 = fcmp une <4 x float> %wide.load381, zeroinitializer
  %73 = zext <4 x i1> %71 to <4 x i32>
  %74 = zext <4 x i1> %72 to <4 x i32>
  %75 = add <4 x i32> %vec.phi378, %73
  %76 = add <4 x i32> %vec.phi379, %74
  %index.next382 = add nuw i64 %index377, 8
  %77 = icmp eq i64 %index.next382, %n.vec374
  br i1 %77, label %middle.block369, label %vector.body376, !llvm.loop !21

middle.block369:                                  ; preds = %vector.body376
  %bin.rdx383 = add <4 x i32> %76, %75
  %78 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx383)
  br i1 %cmp.n384, label %.preheader216.us, label %scalar.ph370.preheader

._crit_edge.us:                                   ; preds = %61
  %indvars.iv.next307 = add nuw nsw i64 %indvars.iv306, 1
  %exitcond310.not = icmp eq i64 %indvars.iv.next307, %wide.trip.count309
  br i1 %exitcond310.not, label %._crit_edge241, label %.preheader217.us, !llvm.loop !22

.preheader217.lr.ph.split:                        ; preds = %.preheader217.lr.ph
  br i1 %56, label %.preheader217.us243.preheader, label %.thread337

.preheader217.us243.preheader:                    ; preds = %.preheader217.lr.ph.split
  %wide.trip.count294 = zext nneg i32 %50 to i64
  %wide.trip.count289 = zext nneg i32 %48 to i64
  %min.iters.check388 = icmp ult i32 %48, 8
  %n.vec391 = and i64 %wide.trip.count289, 2147483640
  %cmp.n401 = icmp eq i64 %n.vec391, %wide.trip.count289
  br label %.preheader217.us243

.preheader217.us243:                              ; preds = %.preheader217.us243.preheader, %..preheader216_crit_edge.us252
  %indvars.iv291 = phi i64 [ 0, %.preheader217.us243.preheader ], [ %indvars.iv.next292, %..preheader216_crit_edge.us252 ]
  %.2159239.us245 = phi i32 [ 0, %.preheader217.us243.preheader ], [ %.4.us248.lcssa, %..preheader216_crit_edge.us252 ]
  %79 = mul nsw i64 %indvars.iv291, %58
  %invariant.gep = getelementptr float, ptr %24, i64 %79
  br i1 %min.iters.check388, label %scalar.ph387.preheader, label %vector.ph389

vector.ph389:                                     ; preds = %.preheader217.us243
  %80 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %.2159239.us245, i64 0
  br label %vector.body393

vector.body393:                                   ; preds = %vector.body393, %vector.ph389
  %index394 = phi i64 [ 0, %vector.ph389 ], [ %index.next399, %vector.body393 ]
  %vec.phi395 = phi <4 x i32> [ %80, %vector.ph389 ], [ %87, %vector.body393 ]
  %vec.phi396 = phi <4 x i32> [ zeroinitializer, %vector.ph389 ], [ %88, %vector.body393 ]
  %81 = getelementptr float, ptr %invariant.gep, i64 %index394
  %82 = getelementptr i8, ptr %81, i64 16
  %wide.load397 = load <4 x float>, ptr %81, align 4, !tbaa !11
  %wide.load398 = load <4 x float>, ptr %82, align 4, !tbaa !11
  %83 = fcmp une <4 x float> %wide.load397, zeroinitializer
  %84 = fcmp une <4 x float> %wide.load398, zeroinitializer
  %85 = zext <4 x i1> %83 to <4 x i32>
  %86 = zext <4 x i1> %84 to <4 x i32>
  %87 = add <4 x i32> %vec.phi395, %85
  %88 = add <4 x i32> %vec.phi396, %86
  %index.next399 = add nuw i64 %index394, 8
  %89 = icmp eq i64 %index.next399, %n.vec391
  br i1 %89, label %middle.block386, label %vector.body393, !llvm.loop !23

middle.block386:                                  ; preds = %vector.body393
  %bin.rdx400 = add <4 x i32> %88, %87
  %90 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx400)
  br i1 %cmp.n401, label %..preheader216_crit_edge.us252, label %scalar.ph387.preheader

scalar.ph387.preheader:                           ; preds = %middle.block386, %.preheader217.us243
  %indvars.iv286.ph = phi i64 [ 0, %.preheader217.us243 ], [ %n.vec391, %middle.block386 ]
  %.3160231.us247.ph = phi i32 [ %.2159239.us245, %.preheader217.us243 ], [ %90, %middle.block386 ]
  br label %scalar.ph387

scalar.ph387:                                     ; preds = %scalar.ph387.preheader, %scalar.ph387
  %indvars.iv286 = phi i64 [ %indvars.iv.next287, %scalar.ph387 ], [ %indvars.iv286.ph, %scalar.ph387.preheader ]
  %.3160231.us247 = phi i32 [ %.4.us248, %scalar.ph387 ], [ %.3160231.us247.ph, %scalar.ph387.preheader ]
  %gep = getelementptr float, ptr %invariant.gep, i64 %indvars.iv286
  %91 = load float, ptr %gep, align 4, !tbaa !11
  %92 = fcmp une float %91, 0.000000e+00
  %93 = zext i1 %92 to i32
  %.4.us248 = add i32 %.3160231.us247, %93
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %exitcond290.not = icmp eq i64 %indvars.iv.next287, %wide.trip.count289
  br i1 %exitcond290.not, label %..preheader216_crit_edge.us252, label %scalar.ph387, !llvm.loop !24

..preheader216_crit_edge.us252:                   ; preds = %scalar.ph387, %middle.block386
  %.4.us248.lcssa = phi i32 [ %90, %middle.block386 ], [ %.4.us248, %scalar.ph387 ]
  %indvars.iv.next292 = add nuw nsw i64 %indvars.iv291, 1
  %exitcond295.not = icmp eq i64 %indvars.iv.next292, %wide.trip.count294
  br i1 %exitcond295.not, label %._crit_edge241, label %.preheader217.us243, !llvm.loop !22

._crit_edge241:                                   ; preds = %..preheader216_crit_edge.us252, %._crit_edge.us
  %.2159.lcssa = phi i32 [ %spec.select.us, %._crit_edge.us ], [ %.4.us248.lcssa, %..preheader216_crit_edge.us252 ]
  %.not185 = icmp eq i32 %.2159.lcssa, 0
  br i1 %.not185, label %94, label %.thread208

.thread337:                                       ; preds = %.preheader217.lr.ph.split
  call void %43(ptr noundef nonnull %24, ptr noundef nonnull %21, i32 noundef 4, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54) #8
  br label %.preheader215.lr.ph

.thread333:                                       ; preds = %45
  call void %43(ptr noundef nonnull %24, ptr noundef nonnull %21, i32 noundef 4, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54) #8
  br label %._crit_edge266.thread

94:                                               ; preds = %._crit_edge241
  call void %43(ptr noundef nonnull %24, ptr noundef nonnull %21, i32 noundef 4, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54) #8
  br i1 %55, label %.preheader215.lr.ph, label %._crit_edge266.thread

.preheader215.lr.ph:                              ; preds = %.thread337, %94
  %95 = icmp sgt i32 %48, 0
  %96 = icmp slt i32 %48, %54
  %97 = sext i32 %54 to i64
  %98 = sext i32 %48 to i64
  %99 = sext i32 %52 to i64
  %wide.trip.count324 = zext nneg i32 %50 to i64
  %wide.trip.count314 = zext i32 %48 to i64
  %min.iters.check356 = icmp ult i32 %48, 8
  %n.vec359 = and i64 %wide.trip.count314, 2147483640
  %cmp.n368 = icmp eq i64 %n.vec359, %wide.trip.count314
  br label %.preheader215

.preheader215:                                    ; preds = %.preheader215.lr.ph, %._crit_edge
  %indvars.iv321 = phi i64 [ 0, %.preheader215.lr.ph ], [ %indvars.iv.next322, %._crit_edge ]
  %.7264 = phi i32 [ 0, %.preheader215.lr.ph ], [ %.10.lcssa, %._crit_edge ]
  br i1 %95, label %.lr.ph258, label %.preheader

.lr.ph258:                                        ; preds = %.preheader215
  %100 = mul nsw i64 %indvars.iv321, %99
  %101 = mul nsw i64 %indvars.iv321, %97
  %invariant.gep348 = getelementptr float, ptr %21, i64 %100
  %invariant.gep350 = getelementptr float, ptr %24, i64 %101
  br i1 %min.iters.check356, label %scalar.ph355.preheader, label %vector.ph357

scalar.ph355.preheader:                           ; preds = %middle.block354, %.lr.ph258
  %indvars.iv311.ph = phi i64 [ 0, %.lr.ph258 ], [ %n.vec359, %middle.block354 ]
  %.8256.ph = phi i32 [ %.7264, %.lr.ph258 ], [ %114, %middle.block354 ]
  br label %scalar.ph355

vector.ph357:                                     ; preds = %.lr.ph258
  %102 = insertelement <4 x i32> <i32 poison, i32 0, i32 0, i32 0>, i32 %.7264, i64 0
  br label %vector.body361

vector.body361:                                   ; preds = %vector.body361, %vector.ph357
  %index362 = phi i64 [ 0, %vector.ph357 ], [ %index.next367, %vector.body361 ]
  %vec.phi = phi <4 x i32> [ %102, %vector.ph357 ], [ %111, %vector.body361 ]
  %vec.phi363 = phi <4 x i32> [ zeroinitializer, %vector.ph357 ], [ %112, %vector.body361 ]
  %103 = getelementptr float, ptr %invariant.gep348, i64 %index362
  %104 = getelementptr i8, ptr %103, i64 16
  %wide.load = load <4 x float>, ptr %103, align 4, !tbaa !11
  %wide.load364 = load <4 x float>, ptr %104, align 4, !tbaa !11
  %105 = getelementptr float, ptr %invariant.gep350, i64 %index362
  %106 = getelementptr i8, ptr %105, i64 16
  %wide.load365 = load <4 x float>, ptr %105, align 4, !tbaa !11
  %wide.load366 = load <4 x float>, ptr %106, align 4, !tbaa !11
  %107 = fcmp une <4 x float> %wide.load, %wide.load365
  %108 = fcmp une <4 x float> %wide.load364, %wide.load366
  %109 = zext <4 x i1> %107 to <4 x i32>
  %110 = zext <4 x i1> %108 to <4 x i32>
  %111 = add <4 x i32> %vec.phi, %109
  %112 = add <4 x i32> %vec.phi363, %110
  %index.next367 = add nuw i64 %index362, 8
  %113 = icmp eq i64 %index.next367, %n.vec359
  br i1 %113, label %middle.block354, label %vector.body361, !llvm.loop !25

middle.block354:                                  ; preds = %vector.body361
  %bin.rdx = add <4 x i32> %112, %111
  %114 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  br i1 %cmp.n368, label %.preheader, label %scalar.ph355.preheader

.preheader:                                       ; preds = %scalar.ph355, %middle.block354, %.preheader215
  %.8.lcssa = phi i32 [ %.7264, %.preheader215 ], [ %114, %middle.block354 ], [ %.9, %scalar.ph355 ]
  br i1 %96, label %.lr.ph262, label %._crit_edge

.lr.ph262:                                        ; preds = %.preheader
  %115 = mul nsw i64 %indvars.iv321, %97
  %116 = getelementptr inbounds float, ptr %24, i64 %115
  br label %121

scalar.ph355:                                     ; preds = %scalar.ph355.preheader, %scalar.ph355
  %indvars.iv311 = phi i64 [ %indvars.iv.next312, %scalar.ph355 ], [ %indvars.iv311.ph, %scalar.ph355.preheader ]
  %.8256 = phi i32 [ %.9, %scalar.ph355 ], [ %.8256.ph, %scalar.ph355.preheader ]
  %gep349 = getelementptr float, ptr %invariant.gep348, i64 %indvars.iv311
  %117 = load float, ptr %gep349, align 4, !tbaa !11
  %gep351 = getelementptr float, ptr %invariant.gep350, i64 %indvars.iv311
  %118 = load float, ptr %gep351, align 4, !tbaa !11
  %119 = fcmp une float %117, %118
  %120 = zext i1 %119 to i32
  %.9 = add i32 %.8256, %120
  %indvars.iv.next312 = add nuw nsw i64 %indvars.iv311, 1
  %exitcond315.not = icmp eq i64 %indvars.iv.next312, %wide.trip.count314
  br i1 %exitcond315.not, label %.preheader, label %scalar.ph355, !llvm.loop !26

121:                                              ; preds = %.lr.ph262, %121
  %indvars.iv316 = phi i64 [ %98, %.lr.ph262 ], [ %indvars.iv.next317, %121 ]
  %.10260 = phi i32 [ %.8.lcssa, %.lr.ph262 ], [ %spec.select193, %121 ]
  %122 = getelementptr inbounds float, ptr %116, i64 %indvars.iv316
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(4) %1, ptr noundef nonnull dereferenceable(4) %122, i64 4)
  %.not188 = icmp ne i32 %bcmp, 0
  %123 = zext i1 %.not188 to i32
  %spec.select193 = add i32 %.10260, %123
  %indvars.iv.next317 = add nsw i64 %indvars.iv316, 1
  %exitcond320.not = icmp eq i64 %indvars.iv.next317, %97
  br i1 %exitcond320.not, label %._crit_edge, label %121, !llvm.loop !27

._crit_edge:                                      ; preds = %121, %.preheader
  %.10.lcssa = phi i32 [ %.8.lcssa, %.preheader ], [ %spec.select193, %121 ]
  %indvars.iv.next322 = add nuw nsw i64 %indvars.iv321, 1
  %exitcond325.not = icmp eq i64 %indvars.iv.next322, %wide.trip.count324
  br i1 %exitcond325.not, label %._crit_edge266, label %.preheader215, !llvm.loop !28

._crit_edge266:                                   ; preds = %._crit_edge
  %.not186 = icmp eq i32 %.10.lcssa, 0
  br i1 %.not186, label %._crit_edge266.thread, label %.thread208

._crit_edge266.thread:                            ; preds = %.thread333, %94, %._crit_edge266
  br i1 %44, label %124, label %.thread

124:                                              ; preds = %._crit_edge266.thread
  %125 = call i32 @libxsmm_get_target_archid() #8
  %126 = icmp sgt i32 %125, 1005
  br i1 %126, label %127, label %.thread

127:                                              ; preds = %124
  %128 = call i32 @libxsmm_get_target_archid() #8
  %129 = icmp slt i32 %128, 2000
  br i1 %129, label %130, label %.thread

130:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #8
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %2, i32 noundef %48, i32 noundef %50, i32 noundef %52, i32 noundef %54, i32 noundef 1, i32 noundef 1, i32 noundef 1) #8
  %131 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 1, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %2, i32 noundef 0) #8
  %.not187 = icmp eq ptr %131, null
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #8
  br i1 %.not187, label %132, label %.thread

.thread:                                          ; preds = %127, %124, %._crit_edge266.thread, %130
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  %indvars.iv.next327 = add nuw nsw i64 %indvars.iv326, 1
  %exitcond329.not = icmp eq i64 %indvars.iv.next327, 25
  br i1 %exitcond329.not, label %.critedge, label %45, !llvm.loop !29

.thread208:                                       ; preds = %._crit_edge241, %._crit_edge266
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  br label %.critedge.thread

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  br label %.critedge.thread

.critedge:                                        ; preds = %.thread
  %133 = add nuw nsw i32 %.0166270, 1
  %134 = icmp eq i32 %.0166270, 0
  br i1 %134, label %.preheader218, label %.critedge.thread, !llvm.loop !30

.critedge.thread:                                 ; preds = %.critedge, %.thread208, %132
  %.not = phi i32 [ 1, %.thread208 ], [ 1, %132 ], [ 0, %.critedge ]
  call void @libxsmm_free(ptr noundef nonnull %21) #8
  call void @libxsmm_free(ptr noundef nonnull %24) #8
  ret i32 %.not
}

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 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 noalias ptr @libxsmm_malloc(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare i32 @libxsmm_get_target_archid() local_unnamed_addr #3

declare void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare ptr @libxsmm_dispatch_meltw_unary(i32 noundef, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8, i32 noundef) local_unnamed_addr #3

declare void @libxsmm_free(ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #5

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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { noreturn nounwind }
attributes #8 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !10, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !10, !15, !14}
!17 = !{!18, !18, i64 0}
!18 = !{!"any pointer", !7, i64 0}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !15, !14}
!21 = distinct !{!21, !10, !14, !15}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10, !14, !15}
!24 = distinct !{!24, !10, !15, !14}
!25 = distinct !{!25, !10, !14, !15}
!26 = distinct !{!26, !10, !15, !14}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass