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

; 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_mateltwise_kernel_config_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_mateltwise_gp_reg_mapping_struct = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_configure_microkernel_loops(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20) #1 {
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  store ptr %0, ptr %22, align 8, !tbaa !5
  store ptr %1, ptr %23, align 8, !tbaa !5
  store ptr %2, ptr %24, align 8, !tbaa !5
  store ptr %3, ptr %25, align 8, !tbaa !5
  store i32 %4, ptr %26, align 4, !tbaa !9
  store i32 %5, ptr %27, align 4, !tbaa !9
  store i32 %6, ptr %28, align 4, !tbaa !9
  store ptr %7, ptr %29, align 8, !tbaa !5
  store ptr %8, ptr %30, align 8, !tbaa !5
  store ptr %9, ptr %31, align 8, !tbaa !5
  store ptr %10, ptr %32, align 8, !tbaa !5
  store ptr %11, ptr %33, align 8, !tbaa !5
  store ptr %12, ptr %34, align 8, !tbaa !5
  store ptr %13, ptr %35, align 8, !tbaa !5
  store ptr %14, ptr %36, align 8, !tbaa !5
  store ptr %15, ptr %37, align 8, !tbaa !5
  store ptr %16, ptr %38, align 8, !tbaa !5
  store ptr %17, ptr %39, align 8, !tbaa !5
  store ptr %18, ptr %40, align 8, !tbaa !5
  store ptr %19, ptr %41, align 8, !tbaa !5
  store ptr %20, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #2
  store i32 32, ptr %57, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #2
  %61 = load ptr, ptr %24, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %61, i32 0, i32 125
  %63 = load i32, ptr %62, align 4, !tbaa !11
  store i32 %63, ptr %58, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #2
  %64 = load ptr, ptr %24, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %64, i32 0, i32 18
  %66 = load i32, ptr %65, align 4, !tbaa !13
  store i32 %66, ptr %59, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #2
  %67 = load ptr, ptr %24, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %67, i32 0, i32 120
  %69 = load i32, ptr %68, align 4, !tbaa !14
  store i32 %69, ptr %60, align 4, !tbaa !9
  %70 = load ptr, ptr %25, align 8, !tbaa !5
  %71 = load ptr, ptr %22, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %71, i32 0, i32 6
  %73 = load i32, ptr %72, align 4, !tbaa !15
  %74 = icmp ult i32 %73, 1051
  br i1 %74, label %75, label %76

75:                                               ; preds = %21
  store i32 16, ptr %57, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %75, %21
  %77 = load i32, ptr %26, align 4, !tbaa !9
  %78 = load i32, ptr %60, align 4, !tbaa !9
  %79 = add i32 %77, %78
  %80 = sub i32 %79, 1
  %81 = load i32, ptr %60, align 4, !tbaa !9
  %82 = udiv i32 %80, %81
  store i32 %82, ptr %43, align 4, !tbaa !9
  %83 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %83, ptr %44, align 4, !tbaa !9
  %84 = load i32, ptr %57, align 4, !tbaa !9
  %85 = load i32, ptr %59, align 4, !tbaa !9
  %86 = sub i32 %84, %85
  store i32 %86, ptr %57, align 4, !tbaa !9
  %87 = load i32, ptr %28, align 4, !tbaa !9
  %88 = icmp eq i32 %87, 1
  br i1 %88, label %89, label %91

89:                                               ; preds = %76
  %90 = load i32, ptr %43, align 4, !tbaa !9
  store i32 %90, ptr %45, align 4, !tbaa !9
  br label %99

91:                                               ; preds = %76
  %92 = load i32, ptr %43, align 4, !tbaa !9
  %93 = icmp ult i32 %92, 16
  br i1 %93, label %94, label %96

94:                                               ; preds = %91
  %95 = load i32, ptr %43, align 4, !tbaa !9
  br label %97

96:                                               ; preds = %91
  br label %97

