; LLVM IR from libxsmm/libxsmm :: src (libxsmm_ext_xcopy)

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

%union.libxsmm_xcopykernel = type { ptr }
%struct.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meltw_unary_param = type { %struct.libxsmm_matrix_op_arg, %struct.libxsmm_matrix_arg, %struct.libxsmm_matrix_arg }
%struct.libxsmm_matrix_op_arg = type { ptr, ptr, ptr, ptr }
%struct.libxsmm_matrix_arg = type { ptr, ptr, ptr, ptr, ptr, ptr }

@libxsmm_ninit = external global i32, align 4
@libxsmm_xcopy_jit = external global i32, align 4
@.str = external hidden unnamed_addr constant [260 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@libxsmm_verbosity = external global i32, align 4
@stderr = external global ptr, align 8
@libxsmm_otrans_omp.error_once = external hidden global i32, align 4
@.str.11 = external hidden unnamed_addr constant [32 x i8], align 1
@__PRETTY_FUNCTION__.libxsmm_otrans_omp = external hidden unnamed_addr constant [128 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [71 x i8], align 1

declare void @libxsmm_init() #0

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_otrans_omp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #5 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %union.libxsmm_xcopykernel, align 8
  %16 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %17 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %18 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %19 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %20 = alloca %struct.libxsmm_meltw_unary_param, 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 i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca i8, align 1
  %43 = alloca ptr, align 8
  %44 = alloca i8, align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %45 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %46 = icmp ugt i32 2, %45
  br i1 %46, label %47, label %48

47:                                               ; preds = %7
  call void @libxsmm_init()
  br label %48

48:                                               ; preds = %47, %7
  %49 = load i32, ptr %10, align 4, !tbaa !9
  %50 = icmp ult i32 0, %49
  br i1 %50, label %51, label %467

51:                                               ; preds = %48
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = icmp ugt i32 256, %52
  br i1 %53, label %54, label %467

54:                                               ; preds = %51
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = load i32, ptr %13, align 4, !tbaa !9
  %57 = icmp sle i32 %55, %56
  br i1 %57, label %58, label %467

58:                                               ; preds = %54
  %59 = load i32, ptr %12, align 4, !tbaa !9
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = icmp sle i32 %59, %60
  br i1 %61, label %62, label %467

62:                                               ; preds = %58
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = icmp ne ptr null, %63
  br i1 %64, label %65, label %74

65:                                               ; preds = %62
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = icmp ne ptr null, %66
  br i1 %67, label %68, label %74

68:                                               ; preds = %65
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = icmp slt i32 0, %69
  br i1 %70, label %71, label %74

71:                                               ; preds = %68
  %72 = load i32, ptr %12, align 4, !tbaa !9
  %73 = icmp slt i32 0, %72
  br i1 %73, label %80, label %74

74:                                               ; preds = %71, %68, %65, %62
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = icmp eq i32 0, %75
  br i1 %76, label %77, label %467

77:                                               ; preds = %74
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = icmp eq i32 0, %78
  br i1 %79, label %80, label %467

80:                                               ; preds = %77, %71
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = icmp slt i32 0, %81
  br i1 %82, label %83, label %466

83:                                               ; preds = %80
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = icmp slt i32 0, %84
  br i1 %85, label %86, label %466

86:                                               ; preds = %83
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load ptr, ptr %9, align 8, !tbaa !5
  %89 = icmp ne ptr %87, %88
  br i1 %89, label %90, label %442

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  call void @llvm.memset.p0.i64(ptr align 8 %15, i8 0, i64 8, i1 false)
  %91 = load i32, ptr @libxsmm_xcopy_jit, align 4, !tbaa !9
  %92 = and i32 1, %91
  %93 = icmp ne i32 0, %92
  br i1 %93, label %94, label %145

94:                                               ; preds = %90
  %95 = load i32, ptr @libxsmm_xcopy_jit, align 4, !tbaa !9
  %96 = and i32 8, %95
  %97 = icmp ne i32 0, %96
  br i1 %97, label %98, label %145

98:                                               ; preds = %94
  %99 = load i32, ptr %10, align 4, !tbaa !9
  switch i32 %99, label %124 [
    i32 8, label %100
    i32 4, label %106
    i32 2, label %112
    i32 1, label %118
  ]

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 28, ptr %16) #7
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = load i32, ptr %13, align 4, !tbaa !9
  %104 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %16, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %105 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %16, i32 noundef 0)
  store ptr %105, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 28, ptr %16) #7
  br label %124

106:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 28, ptr %17) #7
  %107 = load i32, ptr %11, align 4, !tbaa !9
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = load i32, ptr %13, align 4, !tbaa !9
  %110 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %17, i32 noundef %107, i32 noundef %108, i32 noundef %109, i32 noundef %110, i32 noundef 1, i32 noundef 1, i32 noundef 1)
  %111 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %17, i32 noundef 0)
  store ptr %111, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 28, ptr %17) #7
  br label %124

112:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 28, ptr %18) #7
  %113 = load i32, ptr %11, align 4, !tbaa !9
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %18, i32 noundef %113, i32 noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef 10, i32 noundef 10, i32 noundef 10)
  %117 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %18, i32 noundef 0)
  store ptr %117, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 28, ptr %18) #7
  br label %124

118:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 28, ptr %19) #7
  %119 = load i32, ptr %11, align 4, !tbaa !9
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %19, i32 noundef %119, i32 noundef %120, i32 noundef %121, i32 noundef %122, i32 noundef 12, i32 noundef 12, i32 noundef 12)
  %123 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef byval(%struct.libxsmm_meltw_unary_shape) align 8 %19, i32 noundef 0)
  store ptr %123, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 28, ptr %19) #7
  br label %124

124:                                              ; preds = %118, %112, %106, %100, %98
  %125 = load ptr, ptr %15, align 8, !tbaa !11
  %126 = icmp ne ptr null, %125
  br i1 %126, label %127, label %144

127:                                              ; preds = %124
  br label %128

128:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 128, ptr %20) #7
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_meltw_unary_param, ptr %20, i32 0, i32 1
  %131 = getelementptr inbounds %struct.libxsmm_matrix_arg, ptr %130, i32 0, i32 0
  store ptr %129, ptr %131, align 8, !tbaa !12
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.libxsmm_meltw_unary_param, ptr %20, i32 0, i32 2
  %134 = getelementptr inbounds %struct.libxsmm_matrix_arg, ptr %133, i32 0, i32 0
  store ptr %132, ptr %134, align 8, !tbaa !16
  %135 = load ptr, ptr %15, align 8, !tbaa !11
  %136 = icmp ne ptr null, %135
  br i1 %136, label %137, label %138

137:                                              ; preds = %128
  br label %139

138:                                              ; preds = %128
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 339, ptr noundef @__PRETTY_FUNCTION__.libxsmm_otrans_omp) #8
  unreachable

139:                                              ; preds = %137
  %140 = load ptr, ptr %15, align 8, !tbaa !11
  call void %140(ptr noundef %20)
  %141 = load i32, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 128, ptr %20) #7
  br label %142

142:                                              ; preds = %139
  br label %143

143:                                              ; preds = %142
  store i32 1, ptr %21, align 4
  br label %439

144:                                              ; preds = %124
  br label %145

145:                                              ; preds = %144, %94, %90
  br label %146

146:                                              ; preds = %145
  %147 = load i32, ptr %10, align 4, !tbaa !9
  switch i32 %147, label %335 [
    i32 2, label %148
    i32 4, label %195
    i32 8, label %242
    i32 16, label %289
  ]

