; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/blas (double)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.Eigen::Map.171" = type { %"class.Eigen::MapBase.172", %"class.Eigen::OuterStride" }
%"class.Eigen::MapBase.172" = type { %"class.Eigen::MapBase.173" }
%"class.Eigen::MapBase.173" = type { ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::OuterStride" = type { %"class.Eigen::Stride.base", [7 x i8] }
%"class.Eigen::Stride.base" = type <{ %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::gemm_blocking_space" = type { %"class.Eigen::internal::level3_blocking", i64, i64 }
%"class.Eigen::internal::level3_blocking" = type { ptr, ptr, i64, i64, i64 }

@_ZZ6dgemm_E4func = external hidden constant [12 x ptr], align 16
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local i32 @dgemm_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #3 personality ptr @__gxx_personality_v0 {
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.Eigen::Map.171", align 8
  %39 = alloca %"class.Eigen::Map.171", align 8
  %40 = alloca %"class.Eigen::internal::gemm_blocking_space", align 8
  %41 = alloca i32, align 4
  %42 = alloca ptr, align 8
  %43 = alloca i32, align 4
  store ptr %0, ptr %15, align 8, !tbaa !5
  store ptr %1, ptr %16, align 8, !tbaa !5
  store ptr %2, ptr %17, align 8, !tbaa !5
  store ptr %3, ptr %18, align 8, !tbaa !5
  store ptr %4, ptr %19, align 8, !tbaa !5
  store ptr %5, ptr %20, align 8, !tbaa !5
  store ptr %6, ptr %21, align 8, !tbaa !5
  store ptr %7, ptr %22, align 8, !tbaa !5
  store ptr %8, ptr %23, align 8, !tbaa !5
  store ptr %9, ptr %24, align 8, !tbaa !5
  store ptr %10, ptr %25, align 8, !tbaa !5
  store ptr %11, ptr %26, align 8, !tbaa !5
  store ptr %12, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %44 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %44, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %45 = load ptr, ptr %23, align 8, !tbaa !5
  store ptr %45, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %46 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %46, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %47 = load ptr, ptr %20, align 8, !tbaa !5
  %48 = load double, ptr %47, align 8, !tbaa !9
  store double %48, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %49 = load ptr, ptr %25, align 8, !tbaa !5
  %50 = load double, ptr %49, align 8, !tbaa !9
  store double %50, ptr %32, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  store i32 0, ptr %33, align 4, !tbaa !11
  %51 = load ptr, ptr %15, align 8, !tbaa !5
  %52 = load i8, ptr %51, align 1, !tbaa !13
  %53 = sext i8 %52 to i32
  %54 = icmp eq i32 %53, 78
  br i1 %54, label %60, label %55

55:                                               ; preds = %13
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = load i8, ptr %56, align 1, !tbaa !13
  %58 = sext i8 %57 to i32
  %59 = icmp eq i32 %58, 110
  br i1 %59, label %60, label %61

60:                                               ; preds = %55, %13
  br label %88

61:                                               ; preds = %55
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = load i8, ptr %62, align 1, !tbaa !13
  %64 = sext i8 %63 to i32
  %65 = icmp eq i32 %64, 84
  br i1 %65, label %71, label %66

66:                                               ; preds = %61
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = load i8, ptr %67, align 1, !tbaa !13
  %69 = sext i8 %68 to i32
  %70 = icmp eq i32 %69, 116
  br i1 %70, label %71, label %72

71:                                               ; preds = %66, %61
  br label %86

72:                                               ; preds = %66
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  %74 = load i8, ptr %73, align 1, !tbaa !13
  %75 = sext i8 %74 to i32
  %76 = icmp eq i32 %75, 67
  br i1 %76, label %82, label %77

77:                                               ; preds = %72
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = load i8, ptr %78, align 1, !tbaa !13
  %80 = sext i8 %79 to i32
  %81 = icmp eq i32 %80, 99
  br label %82

82:                                               ; preds = %77, %72
  %83 = phi i1 [ true, %72 ], [ %81, %77 ]
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 2, i32 255
  br label %86

86:                                               ; preds = %82, %71
  %87 = phi i32 [ 1, %71 ], [ %85, %82 ]
  br label %88

88:                                               ; preds = %86, %60
  %89 = phi i32 [ 0, %60 ], [ %87, %86 ]
  %90 = icmp eq i32 %89, 255
  br i1 %90, label %91, label %92

91:                                               ; preds = %88
  store i32 1, ptr %33, align 4, !tbaa !11
  br label %270

92:                                               ; preds = %88
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = load i8, ptr %93, align 1, !tbaa !13
  %95 = sext i8 %94 to i32
  %96 = icmp eq i32 %95, 78
  br i1 %96, label %102, label %97

97:                                               ; preds = %92
  %98 = load ptr, ptr %16, align 8, !tbaa !5
  %99 = load i8, ptr %98, align 1, !tbaa !13
  %100 = sext i8 %99 to i32
  %101 = icmp eq i32 %100, 110
  br i1 %101, label %102, label %103

102:                                              ; preds = %97, %92
  br label %130

103:                                              ; preds = %97
  %104 = load ptr, ptr %16, align 8, !tbaa !5
  %105 = load i8, ptr %104, align 1, !tbaa !13
  %106 = sext i8 %105 to i32
  %107 = icmp eq i32 %106, 84
  br i1 %107, label %113, label %108

108:                                              ; preds = %103
  %109 = load ptr, ptr %16, align 8, !tbaa !5
  %110 = load i8, ptr %109, align 1, !tbaa !13
  %111 = sext i8 %110 to i32
  %112 = icmp eq i32 %111, 116
  br i1 %112, label %113, label %114

113:                                              ; preds = %108, %103
  br label %128

114:                                              ; preds = %108
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  %116 = load i8, ptr %115, align 1, !tbaa !13
  %117 = sext i8 %116 to i32
  %118 = icmp eq i32 %117, 67
  br i1 %118, label %124, label %119

119:                                              ; preds = %114
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = load i8, ptr %120, align 1, !tbaa !13
  %122 = sext i8 %121 to i32
  %123 = icmp eq i32 %122, 99
  br label %124

124:                                              ; preds = %119, %114
  %125 = phi i1 [ true, %114 ], [ %123, %119 ]
  %126 = zext i1 %125 to i64
  %127 = select i1 %125, i32 2, i32 255
  br label %128

128:                                              ; preds = %124, %113
  %129 = phi i32 [ 1, %113 ], [ %127, %124 ]
  br label %130

130:                                              ; preds = %128, %102
  %131 = phi i32 [ 0, %102 ], [ %129, %128 ]
  %132 = icmp eq i32 %131, 255
  br i1 %132, label %133, label %134

133:                                              ; preds = %130
  store i32 2, ptr %33, align 4, !tbaa !11
  br label %269

134:                                              ; preds = %130
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  %136 = load i32, ptr %135, align 4, !tbaa !11
  %137 = icmp slt i32 %136, 0
  br i1 %137, label %138, label %139

138:                                              ; preds = %134
  store i32 3, ptr %33, align 4, !tbaa !11
  br label %268

139:                                              ; preds = %134
  %140 = load ptr, ptr %18, align 8, !tbaa !5
  %141 = load i32, ptr %140, align 4, !tbaa !11
  %142 = icmp slt i32 %141, 0
  br i1 %142, label %143, label %144

143:                                              ; preds = %139
  store i32 4, ptr %33, align 4, !tbaa !11
  br label %267

144:                                              ; preds = %139
  %145 = load ptr, ptr %19, align 8, !tbaa !5
  %146 = load i32, ptr %145, align 4, !tbaa !11
  %147 = icmp slt i32 %146, 0
  br i1 %147, label %148, label %149

148:                                              ; preds = %144
  store i32 5, ptr %33, align 4, !tbaa !11
  br label %266

149:                                              ; preds = %144
  %150 = load ptr, ptr %22, align 8, !tbaa !5
  %151 = load i32, ptr %150, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store i32 1, ptr %34, align 4, !tbaa !11
  %152 = load ptr, ptr %15, align 8, !tbaa !5
  %153 = load i8, ptr %152, align 1, !tbaa !13
  %154 = sext i8 %153 to i32
  %155 = icmp eq i32 %154, 78
  br i1 %155, label %161, label %156

156:                                              ; preds = %149
  %157 = load ptr, ptr %15, align 8, !tbaa !5
  %158 = load i8, ptr %157, align 1, !tbaa !13
  %159 = sext i8 %158 to i32
  %160 = icmp eq i32 %159, 110
  br i1 %160, label %161, label %162

161:                                              ; preds = %156, %149
  br label %189

162:                                              ; preds = %156
  %163 = load ptr, ptr %15, align 8, !tbaa !5
  %164 = load i8, ptr %163, align 1, !tbaa !13
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 84
  br i1 %166, label %172, label %167

167:                                              ; preds = %162
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = load i8, ptr %168, align 1, !tbaa !13
  %170 = sext i8 %169 to i32
  %171 = icmp eq i32 %170, 116
  br i1 %171, label %172, label %173

172:                                              ; preds = %167, %162
  br label %187

173:                                              ; preds = %167
  %174 = load ptr, ptr %15, align 8, !tbaa !5
  %175 = load i8, ptr %174, align 1, !tbaa !13
  %176 = sext i8 %175 to i32
  %177 = icmp eq i32 %176, 67
  br i1 %177, label %183, label %178

178:                                              ; preds = %173
  %179 = load ptr, ptr %15, align 8, !tbaa !5
  %180 = load i8, ptr %179, align 1, !tbaa !13
  %181 = sext i8 %180 to i32
  %182 = icmp eq i32 %181, 99
  br label %183

183:                                              ; preds = %178, %173
  %184 = phi i1 [ true, %173 ], [ %182, %178 ]
  %185 = zext i1 %184 to i64
  %186 = select i1 %184, i32 2, i32 255
  br label %187

187:                                              ; preds = %183, %172
  %188 = phi i32 [ 1, %172 ], [ %186, %183 ]
  br label %189

189:                                              ; preds = %187, %161
  %190 = phi i32 [ 0, %161 ], [ %188, %187 ]
  %191 = icmp eq i32 %190, 0
  br i1 %191, label %192, label %194

192:                                              ; preds = %189
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  br label %196

194:                                              ; preds = %189
  %195 = load ptr, ptr %19, align 8, !tbaa !5
  br label %196

196:                                              ; preds = %194, %192
  %197 = phi ptr [ %193, %192 ], [ %195, %194 ]
  %198 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %197)
  %199 = load i32, ptr %198, align 4, !tbaa !11
  %200 = icmp slt i32 %151, %199
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br i1 %200, label %201, label %202

201:                                              ; preds = %196
  store i32 8, ptr %33, align 4, !tbaa !11
  br label %265

202:                                              ; preds = %196
  %203 = load ptr, ptr %24, align 8, !tbaa !5
  %204 = load i32, ptr %203, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 1, ptr %35, align 4, !tbaa !11
  %205 = load ptr, ptr %16, align 8, !tbaa !5
  %206 = load i8, ptr %205, align 1, !tbaa !13
  %207 = sext i8 %206 to i32
  %208 = icmp eq i32 %207, 78
  br i1 %208, label %214, label %209

209:                                              ; preds = %202
  %210 = load ptr, ptr %16, align 8, !tbaa !5
  %211 = load i8, ptr %210, align 1, !tbaa !13
  %212 = sext i8 %211 to i32
  %213 = icmp eq i32 %212, 110
  br i1 %213, label %214, label %215

214:                                              ; preds = %209, %202
  br label %242

215:                                              ; preds = %209
  %216 = load ptr, ptr %16, align 8, !tbaa !5
  %217 = load i8, ptr %216, align 1, !tbaa !13
  %218 = sext i8 %217 to i32
  %219 = icmp eq i32 %218, 84
  br i1 %219, label %225, label %220

220:                                              ; preds = %215
  %221 = load ptr, ptr %16, align 8, !tbaa !5
  %222 = load i8, ptr %221, align 1, !tbaa !13
  %223 = sext i8 %222 to i32
  %224 = icmp eq i32 %223, 116
  br i1 %224, label %225, label %226

225:                                              ; preds = %220, %215
  br label %240

226:                                              ; preds = %220
  %227 = load ptr, ptr %16, align 8, !tbaa !5
  %228 = load i8, ptr %227, align 1, !tbaa !13
  %229 = sext i8 %228 to i32
  %230 = icmp eq i32 %229, 67
  br i1 %230, label %236, label %231

231:                                              ; preds = %226
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = load i8, ptr %232, align 1, !tbaa !13
  %234 = sext i8 %233 to i32
  %235 = icmp eq i32 %234, 99
  br label %236

236:                                              ; preds = %231, %226
  %237 = phi i1 [ true, %226 ], [ %235, %231 ]
  %238 = zext i1 %237 to i64
  %239 = select i1 %237, i32 2, i32 255
  br label %240

240:                                              ; preds = %236, %225
  %241 = phi i32 [ 1, %225 ], [ %239, %236 ]
  br label %242

242:                                              ; preds = %240, %214
  %243 = phi i32 [ 0, %214 ], [ %241, %240 ]
  %244 = icmp eq i32 %243, 0
  br i1 %244, label %245, label %247

245:                                              ; preds = %242
  %246 = load ptr, ptr %19, align 8, !tbaa !5
  br label %249

247:                                              ; preds = %242
  %248 = load ptr, ptr %18, align 8, !tbaa !5
  br label %249

249:                                              ; preds = %247, %245
  %250 = phi ptr [ %246, %245 ], [ %248, %247 ]
  %251 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %250)
  %252 = load i32, ptr %251, align 4, !tbaa !11
  %253 = icmp slt i32 %204, %252
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br i1 %253, label %254, label %255