97:                                               ; preds = %96, %94
  %98 = phi i32 [ %95, %94 ], [ 16, %96 ]
  store i32 %98, ptr %45, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %97, %89
  %100 = load i32, ptr %45, align 4, !tbaa !9
  %101 = load i32, ptr %57, align 4, !tbaa !9
  %102 = icmp ugt i32 %100, %101
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load i32, ptr %57, align 4, !tbaa !9
  store i32 %104, ptr %45, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %103, %99
  br label %106

106:                                              ; preds = %111, %105
  %107 = load i32, ptr %43, align 4, !tbaa !9
  %108 = load i32, ptr %45, align 4, !tbaa !9
  %109 = urem i32 %107, %108
  %110 = icmp ne i32 %109, 0
  br i1 %110, label %111, label %114

111:                                              ; preds = %106
  %112 = load i32, ptr %45, align 4, !tbaa !9
  %113 = add i32 %112, -1
  store i32 %113, ptr %45, align 4, !tbaa !9
  br label %106, !llvm.loop !17

114:                                              ; preds = %106
  %115 = load i32, ptr %44, align 4, !tbaa !9
  store i32 %115, ptr %46, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %122, %114
  %117 = load i32, ptr %45, align 4, !tbaa !9
  %118 = load i32, ptr %46, align 4, !tbaa !9
  %119 = mul i32 %117, %118
  %120 = load i32, ptr %57, align 4, !tbaa !9
  %121 = icmp ugt i32 %119, %120
  br i1 %121, label %122, label %125

122:                                              ; preds = %116
  %123 = load i32, ptr %46, align 4, !tbaa !9
  %124 = add i32 %123, -1
  store i32 %124, ptr %46, align 4, !tbaa !9
  br label %116, !llvm.loop !19

125:                                              ; preds = %116
  br label %126

126:                                              ; preds = %131, %125
  %127 = load i32, ptr %44, align 4, !tbaa !9
  %128 = load i32, ptr %46, align 4, !tbaa !9
  %129 = urem i32 %127, %128
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %134

131:                                              ; preds = %126
  %132 = load i32, ptr %46, align 4, !tbaa !9
  %133 = add i32 %132, -1
  store i32 %133, ptr %46, align 4, !tbaa !9
  br label %126, !llvm.loop !20

134:                                              ; preds = %126
  %135 = load i32, ptr %43, align 4, !tbaa !9
  %136 = load i32, ptr %45, align 4, !tbaa !9
  %137 = udiv i32 %135, %136
  store i32 %137, ptr %47, align 4, !tbaa !9
  %138 = load i32, ptr %44, align 4, !tbaa !9
  %139 = load i32, ptr %46, align 4, !tbaa !9
  %140 = udiv i32 %138, %139
  store i32 %140, ptr %48, align 4, !tbaa !9
  %141 = load i32, ptr %58, align 4, !tbaa !9
  %142 = icmp eq i32 %141, 1
  br i1 %142, label %143, label %145

143:                                              ; preds = %134
  %144 = load i32, ptr %48, align 4, !tbaa !9
  br label %147

145:                                              ; preds = %134
  %146 = load i32, ptr %47, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %145, %143
  %148 = phi i32 [ %144, %143 ], [ %146, %145 ]
  store i32 %148, ptr %49, align 4, !tbaa !9
  %149 = load i32, ptr %58, align 4, !tbaa !9
  %150 = icmp eq i32 %149, 1
  br i1 %150, label %151, label %153

151:                                              ; preds = %147
  %152 = load i32, ptr %44, align 4, !tbaa !9
  br label %155

153:                                              ; preds = %147
  %154 = load i32, ptr %43, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %153, %151
  %156 = phi i32 [ %152, %151 ], [ %154, %153 ]
  store i32 %156, ptr %51, align 4, !tbaa !9
  %157 = load i32, ptr %58, align 4, !tbaa !9
  %158 = icmp eq i32 %157, 1
  br i1 %158, label %159, label %163