148:                                              ; preds = %146
  br label %149

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %150

150:                                              ; preds = %189, %149
  %151 = load i32, ptr %22, align 4, !tbaa !9
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = icmp slt i32 %151, %152
  br i1 %153, label %154, label %192

154:                                              ; preds = %150
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %185, %154
  %156 = load i32, ptr %23, align 4, !tbaa !9
  %157 = load i32, ptr %12, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %159, label %188

159:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = load i32, ptr %23, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = mul i64 %162, %164
  %166 = load i32, ptr %22, align 4, !tbaa !9
  %167 = sext i32 %166 to i64
  %168 = add i64 %165, %167
  %169 = mul i64 2, %168
  %170 = getelementptr inbounds i8, ptr %160, i64 %169
  store ptr %170, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i32, ptr %22, align 4, !tbaa !9
  %173 = sext i32 %172 to i64
  %174 = load i32, ptr %14, align 4, !tbaa !9
  %175 = sext i32 %174 to i64
  %176 = mul i64 %173, %175
  %177 = load i32, ptr %23, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = add i64 %176, %178
  %180 = mul i64 2, %179
  %181 = getelementptr inbounds i8, ptr %171, i64 %180
  store ptr %181, ptr %25, align 8, !tbaa !5
  %182 = load ptr, ptr %24, align 8, !tbaa !5
  %183 = load i16, ptr %182, align 2, !tbaa !17
  %184 = load ptr, ptr %25, align 8, !tbaa !5
  store i16 %183, ptr %184, align 2, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %185

185:                                              ; preds = %159
  %186 = load i32, ptr %23, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %23, align 4, !tbaa !9
  br label %155, !llvm.loop !19

188:                                              ; preds = %155
  br label %189

189:                                              ; preds = %188
  %190 = load i32, ptr %22, align 4, !tbaa !9
  %191 = add nsw i32 %190, 1
  store i32 %191, ptr %22, align 4, !tbaa !9
  br label %150, !llvm.loop !21

192:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %193

193:                                              ; preds = %192
  br label %194

194:                                              ; preds = %193
  br label %436

195:                                              ; preds = %146
  br label %196

196:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %197

197:                                              ; preds = %236, %196
  %198 = load i32, ptr %26, align 4, !tbaa !9
  %199 = load i32, ptr %11, align 4, !tbaa !9
  %200 = icmp slt i32 %198, %199
  br i1 %200, label %201, label %239

201:                                              ; preds = %197
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %232, %201
  %203 = load i32, ptr %27, align 4, !tbaa !9
  %204 = load i32, ptr %12, align 4, !tbaa !9
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %206, label %235

206:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = load i32, ptr %27, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = load i32, ptr %13, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = mul i64 %209, %211
  %213 = load i32, ptr %26, align 4, !tbaa !9
  %214 = sext i32 %213 to i64
  %215 = add i64 %212, %214
  %216 = mul i64 4, %215
  %217 = getelementptr inbounds i8, ptr %207, i64 %216
  store ptr %217, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = load i32, ptr %26, align 4, !tbaa !9
  %220 = sext i32 %219 to i64
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = sext i32 %221 to i64
  %223 = mul i64 %220, %222
  %224 = load i32, ptr %27, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = add i64 %223, %225
  %227 = mul i64 4, %226
  %228 = getelementptr inbounds i8, ptr %218, i64 %227
  store ptr %228, ptr %29, align 8, !tbaa !5
  %229 = load ptr, ptr %28, align 8, !tbaa !5
  %230 = load float, ptr %229, align 4, !tbaa !22
  %231 = load ptr, ptr %29, align 8, !tbaa !5
  store float %230, ptr %231, align 4, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %232

232:                                              ; preds = %206
  %233 = load i32, ptr %27, align 4, !tbaa !9
  %234 = add nsw i32 %233, 1
  store i32 %234, ptr %27, align 4, !tbaa !9
  br label %202, !llvm.loop !24

235:                                              ; preds = %202
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %26, align 4, !tbaa !9
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %26, align 4, !tbaa !9
  br label %197, !llvm.loop !25

239:                                              ; preds = %197
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %240

240:                                              ; preds = %239
  br label %241

241:                                              ; preds = %240
  br label %436

242:                                              ; preds = %146
  br label %243

243:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %244

244:                                              ; preds = %283, %243
  %245 = load i32, ptr %30, align 4, !tbaa !9
  %246 = load i32, ptr %11, align 4, !tbaa !9
  %247 = icmp slt i32 %245, %246
  br i1 %247, label %248, label %286

248:                                              ; preds = %244
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %249

249:                                              ; preds = %279, %248
  %250 = load i32, ptr %31, align 4, !tbaa !9
  %251 = load i32, ptr %12, align 4, !tbaa !9
  %252 = icmp slt i32 %250, %251
  br i1 %252, label %253, label %282

253:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %254 = load ptr, ptr %9, align 8, !tbaa !5
  %255 = load i32, ptr %31, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = load i32, ptr %13, align 4, !tbaa !9
  %258 = sext i32 %257 to i64
  %259 = mul i64 %256, %258
  %260 = load i32, ptr %30, align 4, !tbaa !9
  %261 = sext i32 %260 to i64
  %262 = add i64 %259, %261
  %263 = mul i64 8, %262
  %264 = getelementptr inbounds i8, ptr %254, i64 %263
  store ptr %264, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #7
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = load i32, ptr %30, align 4, !tbaa !9
  %267 = sext i32 %266 to i64
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = sext i32 %268 to i64
  %270 = mul i64 %267, %269
  %271 = load i32, ptr %31, align 4, !tbaa !9
  %272 = sext i32 %271 to i64
  %273 = add i64 %270, %272
  %274 = mul i64 8, %273
  %275 = getelementptr inbounds i8, ptr %265, i64 %274
  store ptr %275, ptr %33, align 8, !tbaa !5
  %276 = load ptr, ptr %32, align 8, !tbaa !5
  %277 = load double, ptr %276, align 8, !tbaa !26
  %278 = load ptr, ptr %33, align 8, !tbaa !5
  store double %277, ptr %278, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %279

279:                                              ; preds = %253
  %280 = load i32, ptr %31, align 4, !tbaa !9
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %31, align 4, !tbaa !9
  br label %249, !llvm.loop !28

282:                                              ; preds = %249
  br label %283

283:                                              ; preds = %282
  %284 = load i32, ptr %30, align 4, !tbaa !9
  %285 = add nsw i32 %284, 1
  store i32 %285, ptr %30, align 4, !tbaa !9
  br label %244, !llvm.loop !29

286:                                              ; preds = %244
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  br label %436

289:                                              ; preds = %146
  br label %290

290:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %291

291:                                              ; preds = %329, %290
  %292 = load i32, ptr %34, align 4, !tbaa !9
  %293 = load i32, ptr %11, align 4, !tbaa !9
  %294 = icmp slt i32 %292, %293
  br i1 %294, label %295, label %332

295:                                              ; preds = %291
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %296

296:                                              ; preds = %325, %295
  %297 = load i32, ptr %35, align 4, !tbaa !9
  %298 = load i32, ptr %12, align 4, !tbaa !9
  %299 = icmp slt i32 %297, %298
  br i1 %299, label %300, label %328

300:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %301 = load ptr, ptr %9, align 8, !tbaa !5
  %302 = load i32, ptr %35, align 4, !tbaa !9
  %303 = sext i32 %302 to i64
  %304 = load i32, ptr %13, align 4, !tbaa !9
  %305 = sext i32 %304 to i64
  %306 = mul i64 %303, %305
  %307 = load i32, ptr %34, align 4, !tbaa !9
  %308 = sext i32 %307 to i64
  %309 = add i64 %306, %308
  %310 = mul i64 16, %309
  %311 = getelementptr inbounds i8, ptr %301, i64 %310
  store ptr %311, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %312 = load ptr, ptr %8, align 8, !tbaa !5
  %313 = load i32, ptr %34, align 4, !tbaa !9
  %314 = sext i32 %313 to i64
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = sext i32 %315 to i64
  %317 = mul i64 %314, %316
  %318 = load i32, ptr %35, align 4, !tbaa !9
  %319 = sext i32 %318 to i64
  %320 = add i64 %317, %319
  %321 = mul i64 16, %320
  %322 = getelementptr inbounds i8, ptr %312, i64 %321
  store ptr %322, ptr %37, align 8, !tbaa !5
  %323 = load ptr, ptr %37, align 8, !tbaa !5
  %324 = load ptr, ptr %36, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %323, ptr align 8 %324, i64 16, i1 false), !tbaa.struct !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %325

325:                                              ; preds = %300
  %326 = load i32, ptr %35, align 4, !tbaa !9
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %35, align 4, !tbaa !9
  br label %296, !llvm.loop !31

328:                                              ; preds = %296
  br label %329

329:                                              ; preds = %328
  %330 = load i32, ptr %34, align 4, !tbaa !9
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %34, align 4, !tbaa !9
  br label %291, !llvm.loop !32

332:                                              ; preds = %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %333

333:                                              ; preds = %332
  br label %334

334:                                              ; preds = %333
  br label %436

335:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #7
  store i32 0, ptr %38, align 4, !tbaa !9
  br label %336

336:                                              ; preds = %432, %335
  %337 = load i32, ptr %38, align 4, !tbaa !9
  %338 = load i32, ptr %11, align 4, !tbaa !9
  %339 = icmp slt i32 %337, %338
  br i1 %339, label %340, label %435

340:                                              ; preds = %336
  store i32 0, ptr %39, align 4, !tbaa !9
  br label %341

341:                                              ; preds = %428, %340
  %342 = load i32, ptr %39, align 4, !tbaa !9
  %343 = load i32, ptr %12, align 4, !tbaa !9
  %344 = icmp slt i32 %342, %343
  br i1 %344, label %345, label %431

345:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %346 = load ptr, ptr %9, align 8, !tbaa !5
  %347 = load i32, ptr %10, align 4, !tbaa !9
  %348 = zext i32 %347 to i64
  %349 = load i32, ptr %39, align 4, !tbaa !9
  %350 = sext i32 %349 to i64
  %351 = load i32, ptr %13, align 4, !tbaa !9
  %352 = sext i32 %351 to i64
  %353 = mul i64 %350, %352
  %354 = load i32, ptr %38, align 4, !tbaa !9
  %355 = sext i32 %354 to i64
  %356 = add i64 %353, %355
  %357 = mul i64 %348, %356
  %358 = getelementptr inbounds i8, ptr %346, i64 %357
  store ptr %358, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #7
  %359 = load ptr, ptr %8, align 8, !tbaa !5
  %360 = load i32, ptr %10, align 4, !tbaa !9
  %361 = zext i32 %360 to i64
  %362 = load i32, ptr %38, align 4, !tbaa !9
  %363 = sext i32 %362 to i64
  %364 = load i32, ptr %14, align 4, !tbaa !9
  %365 = sext i32 %364 to i64
  %366 = mul i64 %363, %365
  %367 = load i32, ptr %39, align 4, !tbaa !9
  %368 = sext i32 %367 to i64
  %369 = add i64 %366, %368
  %370 = mul i64 %361, %369
  %371 = getelementptr inbounds i8, ptr %359, i64 %370
  store ptr %371, ptr %41, align 8, !tbaa !5
  br label %372

372:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  %373 = load i32, ptr %10, align 4, !tbaa !9
  %374 = trunc i32 %373 to i8
  %375 = sext i8 %374 to i32
  %376 = icmp eq i32 -128, %375
  br i1 %376, label %382, label %377

377:                                              ; preds = %372
  %378 = load i32, ptr %10, align 4, !tbaa !9
  %379 = trunc i32 %378 to i8
  %380 = sext i8 %379 to i32
  %381 = icmp slt i32 -128, %380
  br i1 %381, label %382, label %401

382:                                              ; preds = %377, %372
  %383 = load i32, ptr %10, align 4, !tbaa !9
  %384 = zext i32 %383 to i64
  %385 = mul i64 1, %384
  %386 = icmp ult i64 %385, 127
  br i1 %386, label %387, label %391

387:                                              ; preds = %382
  %388 = load i32, ptr %10, align 4, !tbaa !9
  %389 = zext i32 %388 to i64
  %390 = mul i64 1, %389
  br label %392

391:                                              ; preds = %382
  br label %392

392:                                              ; preds = %391, %387
  %393 = phi i64 [ %390, %387 ], [ 127, %391 ]
  %394 = icmp ule i64 %393, 127
  br i1 %394, label %395, label %401

395:                                              ; preds = %392
  %396 = load i32, ptr %10, align 4, !tbaa !9
  %397 = uitofp i32 %396 to double
  %398 = fcmp ole double 0.000000e+00, %397
  br i1 %398, label %400, label %399

399:                                              ; preds = %395
  br i1 true, label %400, label %401

400:                                              ; preds = %399, %395
  br label %402

401:                                              ; preds = %399, %392, %377
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 346, ptr noundef @__PRETTY_FUNCTION__.libxsmm_otrans_omp) #8
  unreachable

402:                                              ; preds = %400
  %403 = load i32, ptr %10, align 4, !tbaa !9
  %404 = trunc i32 %403 to i8
  store i8 %404, ptr %42, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #7
  %405 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %405, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #7
  store i8 0, ptr %44, align 1, !tbaa !11
  br label %406

406:                                              ; preds = %422, %402
  %407 = load i8, ptr %44, align 1, !tbaa !11
  %408 = sext i8 %407 to i32
  %409 = load i8, ptr %42, align 1, !tbaa !11
  %410 = sext i8 %409 to i32
  %411 = icmp slt i32 %408, %410
  br i1 %411, label %412, label %425

412:                                              ; preds = %406
  %413 = load ptr, ptr %40, align 8, !tbaa !5
  %414 = load i8, ptr %44, align 1, !tbaa !11
  %415 = sext i8 %414 to i64
  %416 = getelementptr inbounds i8, ptr %413, i64 %415
  %417 = load i8, ptr %416, align 1, !tbaa !11
  %418 = load ptr, ptr %43, align 8, !tbaa !5
  %419 = load i8, ptr %44, align 1, !tbaa !11
  %420 = sext i8 %419 to i64
  %421 = getelementptr inbounds i8, ptr %418, i64 %420
  store i8 %417, ptr %421, align 1, !tbaa !11
  br label %422

422:                                              ; preds = %412
  %423 = load i8, ptr %44, align 1, !tbaa !11
  %424 = add i8 %423, 1
  store i8 %424, ptr %44, align 1, !tbaa !11
  br label %406, !llvm.loop !33

425:                                              ; preds = %406
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  br label %426

426:                                              ; preds = %425
  br label %427

427:                                              ; preds = %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %428