254:                                              ; preds = %249
  store i32 10, ptr %33, align 4, !tbaa !11
  br label %264

255:                                              ; preds = %249
  %256 = load ptr, ptr %27, align 8, !tbaa !5
  %257 = load i32, ptr %256, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 1, ptr %36, align 4, !tbaa !11
  %258 = load ptr, ptr %17, align 8, !tbaa !5
  %259 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %258)
  %260 = load i32, ptr %259, align 4, !tbaa !11
  %261 = icmp slt i32 %257, %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br i1 %261, label %262, label %263

262:                                              ; preds = %255
  store i32 13, ptr %33, align 4, !tbaa !11
  br label %263

263:                                              ; preds = %262, %255
  br label %264

264:                                              ; preds = %263, %254
  br label %265

265:                                              ; preds = %264, %201
  br label %266

266:                                              ; preds = %265, %148
  br label %267

267:                                              ; preds = %266, %143
  br label %268

268:                                              ; preds = %267, %138
  br label %269

269:                                              ; preds = %268, %133
  br label %270

270:                                              ; preds = %269, %91
  %271 = load i32, ptr %33, align 4, !tbaa !11
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %275

273:                                              ; preds = %270
  %274 = call i32 @xerbla_(ptr noundef @.str.13, ptr noundef %33, i32 noundef 6)
  store i32 %274, ptr %14, align 4
  store i32 1, ptr %37, align 4
  br label %435