159:                                              ; preds = %155
  %160 = load ptr, ptr %23, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %160, i32 0, i32 25
  %162 = load i32, ptr %161, align 4, !tbaa !21
  br label %167

163:                                              ; preds = %155
  %164 = load ptr, ptr %23, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %164, i32 0, i32 24
  %166 = load i32, ptr %165, align 4, !tbaa !23
  br label %167

167:                                              ; preds = %163, %159
  %168 = phi i32 [ %162, %159 ], [ %166, %163 ]
  store i32 %168, ptr %53, align 4, !tbaa !9
  %169 = load i32, ptr %58, align 4, !tbaa !9
  %170 = icmp eq i32 %169, 1
  br i1 %170, label %171, label %173

171:                                              ; preds = %167
  %172 = load i32, ptr %46, align 4, !tbaa !9
  br label %175

173:                                              ; preds = %167
  %174 = load i32, ptr %45, align 4, !tbaa !9
  br label %175

175:                                              ; preds = %173, %171
  %176 = phi i32 [ %172, %171 ], [ %174, %173 ]
  store i32 %176, ptr %55, align 4, !tbaa !9
  %177 = load i32, ptr %58, align 4, !tbaa !9
  %178 = icmp eq i32 %177, 0
  br i1 %178, label %179, label %181

179:                                              ; preds = %175
  %180 = load i32, ptr %48, align 4, !tbaa !9
  br label %183

181:                                              ; preds = %175
  %182 = load i32, ptr %47, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %181, %179
  %184 = phi i32 [ %180, %179 ], [ %182, %181 ]
  store i32 %184, ptr %50, align 4, !tbaa !9
  %185 = load i32, ptr %58, align 4, !tbaa !9
  %186 = icmp eq i32 %185, 0
  br i1 %186, label %187, label %189

187:                                              ; preds = %183
  %188 = load i32, ptr %44, align 4, !tbaa !9
  br label %191

189:                                              ; preds = %183
  %190 = load i32, ptr %43, align 4, !tbaa !9
  br label %191

191:                                              ; preds = %189, %187
  %192 = phi i32 [ %188, %187 ], [ %190, %189 ]
  store i32 %192, ptr %52, align 4, !tbaa !9
  %193 = load i32, ptr %58, align 4, !tbaa !9
  %194 = icmp eq i32 %193, 0
  br i1 %194, label %195, label %199

195:                                              ; preds = %191
  %196 = load ptr, ptr %23, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %196, i32 0, i32 25
  %198 = load i32, ptr %197, align 4, !tbaa !21
  br label %203

199:                                              ; preds = %191
  %200 = load ptr, ptr %23, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %200, i32 0, i32 24
  %202 = load i32, ptr %201, align 4, !tbaa !23
  br label %203

203:                                              ; preds = %199, %195
  %204 = phi i32 [ %198, %195 ], [ %202, %199 ]
  store i32 %204, ptr %54, align 4, !tbaa !9
  %205 = load i32, ptr %58, align 4, !tbaa !9
  %206 = icmp eq i32 %205, 0
  br i1 %206, label %207, label %209

207:                                              ; preds = %203
  %208 = load i32, ptr %46, align 4, !tbaa !9
  br label %211