428:                                              ; preds = %427
  %429 = load i32, ptr %39, align 4, !tbaa !9
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %39, align 4, !tbaa !9
  br label %341, !llvm.loop !35

431:                                              ; preds = %341
  br label %432

432:                                              ; preds = %431
  %433 = load i32, ptr %38, align 4, !tbaa !9
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %38, align 4, !tbaa !9
  br label %336, !llvm.loop !36

435:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  br label %436

436:                                              ; preds = %435, %334, %288, %241, %194
  br label %437

437:                                              ; preds = %436
  br label %438

438:                                              ; preds = %437
  store i32 0, ptr %21, align 4
  br label %439

439:                                              ; preds = %438, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  %440 = load i32, ptr %21, align 4
  switch i32 %440, label %526 [
    i32 0, label %441
    i32 1, label %525
  ]

441:                                              ; preds = %439
  br label %465

442:                                              ; preds = %86
  %443 = load i32, ptr %13, align 4, !tbaa !9
  %444 = load i32, ptr %14, align 4, !tbaa !9
  %445 = icmp eq i32 %443, %444
  br i1 %445, label %446, label %453

446:                                              ; preds = %442
  %447 = load ptr, ptr %8, align 8, !tbaa !5
  %448 = load i32, ptr %10, align 4, !tbaa !9
  %449 = load i32, ptr %11, align 4, !tbaa !9
  %450 = load i32, ptr %12, align 4, !tbaa !9
  %451 = load i32, ptr %13, align 4, !tbaa !9
  %452 = load i32, ptr %14, align 4, !tbaa !9
  call void @libxsmm_itrans(ptr noundef %447, i32 noundef %448, i32 noundef %449, i32 noundef %450, i32 noundef %451, i32 noundef %452)
  br label %464

453:                                              ; preds = %442
  %454 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %455 = icmp ne i32 0, %454
  br i1 %455, label %456, label %463

456:                                              ; preds = %453
  %457 = atomicrmw add ptr @libxsmm_otrans_omp.error_once, i32 1 seq_cst, align 4
  %458 = add i32 %457, 1
  %459 = icmp eq i32 1, %458
  br i1 %459, label %460, label %463

460:                                              ; preds = %456
  %461 = load ptr, ptr @stderr, align 8, !tbaa !5
  %462 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %461, ptr noundef @.str.12) #7
  br label %463

463:                                              ; preds = %460, %456, %453
  br label %464

464:                                              ; preds = %463, %446
  br label %465

465:                                              ; preds = %464, %441
  br label %466

466:                                              ; preds = %465, %83, %80
  br label %525

467:                                              ; preds = %77, %74, %58, %54, %51, %48
  %468 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  %469 = icmp ne i32 0, %468
  br i1 %469, label %470, label %524

470:                                              ; preds = %467
  %471 = atomicrmw add ptr @libxsmm_otrans_omp.error_once, i32 1 seq_cst, align 4
  %472 = add i32 %471, 1
  %473 = icmp eq i32 1, %472
  br i1 %473, label %474, label %524

474:                                              ; preds = %470
  %475 = load ptr, ptr %8, align 8, !tbaa !5
  %476 = icmp eq ptr null, %475
  br i1 %476, label %480, label %477

477:                                              ; preds = %474
  %478 = load ptr, ptr %9, align 8, !tbaa !5
  %479 = icmp eq ptr null, %478
  br i1 %479, label %480, label %483

480:                                              ; preds = %477, %474
  %481 = load ptr, ptr @stderr, align 8, !tbaa !5
  %482 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %481, ptr noundef @.str.13) #7
  br label %523

483:                                              ; preds = %477
  %484 = load ptr, ptr %8, align 8, !tbaa !5
  %485 = load ptr, ptr %9, align 8, !tbaa !5
  %486 = icmp eq ptr %484, %485
  br i1 %486, label %487, label %490

487:                                              ; preds = %483
  %488 = load ptr, ptr @stderr, align 8, !tbaa !5
  %489 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %488, ptr noundef @.str.12) #7
  br label %522

490:                                              ; preds = %483
  %491 = load i32, ptr %10, align 4, !tbaa !9
  %492 = icmp eq i32 0, %491
  br i1 %492, label %496, label %493

493:                                              ; preds = %490
  %494 = load i32, ptr %10, align 4, !tbaa !9
  %495 = icmp ule i32 256, %494
  br i1 %495, label %496, label %499

496:                                              ; preds = %493, %490
  %497 = load ptr, ptr @stderr, align 8, !tbaa !5
  %498 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %497, ptr noundef @.str.14) #7
  br label %521

499:                                              ; preds = %493
  %500 = load i32, ptr %13, align 4, !tbaa !9
  %501 = load i32, ptr %11, align 4, !tbaa !9
  %502 = icmp slt i32 %500, %501
  br i1 %502, label %507, label %503

503:                                              ; preds = %499
  %504 = load i32, ptr %14, align 4, !tbaa !9
  %505 = load i32, ptr %12, align 4, !tbaa !9
  %506 = icmp slt i32 %504, %505
  br i1 %506, label %507, label %510

507:                                              ; preds = %503, %499
  %508 = load ptr, ptr @stderr, align 8, !tbaa !5
  %509 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %508, ptr noundef @.str.15) #7
  br label %520

510:                                              ; preds = %503
  %511 = load i32, ptr %11, align 4, !tbaa !9
  %512 = icmp sgt i32 0, %511
  br i1 %512, label %516, label %513

513:                                              ; preds = %510
  %514 = load i32, ptr %12, align 4, !tbaa !9
  %515 = icmp sgt i32 0, %514
  br i1 %515, label %516, label %519

516:                                              ; preds = %513, %510
  %517 = load ptr, ptr @stderr, align 8, !tbaa !5
  %518 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %517, ptr noundef @.str.16) #7
  br label %519

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

520:                                              ; preds = %519, %507
  br label %521

521:                                              ; preds = %520, %496
  br label %522

522:                                              ; preds = %521, %487
  br label %523

523:                                              ; preds = %522, %480
  br label %524

524:                                              ; preds = %523, %470, %467
  br label %525

525:                                              ; preds = %524, %466, %439
  ret void

526:                                              ; preds = %439
  unreachable
}

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

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) #0

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

declare void @libxsmm_itrans(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

attributes #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 = { 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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nounwind }
attributes #8 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !6, i64 32}
!13 = !{!"libxsmm_meltw_unary_param", !14, i64 0, !15, i64 32, !15, i64 80}
!14 = !{!"libxsmm_matrix_op_arg", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!"libxsmm_matrix_arg", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40}
!16 = !{!13, !6, i64 80}
!17 = !{!18, !18, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!23, !23, i64 0}
!23 = !{!"float", !7, i64 0}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = !{i64 0, i64 16, !11}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20, !34}
!34 = !{!"llvm.loop.unroll.count", i32 4}
!35 = distinct !{!35, !20}
!36 = distinct !{!36, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_meltw_unary_shape = type { i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meltw_unary_param = type { %struct.libxsmm_matrix_op_arg, %struct.libxsmm_matrix_arg, %struct.libxsmm_matrix_arg }
%struct.libxsmm_matrix_op_arg = type { ptr, ptr, ptr, ptr }
%struct.libxsmm_matrix_arg = type { ptr, ptr, ptr, ptr, ptr, ptr }

@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_xcopy_jit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@libxsmm_otrans_omp.error_once = external hidden global i32, align 4
@.str.12 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [71 x i8], align 1

declare void @libxsmm_init() local_unnamed_addr #0

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_otrans_omp(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #4 {
  %8 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %9 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %10 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %11 = alloca %struct.libxsmm_meltw_unary_shape, align 8
  %12 = alloca %struct.libxsmm_meltw_unary_param, align 8
  %13 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 2
  br i1 %14, label %15, label %16

15:                                               ; preds = %7
  tail call void @libxsmm_init() #6
  br label %16

16:                                               ; preds = %15, %7
  %17 = add i32 %2, -256
  %or.cond = icmp ult i32 %17, -255
  %.not = icmp sgt i32 %3, %5
  %or.cond197 = or i1 %or.cond, %.not
  %.not190 = icmp sgt i32 %4, %6
  %or.cond198 = or i1 %or.cond197, %.not190
  br i1 %or.cond198, label %209, label %18

18:                                               ; preds = %16
  %19 = icmp ne ptr %0, null
  %20 = icmp ne ptr %1, null
  %or.cond3 = and i1 %19, %20
  %21 = icmp sgt i32 %3, 0
  %or.cond5 = and i1 %or.cond3, %21
  %22 = icmp sgt i32 %4, 0
  %or.cond7 = and i1 %or.cond5, %22
  %23 = or i32 %4, %3
  %or.cond9 = icmp eq i32 %23, 0
  %or.cond199 = or i1 %or.cond7, %or.cond9
  br i1 %or.cond199, label %24, label %209

24:                                               ; preds = %18
  %or.cond11 = and i1 %21, %22
  br i1 %or.cond11, label %25, label %.loopexit

25:                                               ; preds = %24
  %.not192 = icmp eq ptr %0, %1
  br i1 %.not192, label %198, label %26

26:                                               ; preds = %25
  %27 = load i32, ptr @libxsmm_xcopy_jit, align 4, !tbaa !5
  %28 = and i32 %27, 9
  %or.cond200.not = icmp eq i32 %28, 9
  br i1 %or.cond200.not, label %29, label %.thread

29:                                               ; preds = %26
  %trunc = trunc nuw i32 %2 to i8
  switch i8 %trunc, label %.thread [
    i8 8, label %30
    i8 4, label %32
    i8 2, label %34
    i8 1, label %36
  ]

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %8) #6
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %8, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 0, i32 noundef 0, i32 noundef 0) #6
  %31 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %8, i32 noundef 0) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %8) #6
  br label %38

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %9) #6
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %9, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 1, i32 noundef 1, i32 noundef 1) #6
  %33 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %9, i32 noundef 0) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %9) #6
  br label %38

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %10) #6
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %10, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 10, i32 noundef 10, i32 noundef 10) #6
  %35 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %10, i32 noundef 0) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %10) #6
  br label %38

36:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %11) #6
  call void @libxsmm_create_meltw_unary_shape(ptr dead_on_unwind nonnull writable sret(%struct.libxsmm_meltw_unary_shape) align 4 %11, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef 12, i32 noundef 12, i32 noundef 12) #6
  %37 = call ptr @libxsmm_dispatch_meltw_unary(i32 noundef 29, ptr noundef nonnull byval(%struct.libxsmm_meltw_unary_shape) align 8 %11, i32 noundef 0) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %11) #6
  br label %38

38:                                               ; preds = %36, %34, %32, %30
  %.sroa.0.0 = phi ptr [ %37, %36 ], [ %35, %34 ], [ %33, %32 ], [ %31, %30 ]
  %.not196 = icmp eq ptr %.sroa.0.0, null
  br i1 %.not196, label %.thread, label %39

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %12) #6
  %40 = getelementptr inbounds i8, ptr %12, i64 32
  store ptr %1, ptr %40, align 8, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %12, i64 80
  store ptr %0, ptr %41, align 8, !tbaa !14
  call void %.sroa.0.0(ptr noundef nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %12) #6
  br label %.loopexit

.thread:                                          ; preds = %29, %26, %38
  %42 = add nsw i32 %2, -2
  %43 = call i32 @llvm.fshl.i32(i32 %42, i32 %42, i32 31)
  switch i32 %43, label %.preheader.lr.ph.split.us [
    i32 0, label %.preheader205.us.preheader
    i32 1, label %.preheader208.us.preheader
    i32 3, label %.preheader211.us.preheader
    i32 7, label %.preheader214.us.preheader
  ]

.preheader214.us.preheader:                       ; preds = %.thread
  %44 = sext i32 %5 to i64
  %45 = sext i32 %6 to i64
  %wide.trip.count251 = zext nneg i32 %3 to i64
  %wide.trip.count = zext nneg i32 %4 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %46 = icmp eq i32 %4, 1
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader214.us

.preheader214.us:                                 ; preds = %.preheader214.us.preheader, %._crit_edge.us
  %indvars.iv248 = phi i64 [ 0, %.preheader214.us.preheader ], [ %indvars.iv.next249, %._crit_edge.us ]
  %47 = mul nsw i64 %indvars.iv248, %45
  br i1 %46, label %._crit_edge.us.unr-lcssa, label %.preheader214.us.new

.preheader214.us.new:                             ; preds = %.preheader214.us, %.preheader214.us.new
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.preheader214.us.new ], [ 0, %.preheader214.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader214.us.new ], [ 0, %.preheader214.us ]
  %48 = mul nsw i64 %indvars.iv, %44
  %49 = add nsw i64 %48, %indvars.iv248
  %50 = shl i64 %49, 4
  %51 = getelementptr inbounds i8, ptr %1, i64 %50
  %52 = add nsw i64 %47, %indvars.iv
  %53 = shl i64 %52, 4
  %54 = getelementptr inbounds i8, ptr %0, i64 %53
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %51, i64 16, i1 false), !tbaa.struct !15
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %55 = mul nsw i64 %indvars.iv.next, %44
  %56 = add nsw i64 %55, %indvars.iv248
  %57 = shl i64 %56, 4
  %58 = getelementptr inbounds i8, ptr %1, i64 %57
  %59 = add nsw i64 %47, %indvars.iv.next
  %60 = shl i64 %59, 4
  %61 = getelementptr inbounds i8, ptr %0, i64 %60
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %58, i64 16, i1 false), !tbaa.struct !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.unr-lcssa, label %.preheader214.us.new, !llvm.loop !17

._crit_edge.us.unr-lcssa:                         ; preds = %.preheader214.us.new, %.preheader214.us
  %indvars.iv.unr = phi i64 [ 0, %.preheader214.us ], [ %indvars.iv.next.1, %.preheader214.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.epilog-lcssa

._crit_edge.us.epilog-lcssa:                      ; preds = %._crit_edge.us.unr-lcssa
  %62 = mul nsw i64 %indvars.iv.unr, %44
  %63 = add nsw i64 %62, %indvars.iv248
  %64 = shl i64 %63, 4
  %65 = getelementptr inbounds i8, ptr %1, i64 %64
  %66 = add nsw i64 %47, %indvars.iv.unr
  %67 = shl i64 %66, 4
  %68 = getelementptr inbounds i8, ptr %0, i64 %67
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 8 dereferenceable(16) %65, i64 16, i1 false), !tbaa.struct !15
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.unr-lcssa, %._crit_edge.us.epilog-lcssa
  %indvars.iv.next249 = add nuw nsw i64 %indvars.iv248, 1
  %exitcond252.not = icmp eq i64 %indvars.iv.next249, %wide.trip.count251
  br i1 %exitcond252.not, label %.loopexit, label %.preheader214.us, !llvm.loop !19

.preheader211.us.preheader:                       ; preds = %.thread
  %69 = sext i32 %5 to i64
  %70 = sext i32 %6 to i64
  %wide.trip.count262 = zext nneg i32 %3 to i64
  %wide.trip.count257 = zext nneg i32 %4 to i64
  %xtraiter310 = and i64 %wide.trip.count257, 1
  %71 = icmp eq i32 %4, 1
  %unroll_iter312 = and i64 %wide.trip.count257, 2147483646
  %lcmp.mod311.not = icmp eq i64 %xtraiter310, 0
  br label %.preheader211.us

.preheader211.us:                                 ; preds = %.preheader211.us.preheader, %._crit_edge.us221
  %indvars.iv259 = phi i64 [ 0, %.preheader211.us.preheader ], [ %indvars.iv.next260, %._crit_edge.us221 ]
  %72 = mul nsw i64 %indvars.iv259, %70
  br i1 %71, label %._crit_edge.us221.unr-lcssa, label %.preheader211.us.new

.preheader211.us.new:                             ; preds = %.preheader211.us, %.preheader211.us.new
  %indvars.iv253 = phi i64 [ %indvars.iv.next254.1, %.preheader211.us.new ], [ 0, %.preheader211.us ]
  %niter313 = phi i64 [ %niter313.next.1, %.preheader211.us.new ], [ 0, %.preheader211.us ]
  %73 = mul nsw i64 %indvars.iv253, %69
  %74 = add nsw i64 %73, %indvars.iv259
  %75 = shl i64 %74, 3
  %76 = getelementptr inbounds i8, ptr %1, i64 %75
  %77 = add nsw i64 %72, %indvars.iv253
  %78 = shl i64 %77, 3
  %79 = getelementptr inbounds i8, ptr %0, i64 %78
  %80 = load double, ptr %76, align 8, !tbaa !20
  store double %80, ptr %79, align 8, !tbaa !20
  %indvars.iv.next254 = or disjoint i64 %indvars.iv253, 1
  %81 = mul nsw i64 %indvars.iv.next254, %69
  %82 = add nsw i64 %81, %indvars.iv259
  %83 = shl i64 %82, 3
  %84 = getelementptr inbounds i8, ptr %1, i64 %83
  %85 = add nsw i64 %72, %indvars.iv.next254
  %86 = shl i64 %85, 3
  %87 = getelementptr inbounds i8, ptr %0, i64 %86
  %88 = load double, ptr %84, align 8, !tbaa !20
  store double %88, ptr %87, align 8, !tbaa !20
  %indvars.iv.next254.1 = add nuw nsw i64 %indvars.iv253, 2
  %niter313.next.1 = add i64 %niter313, 2
  %niter313.ncmp.1 = icmp eq i64 %niter313.next.1, %unroll_iter312
  br i1 %niter313.ncmp.1, label %._crit_edge.us221.unr-lcssa, label %.preheader211.us.new, !llvm.loop !22

._crit_edge.us221.unr-lcssa:                      ; preds = %.preheader211.us.new, %.preheader211.us
  %indvars.iv253.unr = phi i64 [ 0, %.preheader211.us ], [ %indvars.iv.next254.1, %.preheader211.us.new ]
  br i1 %lcmp.mod311.not, label %._crit_edge.us221, label %._crit_edge.us221.epilog-lcssa

._crit_edge.us221.epilog-lcssa:                   ; preds = %._crit_edge.us221.unr-lcssa
  %89 = mul nsw i64 %indvars.iv253.unr, %69
  %90 = add nsw i64 %89, %indvars.iv259
  %91 = shl i64 %90, 3
  %92 = getelementptr inbounds i8, ptr %1, i64 %91
  %93 = add nsw i64 %72, %indvars.iv253.unr
  %94 = shl i64 %93, 3
  %95 = getelementptr inbounds i8, ptr %0, i64 %94
  %96 = load double, ptr %92, align 8, !tbaa !20
  store double %96, ptr %95, align 8, !tbaa !20
  br label %._crit_edge.us221

._crit_edge.us221:                                ; preds = %._crit_edge.us221.unr-lcssa, %._crit_edge.us221.epilog-lcssa
  %indvars.iv.next260 = add nuw nsw i64 %indvars.iv259, 1
  %exitcond263.not = icmp eq i64 %indvars.iv.next260, %wide.trip.count262
  br i1 %exitcond263.not, label %.loopexit, label %.preheader211.us, !llvm.loop !23

.preheader208.us.preheader:                       ; preds = %.thread
  %97 = sext i32 %5 to i64
  %98 = sext i32 %6 to i64
  %wide.trip.count273 = zext nneg i32 %3 to i64
  %wide.trip.count268 = zext nneg i32 %4 to i64
  %xtraiter315 = and i64 %wide.trip.count268, 1
  %99 = icmp eq i32 %4, 1
  %unroll_iter317 = and i64 %wide.trip.count268, 2147483646
  %lcmp.mod316.not = icmp eq i64 %xtraiter315, 0
  br label %.preheader208.us

.preheader208.us:                                 ; preds = %.preheader208.us.preheader, %._crit_edge.us224
  %indvars.iv270 = phi i64 [ 0, %.preheader208.us.preheader ], [ %indvars.iv.next271, %._crit_edge.us224 ]
  %100 = mul nsw i64 %indvars.iv270, %98
  br i1 %99, label %._crit_edge.us224.unr-lcssa, label %.preheader208.us.new

.preheader208.us.new:                             ; preds = %.preheader208.us, %.preheader208.us.new
  %indvars.iv264 = phi i64 [ %indvars.iv.next265.1, %.preheader208.us.new ], [ 0, %.preheader208.us ]
  %niter318 = phi i64 [ %niter318.next.1, %.preheader208.us.new ], [ 0, %.preheader208.us ]
  %101 = mul nsw i64 %indvars.iv264, %97
  %102 = add nsw i64 %101, %indvars.iv270
  %103 = shl i64 %102, 2
  %104 = getelementptr inbounds i8, ptr %1, i64 %103
  %105 = add nsw i64 %100, %indvars.iv264
  %106 = shl i64 %105, 2
  %107 = getelementptr inbounds i8, ptr %0, i64 %106
  %108 = load float, ptr %104, align 4, !tbaa !24
  store float %108, ptr %107, align 4, !tbaa !24
  %indvars.iv.next265 = or disjoint i64 %indvars.iv264, 1
  %109 = mul nsw i64 %indvars.iv.next265, %97
  %110 = add nsw i64 %109, %indvars.iv270
  %111 = shl i64 %110, 2
  %112 = getelementptr inbounds i8, ptr %1, i64 %111
  %113 = add nsw i64 %100, %indvars.iv.next265
  %114 = shl i64 %113, 2
  %115 = getelementptr inbounds i8, ptr %0, i64 %114
  %116 = load float, ptr %112, align 4, !tbaa !24
  store float %116, ptr %115, align 4, !tbaa !24
  %indvars.iv.next265.1 = add nuw nsw i64 %indvars.iv264, 2
  %niter318.next.1 = add i64 %niter318, 2
  %niter318.ncmp.1 = icmp eq i64 %niter318.next.1, %unroll_iter317
  br i1 %niter318.ncmp.1, label %._crit_edge.us224.unr-lcssa, label %.preheader208.us.new, !llvm.loop !26

._crit_edge.us224.unr-lcssa:                      ; preds = %.preheader208.us.new, %.preheader208.us
  %indvars.iv264.unr = phi i64 [ 0, %.preheader208.us ], [ %indvars.iv.next265.1, %.preheader208.us.new ]
  br i1 %lcmp.mod316.not, label %._crit_edge.us224, label %._crit_edge.us224.epilog-lcssa

._crit_edge.us224.epilog-lcssa:                   ; preds = %._crit_edge.us224.unr-lcssa
  %117 = mul nsw i64 %indvars.iv264.unr, %97
  %118 = add nsw i64 %117, %indvars.iv270
  %119 = shl i64 %118, 2
  %120 = getelementptr inbounds i8, ptr %1, i64 %119
  %121 = add nsw i64 %100, %indvars.iv264.unr
  %122 = shl i64 %121, 2
  %123 = getelementptr inbounds i8, ptr %0, i64 %122
  %124 = load float, ptr %120, align 4, !tbaa !24
  store float %124, ptr %123, align 4, !tbaa !24
  br label %._crit_edge.us224

._crit_edge.us224:                                ; preds = %._crit_edge.us224.unr-lcssa, %._crit_edge.us224.epilog-lcssa
  %indvars.iv.next271 = add nuw nsw i64 %indvars.iv270, 1
  %exitcond274.not = icmp eq i64 %indvars.iv.next271, %wide.trip.count273
  br i1 %exitcond274.not, label %.loopexit, label %.preheader208.us, !llvm.loop !27

.preheader205.us.preheader:                       ; preds = %.thread
  %125 = sext i32 %5 to i64
  %126 = sext i32 %6 to i64
  %wide.trip.count284 = zext nneg i32 %3 to i64
  %wide.trip.count279 = zext nneg i32 %4 to i64
  %xtraiter320 = and i64 %wide.trip.count279, 1
  %127 = icmp eq i32 %4, 1
  %unroll_iter322 = and i64 %wide.trip.count279, 2147483646
  %lcmp.mod321.not = icmp eq i64 %xtraiter320, 0
  br label %.preheader205.us

.preheader205.us:                                 ; preds = %.preheader205.us.preheader, %._crit_edge.us227
  %indvars.iv281 = phi i64 [ 0, %.preheader205.us.preheader ], [ %indvars.iv.next282, %._crit_edge.us227 ]
  %128 = mul nsw i64 %indvars.iv281, %126
  br i1 %127, label %._crit_edge.us227.unr-lcssa, label %.preheader205.us.new

.preheader205.us.new:                             ; preds = %.preheader205.us, %.preheader205.us.new
  %indvars.iv275 = phi i64 [ %indvars.iv.next276.1, %.preheader205.us.new ], [ 0, %.preheader205.us ]
  %niter323 = phi i64 [ %niter323.next.1, %.preheader205.us.new ], [ 0, %.preheader205.us ]
  %129 = mul nsw i64 %indvars.iv275, %125
  %130 = add nsw i64 %129, %indvars.iv281
  %131 = shl i64 %130, 1
  %132 = getelementptr inbounds i8, ptr %1, i64 %131
  %133 = add nsw i64 %128, %indvars.iv275
  %134 = shl i64 %133, 1
  %135 = getelementptr inbounds i8, ptr %0, i64 %134
  %136 = load i16, ptr %132, align 2, !tbaa !28
  store i16 %136, ptr %135, align 2, !tbaa !28
  %indvars.iv.next276 = or disjoint i64 %indvars.iv275, 1
  %137 = mul nsw i64 %indvars.iv.next276, %125
  %138 = add nsw i64 %137, %indvars.iv281
  %139 = shl i64 %138, 1
  %140 = getelementptr inbounds i8, ptr %1, i64 %139
  %141 = add nsw i64 %128, %indvars.iv.next276
  %142 = shl i64 %141, 1
  %143 = getelementptr inbounds i8, ptr %0, i64 %142
  %144 = load i16, ptr %140, align 2, !tbaa !28
  store i16 %144, ptr %143, align 2, !tbaa !28
  %indvars.iv.next276.1 = add nuw nsw i64 %indvars.iv275, 2
  %niter323.next.1 = add i64 %niter323, 2
  %niter323.ncmp.1 = icmp eq i64 %niter323.next.1, %unroll_iter322
  br i1 %niter323.ncmp.1, label %._crit_edge.us227.unr-lcssa, label %.preheader205.us.new, !llvm.loop !30

._crit_edge.us227.unr-lcssa:                      ; preds = %.preheader205.us.new, %.preheader205.us
  %indvars.iv275.unr = phi i64 [ 0, %.preheader205.us ], [ %indvars.iv.next276.1, %.preheader205.us.new ]
  br i1 %lcmp.mod321.not, label %._crit_edge.us227, label %._crit_edge.us227.epilog-lcssa

._crit_edge.us227.epilog-lcssa:                   ; preds = %._crit_edge.us227.unr-lcssa
  %145 = mul nsw i64 %indvars.iv275.unr, %125
  %146 = add nsw i64 %145, %indvars.iv281
  %147 = shl i64 %146, 1
  %148 = getelementptr inbounds i8, ptr %1, i64 %147
  %149 = add nsw i64 %128, %indvars.iv275.unr
  %150 = shl i64 %149, 1
  %151 = getelementptr inbounds i8, ptr %0, i64 %150
  %152 = load i16, ptr %148, align 2, !tbaa !28
  store i16 %152, ptr %151, align 2, !tbaa !28
  br label %._crit_edge.us227

._crit_edge.us227:                                ; preds = %._crit_edge.us227.unr-lcssa, %._crit_edge.us227.epilog-lcssa
  %indvars.iv.next282 = add nuw nsw i64 %indvars.iv281, 1
  %exitcond285.not = icmp eq i64 %indvars.iv.next282, %wide.trip.count284
  br i1 %exitcond285.not, label %.loopexit, label %.preheader205.us, !llvm.loop !31

.preheader.lr.ph.split.us:                        ; preds = %.thread
  %153 = zext nneg i32 %2 to i64
  %154 = sext i32 %5 to i64
  %155 = sext i32 %6 to i64
  %sext = shl nuw i32 %2, 24
  %156 = ashr exact i32 %sext, 24
  %157 = icmp sgt i32 %156, 0
  br i1 %157, label %.preheader.us.us.preheader, label %.loopexit

.preheader.us.us.preheader:                       ; preds = %.preheader.lr.ph.split.us
  %wide.trip.count295 = zext nneg i32 %3 to i64
  %wide.trip.count290 = zext nneg i32 %4 to i64
  br label %.preheader.us.us

.preheader.us.us:                                 ; preds = %.preheader.us.us.preheader, %._crit_edge231.split.us.us.us
  %indvars.iv292 = phi i64 [ 0, %.preheader.us.us.preheader ], [ %indvars.iv.next293, %._crit_edge231.split.us.us.us ]
  %158 = mul nsw i64 %indvars.iv292, %155
  br label %.lr.ph.us.us.us

.lr.ph.us.us.us:                                  ; preds = %._crit_edge.us232.us.us, %.preheader.us.us
  %indvars.iv286 = phi i64 [ %indvars.iv.next287, %._crit_edge.us232.us.us ], [ 0, %.preheader.us.us ]
  %159 = mul nsw i64 %indvars.iv286, %154
  %160 = add nsw i64 %159, %indvars.iv292
  %161 = mul i64 %160, %153
  %162 = getelementptr inbounds i8, ptr %1, i64 %161
  %163 = add nsw i64 %158, %indvars.iv286
  %164 = mul i64 %163, %153
  %165 = getelementptr inbounds i8, ptr %0, i64 %164
  br label %166

166:                                              ; preds = %190, %.lr.ph.us.us.us
  %.0228.us.us.us = phi i8 [ 0, %.lr.ph.us.us.us ], [ %195, %190 ]
  %167 = zext nneg i8 %.0228.us.us.us to i64
  %168 = getelementptr inbounds i8, ptr %162, i64 %167
  %169 = load i8, ptr %168, align 1, !tbaa !16
  %170 = getelementptr inbounds i8, ptr %165, i64 %167
  store i8 %169, ptr %170, align 1, !tbaa !16
  %171 = or disjoint i8 %.0228.us.us.us, 1
  %172 = zext nneg i8 %171 to i32
  %173 = icmp sgt i32 %156, %172
  br i1 %173, label %174, label %._crit_edge.us232.us.us, !llvm.loop !32

174:                                              ; preds = %166
  %175 = zext nneg i8 %171 to i64
  %176 = getelementptr inbounds i8, ptr %162, i64 %175
  %177 = load i8, ptr %176, align 1, !tbaa !16
  %178 = getelementptr inbounds i8, ptr %165, i64 %175
  store i8 %177, ptr %178, align 1, !tbaa !16
  %179 = or disjoint i8 %.0228.us.us.us, 2
  %180 = zext nneg i8 %179 to i32
  %181 = icmp ugt i32 %156, %180
  br i1 %181, label %182, label %._crit_edge.us232.us.us, !llvm.loop !32

182:                                              ; preds = %174
  %183 = zext nneg i8 %179 to i64
  %184 = getelementptr inbounds i8, ptr %162, i64 %183
  %185 = load i8, ptr %184, align 1, !tbaa !16
  %186 = getelementptr inbounds i8, ptr %165, i64 %183
  store i8 %185, ptr %186, align 1, !tbaa !16
  %187 = or disjoint i8 %.0228.us.us.us, 3
  %188 = zext nneg i8 %187 to i32
  %189 = icmp ugt i32 %156, %188
  br i1 %189, label %190, label %._crit_edge.us232.us.us, !llvm.loop !32

190:                                              ; preds = %182
  %191 = zext nneg i8 %187 to i64
  %192 = getelementptr inbounds i8, ptr %162, i64 %191
  %193 = load i8, ptr %192, align 1, !tbaa !16
  %194 = getelementptr inbounds i8, ptr %165, i64 %191
  store i8 %193, ptr %194, align 1, !tbaa !16
  %195 = add nuw nsw i8 %.0228.us.us.us, 4
  %196 = zext nneg i8 %195 to i32
  %197 = icmp ugt i32 %156, %196
  br i1 %197, label %166, label %._crit_edge.us232.us.us, !llvm.loop !34

._crit_edge.us232.us.us:                          ; preds = %190, %182, %174, %166
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %exitcond291.not = icmp eq i64 %indvars.iv.next287, %wide.trip.count290
  br i1 %exitcond291.not, label %._crit_edge231.split.us.us.us, label %.lr.ph.us.us.us, !llvm.loop !36

._crit_edge231.split.us.us.us:                    ; preds = %._crit_edge.us232.us.us
  %indvars.iv.next293 = add nuw nsw i64 %indvars.iv292, 1
  %exitcond296.not = icmp eq i64 %indvars.iv.next293, %wide.trip.count295
  br i1 %exitcond296.not, label %.loopexit, label %.preheader.us.us, !llvm.loop !37

198:                                              ; preds = %25
  %199 = icmp eq i32 %5, %6
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  tail call void @libxsmm_itrans(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %5) #6
  br label %.loopexit

201:                                              ; preds = %198
  %202 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !5
  %.not193 = icmp eq i32 %202, 0
  br i1 %.not193, label %.loopexit, label %203

203:                                              ; preds = %201
  %204 = atomicrmw add ptr @libxsmm_otrans_omp.error_once, i32 1 seq_cst, align 4
  %205 = icmp eq i32 %204, 0
  br i1 %205, label %206, label %.loopexit

206:                                              ; preds = %203
  %207 = load ptr, ptr @stderr, align 8, !tbaa !38
  %208 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef nonnull @.str.12) #7
  br label %.loopexit

209:                                              ; preds = %18, %16
  %210 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !5
  %.not191 = icmp eq i32 %210, 0
  br i1 %.not191, label %.loopexit, label %211

211:                                              ; preds = %209
  %212 = atomicrmw add ptr @libxsmm_otrans_omp.error_once, i32 1 seq_cst, align 4
  %213 = icmp eq i32 %212, 0
  br i1 %213, label %214, label %.loopexit

214:                                              ; preds = %211
  %215 = icmp eq ptr %0, null
  %216 = icmp eq ptr %1, null
  %or.cond13 = or i1 %215, %216
  br i1 %or.cond13, label %217, label %220

217:                                              ; preds = %214
  %218 = load ptr, ptr @stderr, align 8, !tbaa !38
  %219 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %218, ptr noundef nonnull @.str.13) #7
  br label %.loopexit

220:                                              ; preds = %214
  %221 = icmp eq ptr %0, %1
  br i1 %221, label %222, label %225

222:                                              ; preds = %220
  %223 = load ptr, ptr @stderr, align 8, !tbaa !38
  %224 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef nonnull @.str.12) #7
  br label %.loopexit

225:                                              ; preds = %220
  br i1 %or.cond, label %226, label %229

226:                                              ; preds = %225
  %227 = load ptr, ptr @stderr, align 8, !tbaa !38
  %228 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef nonnull @.str.14) #7
  br label %.loopexit

229:                                              ; preds = %225
  %or.cond201 = or i1 %.not, %.not190
  br i1 %or.cond201, label %230, label %233

230:                                              ; preds = %229
  %231 = load ptr, ptr @stderr, align 8, !tbaa !38
  %232 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef nonnull @.str.15) #7
  br label %.loopexit

233:                                              ; preds = %229
  %234 = or i32 %4, %3
  %or.cond17.not = icmp sgt i32 %234, -1
  br i1 %or.cond17.not, label %.loopexit, label %235

235:                                              ; preds = %233
  %236 = load ptr, ptr @stderr, align 8, !tbaa !38
  %237 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %236, ptr noundef nonnull @.str.16) #7
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge.us, %._crit_edge.us221, %._crit_edge.us224, %._crit_edge.us227, %._crit_edge231.split.us.us.us, %.preheader.lr.ph.split.us, %39, %209, %211, %222, %230, %233, %235, %226, %217, %24, %200, %206, %203, %201
  ret void
}

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 #0

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

declare void @libxsmm_itrans(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

attributes #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree 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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { cold 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, !12, i64 32}
!10 = !{!"libxsmm_meltw_unary_param", !11, i64 0, !13, i64 32, !13, i64 80}
!11 = !{!"libxsmm_matrix_op_arg", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"libxsmm_matrix_arg", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40}
!14 = !{!10, !12, i64 80}
!15 = !{i64 0, i64 16, !16}
!16 = !{!7, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !21, i64 0}
!21 = !{!"double", !7, i64 0}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = !{!25, !25, i64 0}
!25 = !{!"float", !7, i64 0}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = !{!29, !29, i64 0}
!29 = !{!"short", !7, i64 0}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = distinct !{!32, !18, !33}
!33 = !{!"llvm.loop.unroll.count", i32 4}
!34 = distinct !{!34, !18, !35}
!35 = !{!"llvm.loop.unroll.disable"}
!36 = distinct !{!36, !18}
!37 = distinct !{!37, !18}
!38 = !{!12, !12, i64 0}


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