275:                                              ; preds = %270
  %276 = load ptr, ptr %17, align 8, !tbaa !5
  %277 = load i32, ptr %276, align 4, !tbaa !11
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %283, label %279

279:                                              ; preds = %275
  %280 = load ptr, ptr %18, align 8, !tbaa !5
  %281 = load i32, ptr %280, align 4, !tbaa !11
  %282 = icmp eq i32 %281, 0
  br i1 %282, label %283, label %284

283:                                              ; preds = %279, %275
  store i32 0, ptr %14, align 4
  store i32 1, ptr %37, align 4
  br label %435

284:                                              ; preds = %279
  %285 = load double, ptr %32, align 8, !tbaa !9
  %286 = fcmp une double %285, 1.000000e+00
  br i1 %286, label %287, label %309

287:                                              ; preds = %284
  %288 = load double, ptr %32, align 8, !tbaa !9
  %289 = fcmp oeq double %288, 0.000000e+00
  br i1 %289, label %290, label %299

290:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 40, ptr %38) #6
  %291 = load ptr, ptr %30, align 8, !tbaa !5
  %292 = load ptr, ptr %17, align 8, !tbaa !5
  %293 = load i32, ptr %292, align 4, !tbaa !11
  %294 = load ptr, ptr %18, align 8, !tbaa !5
  %295 = load i32, ptr %294, align 4, !tbaa !11
  %296 = load ptr, ptr %27, align 8, !tbaa !5
  %297 = load i32, ptr %296, align 4, !tbaa !11
  call void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.171") align 8 %38, ptr noundef %291, i32 noundef %293, i32 noundef %295, i32 noundef %297)
  %298 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %38)
  call void @llvm.lifetime.end.p0(i64 40, ptr %38) #6
  br label %308

299:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 40, ptr %39) #6
  %300 = load ptr, ptr %30, align 8, !tbaa !5
  %301 = load ptr, ptr %17, align 8, !tbaa !5
  %302 = load i32, ptr %301, align 4, !tbaa !11
  %303 = load ptr, ptr %18, align 8, !tbaa !5
  %304 = load i32, ptr %303, align 4, !tbaa !11
  %305 = load ptr, ptr %27, align 8, !tbaa !5
  %306 = load i32, ptr %305, align 4, !tbaa !11
  call void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind writable sret(%"class.Eigen::Map.171") align 8 %39, ptr noundef %300, i32 noundef %302, i32 noundef %304, i32 noundef %306)
  %307 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKd(ptr noundef nonnull align 1 dereferenceable(1) %39, ptr noundef nonnull align 8 dereferenceable(8) %32)
  call void @llvm.lifetime.end.p0(i64 40, ptr %39) #6
  br label %308

308:                                              ; preds = %299, %290
  br label %309

309:                                              ; preds = %308, %284
  %310 = load ptr, ptr %19, align 8, !tbaa !5
  %311 = load i32, ptr %310, align 4, !tbaa !11
  %312 = icmp eq i32 %311, 0
  br i1 %312, label %313, label %314

313:                                              ; preds = %309
  store i32 0, ptr %14, align 4
  store i32 1, ptr %37, align 4
  br label %435

314:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 56, ptr %40) #6
  %315 = load ptr, ptr %17, align 8, !tbaa !5
  %316 = load i32, ptr %315, align 4, !tbaa !11
  %317 = sext i32 %316 to i64
  %318 = load ptr, ptr %18, align 8, !tbaa !5
  %319 = load i32, ptr %318, align 4, !tbaa !11
  %320 = sext i32 %319 to i64
  %321 = load ptr, ptr %19, align 8, !tbaa !5
  %322 = load i32, ptr %321, align 4, !tbaa !11
  %323 = sext i32 %322 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %40, i64 noundef %317, i64 noundef %320, i64 noundef %323, i64 noundef 1, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %324 = load ptr, ptr %15, align 8, !tbaa !5
  %325 = load i8, ptr %324, align 1, !tbaa !13
  %326 = sext i8 %325 to i32
  %327 = icmp eq i32 %326, 78
  br i1 %327, label %333, label %328

328:                                              ; preds = %314
  %329 = load ptr, ptr %15, align 8, !tbaa !5
  %330 = load i8, ptr %329, align 1, !tbaa !13
  %331 = sext i8 %330 to i32
  %332 = icmp eq i32 %331, 110
  br i1 %332, label %333, label %334

333:                                              ; preds = %328, %314
  br label %361

334:                                              ; preds = %328
  %335 = load ptr, ptr %15, align 8, !tbaa !5
  %336 = load i8, ptr %335, align 1, !tbaa !13
  %337 = sext i8 %336 to i32
  %338 = icmp eq i32 %337, 84
  br i1 %338, label %344, label %339

339:                                              ; preds = %334
  %340 = load ptr, ptr %15, align 8, !tbaa !5
  %341 = load i8, ptr %340, align 1, !tbaa !13
  %342 = sext i8 %341 to i32
  %343 = icmp eq i32 %342, 116
  br i1 %343, label %344, label %345

344:                                              ; preds = %339, %334
  br label %359

345:                                              ; preds = %339
  %346 = load ptr, ptr %15, align 8, !tbaa !5
  %347 = load i8, ptr %346, align 1, !tbaa !13
  %348 = sext i8 %347 to i32
  %349 = icmp eq i32 %348, 67
  br i1 %349, label %355, label %350

350:                                              ; preds = %345
  %351 = load ptr, ptr %15, align 8, !tbaa !5
  %352 = load i8, ptr %351, align 1, !tbaa !13
  %353 = sext i8 %352 to i32
  %354 = icmp eq i32 %353, 99
  br label %355

355:                                              ; preds = %350, %345
  %356 = phi i1 [ true, %345 ], [ %354, %350 ]
  %357 = zext i1 %356 to i64
  %358 = select i1 %356, i32 2, i32 255
  br label %359

359:                                              ; preds = %355, %344
  %360 = phi i32 [ 1, %344 ], [ %358, %355 ]
  br label %361

361:                                              ; preds = %359, %333
  %362 = phi i32 [ 0, %333 ], [ %360, %359 ]
  %363 = load ptr, ptr %16, align 8, !tbaa !5
  %364 = load i8, ptr %363, align 1, !tbaa !13
  %365 = sext i8 %364 to i32
  %366 = icmp eq i32 %365, 78
  br i1 %366, label %372, label %367

367:                                              ; preds = %361
  %368 = load ptr, ptr %16, align 8, !tbaa !5
  %369 = load i8, ptr %368, align 1, !tbaa !13
  %370 = sext i8 %369 to i32
  %371 = icmp eq i32 %370, 110
  br i1 %371, label %372, label %373

372:                                              ; preds = %367, %361
  br label %400

373:                                              ; preds = %367
  %374 = load ptr, ptr %16, align 8, !tbaa !5
  %375 = load i8, ptr %374, align 1, !tbaa !13
  %376 = sext i8 %375 to i32
  %377 = icmp eq i32 %376, 84
  br i1 %377, label %383, label %378

378:                                              ; preds = %373
  %379 = load ptr, ptr %16, align 8, !tbaa !5
  %380 = load i8, ptr %379, align 1, !tbaa !13
  %381 = sext i8 %380 to i32
  %382 = icmp eq i32 %381, 116
  br i1 %382, label %383, label %384

383:                                              ; preds = %378, %373
  br label %398

384:                                              ; preds = %378
  %385 = load ptr, ptr %16, align 8, !tbaa !5
  %386 = load i8, ptr %385, align 1, !tbaa !13
  %387 = sext i8 %386 to i32
  %388 = icmp eq i32 %387, 67
  br i1 %388, label %394, label %389

389:                                              ; preds = %384
  %390 = load ptr, ptr %16, align 8, !tbaa !5
  %391 = load i8, ptr %390, align 1, !tbaa !13
  %392 = sext i8 %391 to i32
  %393 = icmp eq i32 %392, 99
  br label %394

394:                                              ; preds = %389, %384
  %395 = phi i1 [ true, %384 ], [ %393, %389 ]
  %396 = zext i1 %395 to i64
  %397 = select i1 %395, i32 2, i32 255
  br label %398

398:                                              ; preds = %394, %383
  %399 = phi i32 [ 1, %383 ], [ %397, %394 ]
  br label %400

400:                                              ; preds = %398, %372
  %401 = phi i32 [ 0, %372 ], [ %399, %398 ]
  %402 = shl i32 %401, 2
  %403 = or i32 %362, %402
  store i32 %403, ptr %41, align 4, !tbaa !11
  %404 = load i32, ptr %41, align 4, !tbaa !11
  %405 = sext i32 %404 to i64
  %406 = getelementptr inbounds [12 x ptr], ptr @_ZZ6dgemm_E4func, i64 0, i64 %405
  %407 = load ptr, ptr %406, align 8, !tbaa !5
  %408 = load ptr, ptr %17, align 8, !tbaa !5
  %409 = load i32, ptr %408, align 4, !tbaa !11
  %410 = sext i32 %409 to i64
  %411 = load ptr, ptr %18, align 8, !tbaa !5
  %412 = load i32, ptr %411, align 4, !tbaa !11
  %413 = sext i32 %412 to i64
  %414 = load ptr, ptr %19, align 8, !tbaa !5
  %415 = load i32, ptr %414, align 4, !tbaa !11
  %416 = sext i32 %415 to i64
  %417 = load ptr, ptr %28, align 8, !tbaa !5
  %418 = load ptr, ptr %22, align 8, !tbaa !5
  %419 = load i32, ptr %418, align 4, !tbaa !11
  %420 = sext i32 %419 to i64
  %421 = load ptr, ptr %29, align 8, !tbaa !5
  %422 = load ptr, ptr %24, align 8, !tbaa !5
  %423 = load i32, ptr %422, align 4, !tbaa !11
  %424 = sext i32 %423 to i64
  %425 = load ptr, ptr %30, align 8, !tbaa !5
  %426 = load ptr, ptr %27, align 8, !tbaa !5
  %427 = load i32, ptr %426, align 4, !tbaa !11
  %428 = sext i32 %427 to i64
  %429 = load double, ptr %31, align 8, !tbaa !9
  invoke void %407(i64 noundef %410, i64 noundef %413, i64 noundef %416, ptr noundef %417, i64 noundef %420, ptr noundef %421, i64 noundef %424, ptr noundef %425, i64 noundef %428, double noundef %429, ptr noundef nonnull align 8 dereferenceable(40) %40, ptr noundef null)
          to label %430 unwind label %431

430:                                              ; preds = %400
  store i32 0, ptr %14, align 4
  store i32 1, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %40) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #6
  br label %435

431:                                              ; preds = %400
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %42, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %43, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %40) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %437

435:                                              ; preds = %430, %313, %283, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  %436 = load i32, ptr %14, align 4
  ret i32 %436

437:                                              ; preds = %431
  %438 = load ptr, ptr %42, align 8
  %439 = load i32, ptr %43, align 4
  %440 = insertvalue { ptr, i32 } poison, ptr %438, 0
  %441 = insertvalue { ptr, i32 } %440, i32 %439, 1
  resume { ptr, i32 } %441
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.171") align 8, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKd(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!7, !7, i64 0}


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

%"class.Eigen::Map.171" = type { %"class.Eigen::MapBase.172", %"class.Eigen::OuterStride" }
%"class.Eigen::MapBase.172" = type { %"class.Eigen::MapBase.173" }
%"class.Eigen::MapBase.173" = type { ptr, %"class.Eigen::internal::variable_if_dynamic", %"class.Eigen::internal::variable_if_dynamic" }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::OuterStride" = type { %"class.Eigen::Stride.base", [7 x i8] }
%"class.Eigen::Stride.base" = type <{ %"class.Eigen::internal::variable_if_dynamic", i8 }>
%"class.Eigen::internal::gemm_blocking_space" = type { %"class.Eigen::internal::level3_blocking", i64, i64 }
%"class.Eigen::internal::level3_blocking" = type { ptr, ptr, i64, i64, i64 }

@_ZZ6dgemm_E4func = external hidden local_unnamed_addr constant [12 x ptr], align 16
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local i32 @dgemm_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, ptr noundef %6, ptr nocapture noundef readonly %7, ptr noundef %8, ptr nocapture noundef readonly %9, ptr nocapture noundef readonly %10, ptr noundef %11, ptr nocapture noundef readonly %12) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %14 = alloca double, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.Eigen::Map.171", align 8
  %20 = alloca %"class.Eigen::Map.171", align 8
  %21 = alloca %"class.Eigen::internal::gemm_blocking_space", align 8
  %22 = load double, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %23 = load double, ptr %10, align 8, !tbaa !5
  store double %23, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  %24 = load i8, ptr %0, align 1, !tbaa !9
  switch i8 %24, label %25 [
    i8 78, label %.fold.split
    i8 110, label %.fold.split
    i8 84, label %.fold.split
    i8 116, label %.fold.split
    i8 67, label %.fold.split
    i8 99, label %.fold.split
  ]

25:                                               ; preds = %13
  store i32 1, ptr %15, align 4, !tbaa !10
  br label %.thread101

.fold.split:                                      ; preds = %13, %13, %13, %13, %13, %13
  %26 = load i8, ptr %1, align 1, !tbaa !9
  switch i8 %26, label %27 [
    i8 78, label %.fold.split87
    i8 110, label %.fold.split87
    i8 84, label %.fold.split87
    i8 116, label %.fold.split87
    i8 67, label %.fold.split87
    i8 99, label %.fold.split87
  ]

27:                                               ; preds = %.fold.split
  store i32 2, ptr %15, align 4, !tbaa !10
  br label %.thread101

.fold.split87:                                    ; preds = %.fold.split, %.fold.split, %.fold.split, %.fold.split, %.fold.split, %.fold.split
  %28 = load i32, ptr %2, align 4, !tbaa !10
  %29 = icmp slt i32 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %.fold.split87
  store i32 3, ptr %15, align 4, !tbaa !10
  br label %.thread101

31:                                               ; preds = %.fold.split87
  %32 = load i32, ptr %3, align 4, !tbaa !10
  %33 = icmp slt i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %31
  store i32 4, ptr %15, align 4, !tbaa !10
  br label %.thread101

35:                                               ; preds = %31
  %36 = load i32, ptr %4, align 4, !tbaa !10
  %37 = icmp slt i32 %36, 0
  br i1 %37, label %38, label %39

38:                                               ; preds = %35
  store i32 5, ptr %15, align 4, !tbaa !10
  br label %.thread101

39:                                               ; preds = %35
  %40 = load i32, ptr %7, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 1, ptr %16, align 4, !tbaa !10
  switch i8 %24, label %41 [
    i8 78, label %42
    i8 110, label %42
    i8 84, label %.fold.split90
    i8 116, label %.fold.split91
  ]

41:                                               ; preds = %39
  br label %42

.fold.split90:                                    ; preds = %39
  br label %42

.fold.split91:                                    ; preds = %39
  br label %42

42:                                               ; preds = %39, %39, %.fold.split91, %.fold.split90, %41
  %43 = phi ptr [ %2, %39 ], [ %4, %41 ], [ %2, %39 ], [ %4, %.fold.split90 ], [ %4, %.fold.split91 ]
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %43)
  %45 = load i32, ptr %44, align 4, !tbaa !10
  %46 = icmp slt i32 %40, %45
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br i1 %46, label %47, label %48

47:                                               ; preds = %42
  store i32 8, ptr %15, align 4, !tbaa !10
  br label %.thread101

48:                                               ; preds = %42
  %49 = load i32, ptr %9, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  store i32 1, ptr %17, align 4, !tbaa !10
  %50 = load i8, ptr %1, align 1, !tbaa !9
  switch i8 %50, label %51 [
    i8 78, label %52
    i8 110, label %52
    i8 84, label %.fold.split92
    i8 116, label %.fold.split93
  ]

51:                                               ; preds = %48
  br label %52

.fold.split92:                                    ; preds = %48
  br label %52

.fold.split93:                                    ; preds = %48
  br label %52

52:                                               ; preds = %48, %48, %.fold.split93, %.fold.split92, %51
  %53 = phi ptr [ %4, %48 ], [ %3, %51 ], [ %4, %48 ], [ %3, %.fold.split92 ], [ %3, %.fold.split93 ]
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %53)
  %55 = load i32, ptr %54, align 4, !tbaa !10
  %56 = icmp slt i32 %49, %55
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br i1 %56, label %57, label %58

57:                                               ; preds = %52
  store i32 10, ptr %15, align 4, !tbaa !10
  br label %.thread101

58:                                               ; preds = %52
  %59 = load i32, ptr %12, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  store i32 1, ptr %18, align 4, !tbaa !10
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %61 = load i32, ptr %60, align 4, !tbaa !10
  %62 = icmp slt i32 %59, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br i1 %62, label %63, label %65

63:                                               ; preds = %58
  store i32 13, ptr %15, align 4, !tbaa !10
  br label %.thread101

.thread101:                                       ; preds = %25, %30, %38, %57, %63, %47, %34, %27
  %64 = call i32 @xerbla_(ptr noundef nonnull @.str.13, ptr noundef nonnull %15, i32 noundef 6)
  br label %122

65:                                               ; preds = %58
  %66 = load i32, ptr %2, align 4, !tbaa !10
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %122, label %68

68:                                               ; preds = %65
  %69 = load i32, ptr %3, align 4, !tbaa !10
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %122, label %71

71:                                               ; preds = %68
  %72 = fcmp une double %23, 1.000000e+00
  br i1 %72, label %73, label %81

73:                                               ; preds = %71
  %74 = fcmp oeq double %23, 0.000000e+00
  br i1 %74, label %75, label %78

75:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #6
  %76 = load i32, ptr %12, align 4, !tbaa !10
  call void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.171") align 8 %19, ptr noundef %11, i32 noundef %66, i32 noundef %69, i32 noundef %76)
  %77 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #6
  br label %81

78:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #6
  %79 = load i32, ptr %12, align 4, !tbaa !10
  call void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind nonnull writable sret(%"class.Eigen::Map.171") align 8 %20, ptr noundef %11, i32 noundef %66, i32 noundef %69, i32 noundef %79)
  %80 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKd(ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #6
  br label %81

81:                                               ; preds = %75, %78, %71
  %82 = load i32, ptr %4, align 4, !tbaa !10
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %122, label %84

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %21) #6
  %85 = load i32, ptr %2, align 4, !tbaa !10
  %86 = sext i32 %85 to i64
  %87 = load i32, ptr %3, align 4, !tbaa !10
  %88 = sext i32 %87 to i64
  %89 = sext i32 %82 to i64
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56) %21, i64 noundef %86, i64 noundef %88, i64 noundef %89, i64 noundef 1, i1 noundef zeroext true)
  %90 = load i8, ptr %0, align 1, !tbaa !9
  switch i8 %90, label %91 [
    i8 78, label %95
    i8 110, label %95
    i8 84, label %.fold.split94
    i8 116, label %.fold.split95
    i8 67, label %94
  ]

91:                                               ; preds = %84
  %92 = icmp eq i8 %90, 99
  %93 = select i1 %92, i64 2, i64 255
  br label %95

94:                                               ; preds = %84
  br label %95

.fold.split94:                                    ; preds = %84
  br label %95

.fold.split95:                                    ; preds = %84
  br label %95

95:                                               ; preds = %91, %84, %84, %.fold.split95, %.fold.split94, %94
  %96 = phi i64 [ 0, %84 ], [ 0, %84 ], [ 1, %.fold.split94 ], [ 1, %.fold.split95 ], [ %93, %91 ], [ 2, %94 ]
  %97 = load i8, ptr %1, align 1, !tbaa !9
  switch i8 %97, label %98 [
    i8 78, label %102
    i8 110, label %102
    i8 84, label %.fold.split96
    i8 116, label %.fold.split97
    i8 67, label %101
  ]

98:                                               ; preds = %95
  %99 = icmp eq i8 %97, 99
  %100 = select i1 %99, i64 8, i64 1020
  br label %102

101:                                              ; preds = %95
  br label %102

.fold.split96:                                    ; preds = %95
  br label %102

.fold.split97:                                    ; preds = %95
  br label %102

102:                                              ; preds = %98, %95, %95, %.fold.split97, %.fold.split96, %101
  %103 = phi i64 [ 0, %95 ], [ 0, %95 ], [ 4, %.fold.split96 ], [ 4, %.fold.split97 ], [ %100, %98 ], [ 8, %101 ]
  %104 = or i64 %103, %96
  %105 = getelementptr inbounds [12 x ptr], ptr @_ZZ6dgemm_E4func, i64 0, i64 %104
  %106 = load ptr, ptr %105, align 8, !tbaa !12
  %107 = load i32, ptr %2, align 4, !tbaa !10
  %108 = sext i32 %107 to i64
  %109 = load i32, ptr %3, align 4, !tbaa !10
  %110 = sext i32 %109 to i64
  %111 = load i32, ptr %4, align 4, !tbaa !10
  %112 = sext i32 %111 to i64
  %113 = load i32, ptr %7, align 4, !tbaa !10
  %114 = sext i32 %113 to i64
  %115 = load i32, ptr %9, align 4, !tbaa !10
  %116 = sext i32 %115 to i64
  %117 = load i32, ptr %12, align 4, !tbaa !10
  %118 = sext i32 %117 to i64
  invoke void %106(i64 noundef %108, i64 noundef %110, i64 noundef %112, ptr noundef %6, i64 noundef %114, ptr noundef %8, i64 noundef %116, ptr noundef %11, i64 noundef %118, double noundef %22, ptr noundef nonnull align 8 dereferenceable(40) %21, ptr noundef null)
          to label %119 unwind label %120

119:                                              ; preds = %102
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #6
  br label %122

120:                                              ; preds = %102
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %21) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  resume { ptr, i32 } %121

122:                                              ; preds = %81, %65, %68, %119, %.thread101
  %.0 = phi i32 [ %64, %.thread101 ], [ 0, %119 ], [ 0, %68 ], [ 0, %65 ], [ 0, %81 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  ret i32 %.0
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z6matrixIdEN5Eigen3MapINS0_6MatrixIT_Lin1ELin1ELi0ELin1ELin1EEELi0ENS0_11OuterStrideILin1EEEEEPS3_iii(ptr dead_on_unwind noalias writable sret(%"class.Eigen::Map.171") align 8, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEE7setZeroEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen9DenseBaseINS_3MapINS_6MatrixIdLin1ELin1ELi0ELin1ELin1EEELi0ENS_11OuterStrideILin1EEEEEEmLERKd(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EEC2Ellllb(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i1 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen8internal19gemm_blocking_spaceILi0EddLin1ELin1ELin1ELi1ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass