; LLVM IR from XiaoMi/mace :: micro/ops/matmul.ll (ZN5micro3ops8MatMulOp3RunEv)

; 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.micro::base::Logger" = type { i32 }
%"class.micro::framework::ScratchBuffer" = type <{ ptr, i32, [4 x i8] }>
%"class.micro::ops::MatMulOp" = type <{ %"class.micro::framework::Operator", ptr, ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], ptr, ptr, i32, [4 x i8], ptr, i8, i8, [6 x i8] }>
%"class.micro::framework::Operator" = type { ptr, ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 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

declare void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5micro3ops8MatMulOp3RunEv(ptr noundef nonnull align 8 dereferenceable(116) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"class.micro::base::Logger", align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.micro::framework::ScratchBuffer", align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i32, align 4
  %24 = alloca %"class.micro::base::Logger", align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.micro::base::Logger", align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %31 = load ptr, ptr %3, align 8
  %32 = call noundef zeroext i1 @_ZN5micro3ops8MatMulOp8ValidateEv(ptr noundef nonnull align 8 dereferenceable(116) %31)
  br i1 %32, label %40, label %33

33:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef @.str.2, i32 noundef 52, i32 noundef 4)
  %34 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef @.str.5)
          to label %35 unwind label %36

35:                                               ; preds = %33
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %40

36:                                               ; preds = %33
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %5, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %6, align 4
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %346

40:                                               ; preds = %35, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %41 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %42 = load i32, ptr %41, align 8, !tbaa !9
  store i32 %42, ptr %7, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %43 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !17
  %45 = load i32, ptr %7, align 4, !tbaa !16
  %46 = sub nsw i32 %45, 2
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds i32, ptr %44, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !16
  store i32 %49, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %50 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 2
  %51 = load ptr, ptr %50, align 8, !tbaa !17
  %52 = load i32, ptr %7, align 4, !tbaa !16
  %53 = sub nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i32, ptr %51, i64 %54
  %56 = load i32, ptr %55, align 4, !tbaa !16
  store i32 %56, ptr %9, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %57 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 7
  %58 = load i32, ptr %57, align 8, !tbaa !18
  store i32 %58, ptr %10, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %59 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 6
  %60 = load ptr, ptr %59, align 8, !tbaa !19
  %61 = load i32, ptr %10, align 4, !tbaa !16
  %62 = sub nsw i32 %61, 2
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds i32, ptr %60, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !16
  store i32 %65, ptr %11, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %66 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 6
  %67 = load ptr, ptr %66, align 8, !tbaa !19
  %68 = load i32, ptr %10, align 4, !tbaa !16
  %69 = sub nsw i32 %68, 1
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %67, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !16
  store i32 %72, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %73 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 14
  %74 = load i8, ptr %73, align 8, !tbaa !20, !range !21, !noundef !22
  %75 = trunc i8 %74 to i1
  br i1 %75, label %76, label %78

76:                                               ; preds = %40
  %77 = load i32, ptr %9, align 4, !tbaa !16
  br label %80

78:                                               ; preds = %40
  %79 = load i32, ptr %8, align 4, !tbaa !16
  br label %80

80:                                               ; preds = %78, %76
  %81 = phi i32 [ %77, %76 ], [ %79, %78 ]
  store i32 %81, ptr %13, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %82 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 15
  %83 = load i8, ptr %82, align 1, !tbaa !23, !range !21, !noundef !22
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %87

85:                                               ; preds = %80
  %86 = load i32, ptr %11, align 4, !tbaa !16
  br label %89

87:                                               ; preds = %80
  %88 = load i32, ptr %12, align 4, !tbaa !16
  br label %89

89:                                               ; preds = %87, %85
  %90 = phi i32 [ %86, %85 ], [ %88, %87 ]
  store i32 %90, ptr %14, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %91 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 14
  %92 = load i8, ptr %91, align 8, !tbaa !20, !range !21, !noundef !22
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %96

94:                                               ; preds = %89
  %95 = load i32, ptr %8, align 4, !tbaa !16
  br label %98

96:                                               ; preds = %89
  %97 = load i32, ptr %9, align 4, !tbaa !16
  br label %98

98:                                               ; preds = %96, %94
  %99 = phi i32 [ %95, %94 ], [ %97, %96 ]
  store i32 %99, ptr %15, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %100 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 2
  %101 = load ptr, ptr %100, align 8, !tbaa !17
  %102 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %103 = load i32, ptr %102, align 8, !tbaa !9
  %104 = sub i32 %103, 2
  %105 = call noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef %101, i32 noundef 0, i32 noundef %104)
  store i32 %105, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %106 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 6
  %107 = load ptr, ptr %106, align 8, !tbaa !19
  %108 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 7
  %109 = load i32, ptr %108, align 8, !tbaa !18
  %110 = sub i32 %109, 2
  %111 = call noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef %107, i32 noundef 0, i32 noundef %110)
  store i32 %111, ptr %17, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #4
  %112 = getelementptr inbounds %"class.micro::framework::Operator", ptr %31, i32 0, i32 2
  %113 = load ptr, ptr %112, align 8, !tbaa !24
  call void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12) %19, ptr noundef %113)
  %114 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %115 = load i32, ptr %114, align 8, !tbaa !9
  %116 = invoke noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_j(ptr noundef nonnull align 8 dereferenceable(12) %19, i32 noundef %115)
          to label %117 unwind label %140

117:                                              ; preds = %98
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  store ptr %116, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 1, ptr %20, align 4, !tbaa !16
  %118 = load ptr, ptr %18, align 8, !tbaa !5
  %119 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 2
  %120 = load ptr, ptr %119, align 8, !tbaa !17
  %121 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %122 = load i32, ptr %121, align 8, !tbaa !9
  call void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef %118, ptr noundef %120, i32 noundef %122)
  %123 = load i32, ptr %7, align 4, !tbaa !16
  %124 = load i32, ptr %10, align 4, !tbaa !16
  %125 = icmp sge i32 %123, %124
  br i1 %125, label %126, label %144

126:                                              ; preds = %117
  %127 = load i32, ptr %13, align 4, !tbaa !16
  %128 = load ptr, ptr %18, align 8, !tbaa !5
  %129 = load i32, ptr %7, align 4, !tbaa !16
  %130 = sub nsw i32 %129, 2
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i32, ptr %128, i64 %131
  store i32 %127, ptr %132, align 4, !tbaa !16
  %133 = load i32, ptr %14, align 4, !tbaa !16
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = load i32, ptr %7, align 4, !tbaa !16
  %136 = sub nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds i32, ptr %134, i64 %137
  store i32 %133, ptr %138, align 4, !tbaa !16
  %139 = load i32, ptr %16, align 4, !tbaa !16
  store i32 %139, ptr %20, align 4, !tbaa !16
  br label %158

140:                                              ; preds = %98
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %5, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %6, align 4
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %19) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #4
  br label %345

144:                                              ; preds = %117
  %145 = load i32, ptr %13, align 4, !tbaa !16
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = load i32, ptr %10, align 4, !tbaa !16
  %148 = sub nsw i32 %147, 2
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i32, ptr %146, i64 %149
  store i32 %145, ptr %150, align 4, !tbaa !16
  %151 = load i32, ptr %14, align 4, !tbaa !16
  %152 = load ptr, ptr %18, align 8, !tbaa !5
  %153 = load i32, ptr %10, align 4, !tbaa !16
  %154 = sub nsw i32 %153, 1
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds i32, ptr %152, i64 %155
  store i32 %151, ptr %156, align 4, !tbaa !16
  %157 = load i32, ptr %17, align 4, !tbaa !16
  store i32 %157, ptr %20, align 4, !tbaa !16
  br label %158

158:                                              ; preds = %144, %126
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #4
  store i8 1, ptr %21, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  store i8 1, ptr %22, align 1, !tbaa !25
  %159 = load i32, ptr %7, align 4, !tbaa !16
  %160 = load i32, ptr %10, align 4, !tbaa !16
  %161 = icmp slt i32 %159, %160
  br i1 %161, label %162, label %163

162:                                              ; preds = %158
  store i8 0, ptr %21, align 1, !tbaa !25
  br label %169

163:                                              ; preds = %158
  %164 = load i32, ptr %10, align 4, !tbaa !16
  %165 = load i32, ptr %7, align 4, !tbaa !16
  %166 = icmp slt i32 %164, %165
  br i1 %166, label %167, label %168

167:                                              ; preds = %163
  store i8 0, ptr %22, align 1, !tbaa !25
  br label %168

168:                                              ; preds = %167, %163
  br label %169

169:                                              ; preds = %168, %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %170 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %171 = load i32, ptr %170, align 8, !tbaa !9
  %172 = load ptr, ptr %18, align 8, !tbaa !5
  %173 = call noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef 0, i32 noundef %171, ptr noundef %172)
  store i32 %173, ptr %23, align 4, !tbaa !26
  %174 = load i32, ptr %23, align 4, !tbaa !26
  %175 = icmp ne i32 %174, 0
  br i1 %175, label %176, label %194

176:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef @.str.2, i32 noundef 91, i32 noundef 1)
  %177 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 3
  %178 = load i32, ptr %177, align 8, !tbaa !9
  %179 = load ptr, ptr %18, align 8, !tbaa !5
  %180 = invoke noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef 0, i32 noundef %178, ptr noundef %179)
          to label %181 unwind label %190

181:                                              ; preds = %176
  %182 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 noundef %180)
          to label %183 unwind label %190

183:                                              ; preds = %181
  %184 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %182, ptr noundef @.str.6)
          to label %185 unwind label %190

185:                                              ; preds = %183
  %186 = load i32, ptr %23, align 4, !tbaa !26
  %187 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4) %184, i32 noundef %186)
          to label %188 unwind label %190

188:                                              ; preds = %185
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  %189 = load i32, ptr %23, align 4, !tbaa !26
  store i32 %189, ptr %2, align 4
  store i32 1, ptr %25, align 4
  br label %195

190:                                              ; preds = %185, %183, %181, %176
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %5, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %6, align 4
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %344

194:                                              ; preds = %169
  store i32 0, ptr %25, align 4
  br label %195

195:                                              ; preds = %194, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  %196 = load i32, ptr %25, align 4
  switch i32 %196, label %342 [
    i32 0, label %197
  ]

197:                                              ; preds = %195
  %198 = load i32, ptr %13, align 4, !tbaa !16
  %199 = icmp eq i32 %198, 1
  br i1 %199, label %200, label %222

200:                                              ; preds = %197
  %201 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 15
  %202 = load i8, ptr %201, align 1, !tbaa !23, !range !21, !noundef !22
  %203 = trunc i8 %202 to i1
  br i1 %203, label %204, label %222

204:                                              ; preds = %200
  %205 = getelementptr inbounds i8, ptr %31, i64 114
  %206 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 5
  %207 = load ptr, ptr %206, align 8, !tbaa !28
  %208 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 1
  %209 = load ptr, ptr %208, align 8, !tbaa !29
  %210 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 9
  %211 = load ptr, ptr %210, align 8, !tbaa !30
  %212 = load i32, ptr %20, align 4, !tbaa !16
  %213 = load i32, ptr %14, align 4, !tbaa !16
  %214 = load i32, ptr %15, align 4, !tbaa !16
  %215 = load i8, ptr %22, align 1, !tbaa !25, !range !21, !noundef !22
  %216 = trunc i8 %215 to i1
  %217 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %218 = trunc i8 %217 to i1
  %219 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 13
  %220 = load ptr, ptr %219, align 8, !tbaa !31
  %221 = call noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1) %205, ptr noundef %207, ptr noundef %209, ptr noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214, i1 noundef zeroext %216, i1 noundef zeroext %218, ptr noundef %220)
  store i32 %221, ptr %2, align 4
  store i32 1, ptr %25, align 4
  br label %342

222:                                              ; preds = %200, %197
  %223 = load i32, ptr %14, align 4, !tbaa !16
  %224 = icmp eq i32 %223, 1
  br i1 %224, label %225, label %247

225:                                              ; preds = %222
  %226 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 14
  %227 = load i8, ptr %226, align 8, !tbaa !20, !range !21, !noundef !22
  %228 = trunc i8 %227 to i1
  br i1 %228, label %247, label %229

229:                                              ; preds = %225
  %230 = getelementptr inbounds i8, ptr %31, i64 114
  %231 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 1
  %232 = load ptr, ptr %231, align 8, !tbaa !29
  %233 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 5
  %234 = load ptr, ptr %233, align 8, !tbaa !28
  %235 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 9
  %236 = load ptr, ptr %235, align 8, !tbaa !30
  %237 = load i32, ptr %20, align 4, !tbaa !16
  %238 = load i32, ptr %13, align 4, !tbaa !16
  %239 = load i32, ptr %15, align 4, !tbaa !16
  %240 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %241 = trunc i8 %240 to i1
  %242 = load i8, ptr %22, align 1, !tbaa !25, !range !21, !noundef !22
  %243 = trunc i8 %242 to i1
  %244 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 13
  %245 = load ptr, ptr %244, align 8, !tbaa !31
  %246 = call noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1) %230, ptr noundef %232, ptr noundef %234, ptr noundef %236, i32 noundef %237, i32 noundef %238, i32 noundef %239, i1 noundef zeroext %241, i1 noundef zeroext %243, ptr noundef %245)
  store i32 %246, ptr %2, align 4
  store i32 1, ptr %25, align 4
  br label %342

247:                                              ; preds = %225, %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %248 = getelementptr inbounds i8, ptr %31, i64 115
  %249 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 1
  %250 = load ptr, ptr %249, align 8, !tbaa !29
  %251 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 5
  %252 = load ptr, ptr %251, align 8, !tbaa !28
  %253 = load i32, ptr %20, align 4, !tbaa !16
  %254 = load i32, ptr %8, align 4, !tbaa !16
  %255 = load i32, ptr %9, align 4, !tbaa !16
  %256 = load i32, ptr %11, align 4, !tbaa !16
  %257 = load i32, ptr %12, align 4, !tbaa !16
  %258 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 14
  %259 = load i8, ptr %258, align 8, !tbaa !20, !range !21, !noundef !22
  %260 = trunc i8 %259 to i1
  %261 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 15
  %262 = load i8, ptr %261, align 1, !tbaa !23, !range !21, !noundef !22
  %263 = trunc i8 %262 to i1
  %264 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %265 = trunc i8 %264 to i1
  %266 = load i8, ptr %22, align 1, !tbaa !25, !range !21, !noundef !22
  %267 = trunc i8 %266 to i1
  %268 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 13
  %269 = load ptr, ptr %268, align 8, !tbaa !31
  %270 = call noundef i32 @_ZN5micro3ops4GemmIfE7ComputeEPKfS4_iiiiibbbbbPf(ptr noundef nonnull align 1 dereferenceable(1) %248, ptr noundef %250, ptr noundef %252, i32 noundef %253, i32 noundef %254, i32 noundef %255, i32 noundef %256, i32 noundef %257, i1 noundef zeroext %260, i1 noundef zeroext %263, i1 noundef zeroext false, i1 noundef zeroext %265, i1 noundef zeroext %267, ptr noundef %269)
  store i32 %270, ptr %26, align 4, !tbaa !26
  %271 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 9
  %272 = load ptr, ptr %271, align 8, !tbaa !30
  %273 = icmp ne ptr %272, null
  br i1 %273, label %274, label %340

274:                                              ; preds = %247
  %275 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 11
  %276 = load i32, ptr %275, align 8, !tbaa !32
  %277 = icmp eq i32 %276, 1
  br i1 %277, label %278, label %285

278:                                              ; preds = %274
  %279 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 10
  %280 = load ptr, ptr %279, align 8, !tbaa !33
  %281 = getelementptr inbounds i32, ptr %280, i64 0
  %282 = load i32, ptr %281, align 4, !tbaa !16
  %283 = load i32, ptr %14, align 4, !tbaa !16
  %284 = icmp eq i32 %282, %283
  br i1 %284, label %294, label %285

285:                                              ; preds = %278, %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef @.str.2, i32 noundef 129, i32 noundef 4)
  %286 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef @.str.7)
          to label %287 unwind label %290

287:                                              ; preds = %285
  %288 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %286, ptr noundef @.str.8)
          to label %289 unwind label %290

289:                                              ; preds = %287
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %294

290:                                              ; preds = %287, %285
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %5, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %6, align 4
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %344

294:                                              ; preds = %289, %278
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  store i32 0, ptr %28, align 4, !tbaa !16
  br label %295

295:                                              ; preds = %336, %294
  %296 = load i32, ptr %28, align 4, !tbaa !16
  %297 = load i32, ptr %20, align 4, !tbaa !16
  %298 = load i32, ptr %13, align 4, !tbaa !16
  %299 = mul nsw i32 %297, %298
  %300 = icmp slt i32 %296, %299
  br i1 %300, label %302, label %301

301:                                              ; preds = %295
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %339

302:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #4
  store i32 0, ptr %29, align 4, !tbaa !16
  br label %303

303:                                              ; preds = %332, %302
  %304 = load i32, ptr %29, align 4, !tbaa !16
  %305 = load i32, ptr %14, align 4, !tbaa !16
  %306 = icmp slt i32 %304, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %303
  store i32 5, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #4
  br label %335

308:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %309 = load i32, ptr %28, align 4, !tbaa !16
  %310 = load i32, ptr %14, align 4, !tbaa !16
  %311 = mul nsw i32 %309, %310
  %312 = load i32, ptr %29, align 4, !tbaa !16
  %313 = add nsw i32 %311, %312
  store i32 %313, ptr %30, align 4, !tbaa !16
  %314 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 13
  %315 = load ptr, ptr %314, align 8, !tbaa !31
  %316 = load i32, ptr %30, align 4, !tbaa !16
  %317 = sext i32 %316 to i64
  %318 = getelementptr inbounds float, ptr %315, i64 %317
  %319 = load float, ptr %318, align 4, !tbaa !34
  %320 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 9
  %321 = load ptr, ptr %320, align 8, !tbaa !30
  %322 = load i32, ptr %29, align 4, !tbaa !16
  %323 = sext i32 %322 to i64
  %324 = getelementptr inbounds float, ptr %321, i64 %323
  %325 = load float, ptr %324, align 4, !tbaa !34
  %326 = fadd float %319, %325
  %327 = getelementptr inbounds %"class.micro::ops::MatMulOp", ptr %31, i32 0, i32 13
  %328 = load ptr, ptr %327, align 8, !tbaa !31
  %329 = load i32, ptr %30, align 4, !tbaa !16
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds float, ptr %328, i64 %330
  store float %326, ptr %331, align 4, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  br label %332

332:                                              ; preds = %308
  %333 = load i32, ptr %29, align 4, !tbaa !16
  %334 = add nsw i32 %333, 1
  store i32 %334, ptr %29, align 4, !tbaa !16
  br label %303, !llvm.loop !36

335:                                              ; preds = %307
  br label %336

336:                                              ; preds = %335
  %337 = load i32, ptr %28, align 4, !tbaa !16
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %28, align 4, !tbaa !16
  br label %295, !llvm.loop !38

339:                                              ; preds = %301
  br label %340

340:                                              ; preds = %339, %247
  %341 = load i32, ptr %26, align 4, !tbaa !26
  store i32 %341, ptr %2, align 4
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %342

342:                                              ; preds = %340, %229, %204, %195
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  %343 = load i32, ptr %2, align 4
  ret i32 %343

344:                                              ; preds = %290, %190
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %345

345:                                              ; preds = %344, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %346

346:                                              ; preds = %345, %36
  %347 = load ptr, ptr %5, align 8
  %348 = load i32, ptr %6, align 4
  %349 = insertvalue { ptr, i32 } poison, ptr %347, 0
  %350 = insertvalue { ptr, i32 } %349, i32 %348, 1
  resume { ptr, i32 } %350
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5micro3ops8MatMulOp8ValidateEv(ptr noundef nonnull align 8 dereferenceable(116)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef, i32 noundef, i32 noundef) #3

declare void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_j(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) #3 align 2

; Function Attrs: nounwind
declare void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2

declare void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef, ptr noundef, i32 noundef) #1

declare noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef, ptr noundef) #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #1

declare noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) #1

declare noundef i32 @_ZN5micro3ops4GemmIfE7ComputeEPKfS4_iiiiibbbbbPf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 = { 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, !12, i64 48}
!10 = !{!"_ZTSN5micro3ops8MatMulOpE", !11, i64 0, !6, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 88, !12, i64 96, !6, i64 104, !13, i64 112, !13, i64 113, !14, i64 114, !15, i64 115}
!11 = !{!"_ZTSN5micro9framework8OperatorE", !6, i64 8, !6, i64 16, !6, i64 24}
!12 = !{!"int", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN5micro3ops4GemvIfEE"}
!15 = !{!"_ZTSN5micro3ops4GemmIfEE"}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !6, i64 40}
!18 = !{!10, !12, i64 72}
!19 = !{!10, !6, i64 64}
!20 = !{!10, !13, i64 112}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!10, !13, i64 113}
!24 = !{!11, !6, i64 16}
!25 = !{!13, !13, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"_ZTSN5micro10MaceStatusE", !7, i64 0}
!28 = !{!10, !6, i64 56}
!29 = !{!10, !6, i64 32}
!30 = !{!10, !6, i64 80}
!31 = !{!10, !6, i64 104}
!32 = !{!10, !12, i64 96}
!33 = !{!10, !6, i64 88}
!34 = !{!35, !35, i64 0}
!35 = !{!"float", !7, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}


; 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.micro::base::Logger" = type { i32 }
%"class.micro::framework::ScratchBuffer" = type <{ ptr, i32, [4 x i8] }>

@.str.2 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 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

declare void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef, i32 noundef, i32 noundef) unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5micro3ops8MatMulOp3RunEv(ptr noundef nonnull align 8 dereferenceable(116) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.micro::base::Logger", align 4
  %3 = alloca %"class.micro::framework::ScratchBuffer", align 8
  %4 = alloca %"class.micro::base::Logger", align 4
  %5 = alloca %"class.micro::base::Logger", align 4
  %6 = tail call noundef zeroext i1 @_ZN5micro3ops8MatMulOp8ValidateEv(ptr noundef nonnull align 8 dereferenceable(116) %0)
  br i1 %6, label %12, label %7

7:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull @.str.2, i32 noundef 52, i32 noundef 4)
  %8 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull @.str.5)
          to label %9 unwind label %10

9:                                                ; preds = %7
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br label %12

10:                                               ; preds = %7
  %11 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br label %169

12:                                               ; preds = %9, %1
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  %14 = load i32, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 40
  %16 = load ptr, ptr %15, align 8, !tbaa !15
  %17 = add nsw i32 %14, -2
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr %16, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !16
  %21 = add nsw i32 %14, -1
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr %16, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  %26 = load i32, ptr %25, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %0, i64 64
  %28 = load ptr, ptr %27, align 8, !tbaa !18
  %29 = add nsw i32 %26, -2
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i32, ptr %28, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !16
  %33 = add nsw i32 %26, -1
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds i32, ptr %28, i64 %34
  %36 = load i32, ptr %35, align 4, !tbaa !16
  %37 = getelementptr inbounds i8, ptr %0, i64 112
  %38 = load i8, ptr %37, align 8, !tbaa !19, !range !20, !noundef !21
  %39 = trunc nuw i8 %38 to i1
  %40 = select i1 %39, i32 %24, i32 %20
  %41 = getelementptr inbounds i8, ptr %0, i64 113
  %42 = load i8, ptr %41, align 1, !tbaa !22, !range !20, !noundef !21
  %43 = trunc nuw i8 %42 to i1
  %44 = select i1 %43, i32 %32, i32 %36
  %45 = select i1 %39, i32 %20, i32 %24
  %46 = call noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef %16, i32 noundef 0, i32 noundef %17)
  %47 = load ptr, ptr %27, align 8, !tbaa !18
  %48 = load i32, ptr %25, align 8, !tbaa !17
  %49 = add i32 %48, -2
  %50 = call noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef %47, i32 noundef 0, i32 noundef %49)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %51 = getelementptr inbounds i8, ptr %0, i64 16
  %52 = load ptr, ptr %51, align 8, !tbaa !23
  call void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef %52)
  %53 = load i32, ptr %13, align 8, !tbaa !5
  %54 = invoke noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_j(ptr noundef nonnull align 8 dereferenceable(12) %3, i32 noundef %53)
          to label %55 unwind label %64

55:                                               ; preds = %12
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  %56 = load ptr, ptr %15, align 8, !tbaa !15
  %57 = load i32, ptr %13, align 8, !tbaa !5
  call void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef %54, ptr noundef %56, i32 noundef %57)
  %.not = icmp slt i32 %14, %26
  %. = select i1 %.not, i64 %30, i64 %18
  %.106 = select i1 %.not, i64 %34, i64 %22
  %.107 = select i1 %.not, i32 %50, i32 %46
  %58 = getelementptr inbounds i32, ptr %54, i64 %.
  store i32 %40, ptr %58, align 4, !tbaa !16
  %59 = getelementptr inbounds i32, ptr %54, i64 %.106
  store i32 %44, ptr %59, align 4, !tbaa !16
  %60 = icmp sge i32 %14, %26
  %61 = icmp sge i32 %26, %14
  %62 = load i32, ptr %13, align 8, !tbaa !5
  %63 = call noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 0, i32 noundef %62, ptr noundef nonnull %54)
  %.not88 = icmp eq i32 %63, 0
  br i1 %.not88, label %.critedge, label %66

64:                                               ; preds = %12
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  br label %169

66:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull @.str.2, i32 noundef 91, i32 noundef 1)
  %67 = load i32, ptr %13, align 8, !tbaa !5
  %68 = invoke noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 0, i32 noundef %67, ptr noundef nonnull %54)
          to label %69 unwind label %76

69:                                               ; preds = %66
  %70 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4) %4, i32 noundef %68)
          to label %71 unwind label %76

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %70, ptr noundef nonnull @.str.6)
          to label %73 unwind label %76

73:                                               ; preds = %71
  %74 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4) %72, i32 noundef %63)
          to label %75 unwind label %76

75:                                               ; preds = %73
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  br label %.loopexit

76:                                               ; preds = %73, %71, %69, %66
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  br label %169

.critedge:                                        ; preds = %55
  %78 = icmp eq i32 %40, 1
  br i1 %78, label %79, label %93

79:                                               ; preds = %.critedge
  %80 = load i8, ptr %41, align 1, !tbaa !22, !range !20, !noundef !21
  %81 = trunc nuw i8 %80 to i1
  br i1 %81, label %82, label %93

82:                                               ; preds = %79
  %83 = getelementptr inbounds i8, ptr %0, i64 114
  %84 = getelementptr inbounds i8, ptr %0, i64 56
  %85 = load ptr, ptr %84, align 8, !tbaa !24
  %86 = getelementptr inbounds i8, ptr %0, i64 32
  %87 = load ptr, ptr %86, align 8, !tbaa !25
  %88 = getelementptr inbounds i8, ptr %0, i64 80
  %89 = load ptr, ptr %88, align 8, !tbaa !26
  %90 = getelementptr inbounds i8, ptr %0, i64 104
  %91 = load ptr, ptr %90, align 8, !tbaa !27
  %92 = call noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1) %83, ptr noundef %85, ptr noundef %87, ptr noundef %89, i32 noundef %.107, i32 noundef %44, i32 noundef %45, i1 noundef zeroext %61, i1 noundef zeroext %60, ptr noundef %91)
  br label %.loopexit

93:                                               ; preds = %79, %.critedge
  %94 = icmp ne i32 %44, 1
  %.pre = load i8, ptr %37, align 8, !tbaa !19, !range !20
  %95 = trunc nuw i8 %.pre to i1
  %brmerge = select i1 %94, i1 true, i1 %95
  %96 = getelementptr inbounds i8, ptr %0, i64 32
  %97 = load ptr, ptr %96, align 8, !tbaa !25
  %98 = getelementptr inbounds i8, ptr %0, i64 56
  %99 = load ptr, ptr %98, align 8, !tbaa !24
  %100 = getelementptr inbounds i8, ptr %0, i64 104
  %101 = load ptr, ptr %100, align 8, !tbaa !27
  br i1 %brmerge, label %._crit_edge, label %102

102:                                              ; preds = %93
  %103 = getelementptr inbounds i8, ptr %0, i64 114
  %104 = getelementptr inbounds i8, ptr %0, i64 80
  %105 = load ptr, ptr %104, align 8, !tbaa !26
  %106 = call noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1) %103, ptr noundef %97, ptr noundef %99, ptr noundef %105, i32 noundef %.107, i32 noundef %40, i32 noundef %45, i1 noundef zeroext %60, i1 noundef zeroext %61, ptr noundef %101)
  br label %.loopexit

._crit_edge:                                      ; preds = %93
  %not. = xor i1 %94, true
  %.mux = select i1 %not., i1 true, i1 %95
  %107 = getelementptr inbounds i8, ptr %0, i64 115
  %108 = load i8, ptr %41, align 1, !tbaa !22, !range !20, !noundef !21
  %109 = trunc nuw i8 %108 to i1
  %110 = call noundef i32 @_ZN5micro3ops4GemmIfE7ComputeEPKfS4_iiiiibbbbbPf(ptr noundef nonnull align 1 dereferenceable(1) %107, ptr noundef %97, ptr noundef %99, i32 noundef %.107, i32 noundef %20, i32 noundef %24, i32 noundef %32, i32 noundef %36, i1 noundef zeroext %.mux, i1 noundef zeroext %109, i1 noundef zeroext false, i1 noundef zeroext %60, i1 noundef zeroext %61, ptr noundef %101)
  %111 = getelementptr inbounds i8, ptr %0, i64 80
  %112 = load ptr, ptr %111, align 8, !tbaa !26
  %.not89 = icmp eq ptr %112, null
  br i1 %.not89, label %.loopexit, label %113

113:                                              ; preds = %._crit_edge
  %114 = getelementptr inbounds i8, ptr %0, i64 96
  %115 = load i32, ptr %114, align 8, !tbaa !28
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %122

117:                                              ; preds = %113
  %118 = getelementptr inbounds i8, ptr %0, i64 88
  %119 = load ptr, ptr %118, align 8, !tbaa !29
  %120 = load i32, ptr %119, align 4, !tbaa !16
  %121 = icmp eq i32 %120, %44
  br i1 %121, label %129, label %122

122:                                              ; preds = %117, %113
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  call void @_ZN5micro4base6LoggerC1EPKcjNS_8LogLevelE(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull @.str.2, i32 noundef 129, i32 noundef 4)
  %123 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull @.str.7)
          to label %124 unwind label %127

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEPKc(ptr noundef nonnull align 4 dereferenceable(4) %123, ptr noundef nonnull @.str.8)
          to label %126 unwind label %127

126:                                              ; preds = %124
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %129

127:                                              ; preds = %124, %122
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5micro4base6LoggerD1Ev(ptr noundef nonnull align 4 dereferenceable(4) %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %169

129:                                              ; preds = %126, %117
  %130 = mul nsw i32 %.107, %40
  %131 = icmp sgt i32 %130, 0
  br i1 %131, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %129
  %132 = icmp sgt i32 %44, 0
  %133 = load ptr, ptr %100, align 8
  %134 = load ptr, ptr %111, align 8
  br i1 %132, label %.preheader.us.preheader, label %.loopexit

.preheader.us.preheader:                          ; preds = %.preheader.lr.ph
  %135 = zext nneg i32 %44 to i64
  %wide.trip.count100 = zext nneg i32 %130 to i64
  %136 = mul nuw nsw i64 %135, %wide.trip.count100
  %137 = shl nuw i64 %136, 2
  %scevgep = getelementptr i8, ptr %133, i64 %137
  %138 = shl nuw nsw i64 %135, 2
  %scevgep108 = getelementptr i8, ptr %134, i64 %138
  %min.iters.check = icmp ult i32 %44, 8
  %bound0 = icmp ult ptr %133, %scevgep108
  %bound1 = icmp ult ptr %134, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %n.vec = and i64 %135, 2147483640
  %cmp.n = icmp eq i64 %n.vec, %135
  %xtraiter = and i64 %135, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvars.iv97 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next98, %._crit_edge.us ]
  %139 = mul nuw nsw i64 %indvars.iv97, %135
  %invariant.gep = getelementptr inbounds float, ptr %133, i64 %139
  %brmerge112 = select i1 %min.iters.check, i1 true, i1 %found.conflict
  br i1 %brmerge112, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader.us ]
  %140 = getelementptr inbounds float, ptr %invariant.gep, i64 %index
  %141 = getelementptr inbounds i8, ptr %140, i64 16
  %wide.load = load <4 x float>, ptr %140, align 4, !tbaa !30, !alias.scope !32, !noalias !35
  %wide.load109 = load <4 x float>, ptr %141, align 4, !tbaa !30, !alias.scope !32, !noalias !35
  %142 = getelementptr inbounds float, ptr %134, i64 %index
  %143 = getelementptr inbounds i8, ptr %142, i64 16
  %wide.load110 = load <4 x float>, ptr %142, align 4, !tbaa !30, !alias.scope !35
  %wide.load111 = load <4 x float>, ptr %143, align 4, !tbaa !30, !alias.scope !35
  %144 = fadd <4 x float> %wide.load, %wide.load110
  %145 = fadd <4 x float> %wide.load109, %wide.load111
  store <4 x float> %144, ptr %140, align 4, !tbaa !30, !alias.scope !32, !noalias !35
  store <4 x float> %145, ptr %141, align 4, !tbaa !30, !alias.scope !32, !noalias !35
  %index.next = add nuw i64 %index, 8
  %146 = icmp eq i64 %index.next, %n.vec
  br i1 %146, label %middle.block, label %vector.body, !llvm.loop !37

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.preheader.us, %middle.block
  %indvars.iv.ph = phi i64 [ 0, %.preheader.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %gep.prol = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.prol
  %147 = load float, ptr %gep.prol, align 4, !tbaa !30
  %148 = getelementptr inbounds float, ptr %134, i64 %indvars.iv.prol
  %149 = load float, ptr %148, align 4, !tbaa !30
  %150 = fadd float %147, %149
  store float %150, ptr %gep.prol, align 4, !tbaa !30
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !41

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %151 = sub nsw i64 %indvars.iv.ph, %135
  %152 = icmp ugt i64 %151, -4
  br i1 %152, label %._crit_edge.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv
  %153 = load float, ptr %gep, align 4, !tbaa !30
  %154 = getelementptr inbounds float, ptr %134, i64 %indvars.iv
  %155 = load float, ptr %154, align 4, !tbaa !30
  %156 = fadd float %153, %155
  store float %156, ptr %gep, align 4, !tbaa !30
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %gep.1 = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.next
  %157 = load float, ptr %gep.1, align 4, !tbaa !30
  %158 = getelementptr inbounds float, ptr %134, i64 %indvars.iv.next
  %159 = load float, ptr %158, align 4, !tbaa !30
  %160 = fadd float %157, %159
  store float %160, ptr %gep.1, align 4, !tbaa !30
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %gep.2 = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.next.1
  %161 = load float, ptr %gep.2, align 4, !tbaa !30
  %162 = getelementptr inbounds float, ptr %134, i64 %indvars.iv.next.1
  %163 = load float, ptr %162, align 4, !tbaa !30
  %164 = fadd float %161, %163
  store float %164, ptr %gep.2, align 4, !tbaa !30
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %gep.3 = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv.next.2
  %165 = load float, ptr %gep.3, align 4, !tbaa !30
  %166 = getelementptr inbounds float, ptr %134, i64 %indvars.iv.next.2
  %167 = load float, ptr %166, align 4, !tbaa !30
  %168 = fadd float %165, %167
  store float %168, ptr %gep.3, align 4, !tbaa !30
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %135
  br i1 %exitcond.not.3, label %._crit_edge.us, label %scalar.ph, !llvm.loop !43

._crit_edge.us:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next98 = add nuw nsw i64 %indvars.iv97, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next98, %wide.trip.count100
  br i1 %exitcond101.not, label %.loopexit, label %.preheader.us, !llvm.loop !44

.loopexit:                                        ; preds = %._crit_edge.us, %.preheader.lr.ph, %129, %75, %._crit_edge, %102, %82
  %.1 = phi i32 [ %92, %82 ], [ %106, %102 ], [ %63, %75 ], [ %110, %._crit_edge ], [ %110, %129 ], [ %110, %.preheader.lr.ph ], [ %110, %._crit_edge.us ]
  ret i32 %.1

169:                                              ; preds = %64, %127, %76, %10
  %.pn.pn.pn = phi { ptr, i32 } [ %11, %10 ], [ %65, %64 ], [ %128, %127 ], [ %77, %76 ]
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5micro3ops8MatMulOp8ValidateEv(ptr noundef nonnull align 8 dereferenceable(116)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN5micro4base16accumulate_multiIiEET_PKS2_jj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_j(ptr noundef nonnull align 8 dereferenceable(12), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2

declare void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZNK5micro4base6LoggerlsEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZN5micro3ops4GemvIfE7ComputeEPKfS4_S4_iiibbPf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) local_unnamed_addr #1

declare noundef i32 @_ZN5micro3ops4GemmIfE7ComputeEPKfS4_iiiiibbbbbPf(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 = { 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, !11, i64 48}
!6 = !{!"_ZTSN5micro3ops8MatMulOpE", !7, i64 0, !8, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !8, i64 64, !11, i64 72, !8, i64 80, !8, i64 88, !11, i64 96, !8, i64 104, !12, i64 112, !12, i64 113, !13, i64 114, !14, i64 115}
!7 = !{!"_ZTSN5micro9framework8OperatorE", !8, i64 8, !8, i64 16, !8, i64 24}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"bool", !9, i64 0}
!13 = !{!"_ZTSN5micro3ops4GemvIfEE"}
!14 = !{!"_ZTSN5micro3ops4GemmIfEE"}
!15 = !{!6, !8, i64 40}
!16 = !{!11, !11, i64 0}
!17 = !{!6, !11, i64 72}
!18 = !{!6, !8, i64 64}
!19 = !{!6, !12, i64 112}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!6, !12, i64 113}
!23 = !{!7, !8, i64 16}
!24 = !{!6, !8, i64 56}
!25 = !{!6, !8, i64 32}
!26 = !{!6, !8, i64 80}
!27 = !{!6, !8, i64 104}
!28 = !{!6, !11, i64 96}
!29 = !{!6, !8, i64 88}
!30 = !{!31, !31, i64 0}
!31 = !{!"float", !9, i64 0}
!32 = !{!33}
!33 = distinct !{!33, !34}
!34 = distinct !{!34, !"LVerDomain"}
!35 = !{!36}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !38, !39, !40}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{!"llvm.loop.isvectorized", i32 1}
!40 = !{!"llvm.loop.unroll.runtime.disable"}
!41 = distinct !{!41, !42}
!42 = !{!"llvm.loop.unroll.disable"}
!43 = distinct !{!43, !38, !39}
!44 = distinct !{!44, !38}


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