209:                                              ; preds = %203
  %210 = load i32, ptr %45, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %209, %207
  %212 = phi i32 [ %208, %207 ], [ %210, %209 ]
  store i32 %212, ptr %56, align 4, !tbaa !9
  %213 = load i32, ptr %43, align 4, !tbaa !9
  %214 = load ptr, ptr %29, align 8, !tbaa !5
  store i32 %213, ptr %214, align 4, !tbaa !9
  %215 = load i32, ptr %44, align 4, !tbaa !9
  %216 = load ptr, ptr %30, align 8, !tbaa !5
  store i32 %215, ptr %216, align 4, !tbaa !9
  %217 = load i32, ptr %45, align 4, !tbaa !9
  %218 = load ptr, ptr %31, align 8, !tbaa !5
  store i32 %217, ptr %218, align 4, !tbaa !9
  %219 = load i32, ptr %46, align 4, !tbaa !9
  %220 = load ptr, ptr %32, align 8, !tbaa !5
  store i32 %219, ptr %220, align 4, !tbaa !9
  %221 = load i32, ptr %47, align 4, !tbaa !9
  %222 = load ptr, ptr %33, align 8, !tbaa !5
  store i32 %221, ptr %222, align 4, !tbaa !9
  %223 = load i32, ptr %48, align 4, !tbaa !9
  %224 = load ptr, ptr %34, align 8, !tbaa !5
  store i32 %223, ptr %224, align 4, !tbaa !9
  %225 = load i32, ptr %49, align 4, !tbaa !9
  %226 = load ptr, ptr %35, align 8, !tbaa !5
  store i32 %225, ptr %226, align 4, !tbaa !9
  %227 = load i32, ptr %50, align 4, !tbaa !9
  %228 = load ptr, ptr %36, align 8, !tbaa !5
  store i32 %227, ptr %228, align 4, !tbaa !9
  %229 = load i32, ptr %51, align 4, !tbaa !9
  %230 = load ptr, ptr %37, align 8, !tbaa !5
  store i32 %229, ptr %230, align 4, !tbaa !9
  %231 = load i32, ptr %52, align 4, !tbaa !9
  %232 = load ptr, ptr %38, align 8, !tbaa !5
  store i32 %231, ptr %232, align 4, !tbaa !9
  %233 = load i32, ptr %53, align 4, !tbaa !9
  %234 = load ptr, ptr %39, align 8, !tbaa !5
  store i32 %233, ptr %234, align 4, !tbaa !9
  %235 = load i32, ptr %54, align 4, !tbaa !9
  %236 = load ptr, ptr %40, align 8, !tbaa !5
  store i32 %235, ptr %236, align 4, !tbaa !9
  %237 = load i32, ptr %55, align 4, !tbaa !9
  %238 = load ptr, ptr %41, align 8, !tbaa !5
  store i32 %237, ptr %238, align 4, !tbaa !9
  %239 = load i32, ptr %56, align 4, !tbaa !9
  %240 = load ptr, ptr %42, align 8, !tbaa !5
  store i32 %239, ptr %240, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!12, !10, i64 500}
!12 = !{!"libxsmm_mateltwise_kernel_config_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !7, i64 512}
!13 = !{!12, !10, i64 72}
!14 = !{!12, !10, i64 480}
!15 = !{!16, !10, i64 28}
!16 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!22, !10, i64 100}
!22 = !{!"libxsmm_mateltwise_gp_reg_mapping_struct", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!23 = !{!22, !10, i64 96}


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

; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @libxsmm_configure_microkernel_loops(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readnone %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef writeonly %7, ptr nocapture noundef writeonly %8, ptr nocapture noundef writeonly %9, ptr nocapture noundef writeonly %10, ptr nocapture noundef writeonly %11, ptr nocapture noundef writeonly %12, ptr nocapture noundef writeonly %13, ptr nocapture noundef writeonly %14, ptr nocapture noundef writeonly %15, ptr nocapture noundef writeonly %16, ptr nocapture noundef writeonly %17, ptr nocapture noundef writeonly %18, ptr nocapture noundef writeonly %19, ptr nocapture noundef writeonly %20) local_unnamed_addr #0 {
  %22 = getelementptr inbounds i8, ptr %2, i64 500
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %2, i64 72
  %25 = load i32, ptr %24, align 4, !tbaa !10
  %26 = getelementptr inbounds i8, ptr %2, i64 480
  %27 = load i32, ptr %26, align 4, !tbaa !11
  %28 = getelementptr inbounds i8, ptr %0, i64 28
  %29 = load i32, ptr %28, align 4, !tbaa !12
  %30 = icmp ult i32 %29, 1051
  %spec.select = select i1 %30, i32 16, i32 32
  %31 = add i32 %4, -1
  %32 = add i32 %31, %27
  %33 = udiv i32 %32, %27
  %34 = sub i32 %spec.select, %25
  %35 = icmp eq i32 %6, 1
  %36 = tail call i32 @llvm.umin.i32(i32 %33, i32 16)
  %.0 = select i1 %35, i32 %33, i32 %36
  %.1 = tail call i32 @llvm.umin.i32(i32 %.0, i32 %34)
  br label %37

37:                                               ; preds = %37, %21
  %.2 = phi i32 [ %.1, %21 ], [ %40, %37 ]
  %38 = urem i32 %33, %.2
  %39 = udiv i32 %33, %.2
  %.not = icmp eq i32 %38, 0
  %40 = add i32 %.2, -1
  br i1 %.not, label %.preheader90, label %37, !llvm.loop !15

.preheader90:                                     ; preds = %37, %.preheader90
  %.084 = phi i32 [ %43, %.preheader90 ], [ %5, %37 ]
  %41 = mul i32 %.084, %.2
  %42 = icmp ugt i32 %41, %34
  %43 = add i32 %.084, -1
  br i1 %42, label %.preheader90, label %.preheader, !llvm.loop !17

.preheader:                                       ; preds = %.preheader90, %.preheader
  %.185 = phi i32 [ %46, %.preheader ], [ %.084, %.preheader90 ]
  %44 = urem i32 %5, %.185
  %45 = udiv i32 %5, %.185
  %.not88 = icmp eq i32 %44, 0
  %46 = add i32 %.185, -1
  br i1 %.not88, label %47, label %.preheader, !llvm.loop !18

47:                                               ; preds = %.preheader
  %48 = icmp eq i32 %23, 1
  %49 = getelementptr inbounds i8, ptr %1, i64 100
  %50 = getelementptr inbounds i8, ptr %1, i64 96
  %.in = select i1 %48, ptr %49, ptr %50
  %51 = load i32, ptr %.in, align 4, !tbaa !19
  %52 = icmp eq i32 %23, 0
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  br label %54

54:                                               ; preds = %47, %53
  %55 = phi i32 [ %.2, %53 ], [ %.185, %47 ]
  %56 = phi i32 [ %33, %53 ], [ %5, %47 ]
  %57 = phi i32 [ %39, %53 ], [ %45, %47 ]
  %.in89 = phi ptr [ %50, %53 ], [ %49, %47 ]
  %58 = load i32, ptr %.in89, align 4, !tbaa !19
  %59 = select i1 %48, i32 %.185, i32 %.2
  %60 = select i1 %48, i32 %5, i32 %33
  %61 = select i1 %48, i32 %45, i32 %39
  store i32 %33, ptr %7, align 4, !tbaa !19
  store i32 %5, ptr %8, align 4, !tbaa !19
  store i32 %.2, ptr %9, align 4, !tbaa !19
  store i32 %.185, ptr %10, align 4, !tbaa !19
  store i32 %39, ptr %11, align 4, !tbaa !19
  store i32 %45, ptr %12, align 4, !tbaa !19
  store i32 %61, ptr %13, align 4, !tbaa !19
  store i32 %57, ptr %14, align 4, !tbaa !19
  store i32 %60, ptr %15, align 4, !tbaa !19
  store i32 %56, ptr %16, align 4, !tbaa !19
  store i32 %51, ptr %17, align 4, !tbaa !19
  store i32 %58, ptr %18, align 4, !tbaa !19
  store i32 %59, ptr %19, align 4, !tbaa !19
  store i32 %55, ptr %20, align 4, !tbaa !19
  ret void
}

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

attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) 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 speculatable willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 500}
!6 = !{!"libxsmm_mateltwise_kernel_config_struct", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 72}
!11 = !{!6, !7, i64 480}
!12 = !{!13, !7, i64 28}
!13 = !{!"libxsmm_generated_code", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!14 = !{!"any pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = !{!7, !7, i64 0}


; Effective O3 passes: DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass