; LLVM IR from XiaoMi/mace :: micro/ops/expand_dims.ll (ZN5micro3ops12ExpandDimsOp3RunEv)

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

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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN5micro3ops12ExpandDimsOp3RunEv(ptr noundef nonnull align 8 dereferenceable(68) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.micro::framework::ScratchBuffer", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %11 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 3
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = add i32 %12, 1
  store i32 %13, ptr %3, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %14 = getelementptr inbounds %"class.micro::framework::Operator", ptr %10, i32 0, i32 2
  %15 = load ptr, ptr %14, align 8, !tbaa !14
  call void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12) %5, ptr noundef %15)
  %16 = load i32, ptr %3, align 4, !tbaa !13
  %17 = invoke noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_i(ptr noundef nonnull align 8 dereferenceable(12) %5, i32 noundef %16)
          to label %18 unwind label %24

18:                                               ; preds = %1
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  store ptr %17, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %19

19:                                               ; preds = %68, %18
  %20 = load i32, ptr %8, align 4, !tbaa !13
  %21 = load i32, ptr %3, align 4, !tbaa !13
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %28, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %71

24:                                               ; preds = %1
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %6, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %7, align 4
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %88

28:                                               ; preds = %19
  %29 = load i32, ptr %8, align 4, !tbaa !13
  %30 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 6
  %31 = load i32, ptr %30, align 8, !tbaa !15
  %32 = icmp slt i32 %29, %31
  br i1 %32, label %33, label %44

33:                                               ; preds = %28
  %34 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %36 = load i32, ptr %8, align 4, !tbaa !13
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds i32, ptr %35, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !13
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load i32, ptr %8, align 4, !tbaa !13
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %40, i64 %42
  store i32 %39, ptr %43, align 4, !tbaa !13
  br label %67

44:                                               ; preds = %28
  %45 = load i32, ptr %8, align 4, !tbaa !13
  %46 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 6
  %47 = load i32, ptr %46, align 8, !tbaa !15
  %48 = icmp eq i32 %45, %47
  br i1 %48, label %49, label %54

49:                                               ; preds = %44
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = load i32, ptr %8, align 4, !tbaa !13
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %50, i64 %52
  store i32 1, ptr %53, align 4, !tbaa !13
  br label %66

54:                                               ; preds = %44
  %55 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = load i32, ptr %8, align 4, !tbaa !13
  %58 = sub nsw i32 %57, 1
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds i32, ptr %56, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !13
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = load i32, ptr %8, align 4, !tbaa !13
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %62, i64 %64
  store i32 %61, ptr %65, align 4, !tbaa !13
  br label %66

66:                                               ; preds = %54, %49
  br label %67

67:                                               ; preds = %66, %33
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %8, align 4, !tbaa !13
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %8, align 4, !tbaa !13
  br label %19, !llvm.loop !17

71:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %72 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 3
  %73 = load i32, ptr %72, align 8, !tbaa !9
  %74 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 2
  %75 = load ptr, ptr %74, align 8, !tbaa !16
  %76 = call noundef i32 @_ZN5micro4base12GetShapeSizeEjPKi(i32 noundef %73, ptr noundef %75)
  store i32 %76, ptr %9, align 4, !tbaa !13
  %77 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 5
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  %79 = getelementptr inbounds %"class.micro::ops::ExpandDimsOp", ptr %10, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !20
  %81 = load i32, ptr %9, align 4, !tbaa !13
  %82 = sext i32 %81 to i64
  %83 = mul i64 %82, 4
  %84 = trunc i64 %83 to i32
  call void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef %78, ptr noundef %80, i32 noundef %84)
  %85 = load i32, ptr %3, align 4, !tbaa !13
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = call noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 0, i32 noundef %85, ptr noundef %86)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  ret i32 %87

88:                                               ; preds = %24
  %89 = load ptr, ptr %6, align 8
  %90 = load i32, ptr %7, align 4
  %91 = insertvalue { ptr, i32 } poison, ptr %89, 0
  %92 = insertvalue { ptr, i32 } %91, i32 %90, 1
  resume { ptr, i32 } %92
}

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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 = !{!"_ZTSN5micro3ops12ExpandDimsOpE", !11, i64 0, !6, i64 32, !6, i64 40, !12, i64 48, !6, i64 56, !12, i64 64}
!11 = !{!"_ZTSN5micro9framework8OperatorE", !6, i64 8, !6, i64 16, !6, i64 24}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!11, !6, i64 16}
!15 = !{!10, !12, i64 64}
!16 = !{!10, !6, i64 40}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!10, !6, i64 56}
!20 = !{!10, !6, i64 32}


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

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

declare i32 @__gxx_personality_v0(...)

; 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 @_ZN5micro3ops12ExpandDimsOp3RunEv(ptr noundef nonnull align 8 dereferenceable(68) %0) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.micro::framework::ScratchBuffer", align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 48
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = add i32 %4, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  call void @_ZN5micro9framework13ScratchBufferC1EPNS_21MaceMicroEngineConfigE(ptr noundef nonnull align 8 dereferenceable(12) %2, ptr noundef %7)
  %8 = invoke noundef ptr @_ZN5micro9framework13ScratchBuffer9GetBufferIiEEPT_i(ptr noundef nonnull align 8 dereferenceable(12) %2, i32 noundef %5)
          to label %9 unwind label %33

9:                                                ; preds = %1
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %2) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  %10 = icmp ult i32 %4, 2147483647
  br i1 %10, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %9
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 40
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !13
  br label %._crit_edge

.lr.ph:                                           ; preds = %9
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load ptr, ptr %12, align 8
  %invariant.gep = getelementptr i8, ptr %13, i64 -4
  %wide.trip.count = zext i32 %5 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %14 = icmp eq i32 %4, 0
  br i1 %14, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  br label %35

._crit_edge.loopexit.unr-lcssa:                   ; preds = %54, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %54 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa
  %15 = load i32, ptr %11, align 8, !tbaa !14
  %16 = sext i32 %15 to i64
  %17 = icmp slt i64 %indvars.iv.unr, %16
  br i1 %17, label %.sink.split.epil, label %18

18:                                               ; preds = %.epil.preheader
  %19 = zext i32 %15 to i64
  %20 = icmp eq i64 %indvars.iv.unr, %19
  br i1 %20, label %._crit_edge.loopexit.epilog-lcssa, label %.sink.split.epil

.sink.split.epil:                                 ; preds = %18, %.epil.preheader
  %.sink25.epil = phi ptr [ %13, %.epil.preheader ], [ %invariant.gep, %18 ]
  %21 = getelementptr i32, ptr %.sink25.epil, i64 %indvars.iv.unr
  %22 = load i32, ptr %21, align 4, !tbaa !15
  br label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %.sink.split.epil, %18
  %.sink.epil = phi i32 [ 1, %18 ], [ %22, %.sink.split.epil ]
  %23 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv.unr
  store i32 %.sink.epil, ptr %23, align 4, !tbaa !15
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %.._crit_edge_crit_edge
  %24 = phi ptr [ %.pre, %.._crit_edge_crit_edge ], [ %13, %._crit_edge.loopexit.unr-lcssa ], [ %13, %._crit_edge.loopexit.epilog-lcssa ]
  %25 = load i32, ptr %3, align 8, !tbaa !5
  %26 = call noundef i32 @_ZN5micro4base12GetShapeSizeEjPKi(i32 noundef %25, ptr noundef %24)
  %27 = getelementptr inbounds i8, ptr %0, i64 56
  %28 = load ptr, ptr %27, align 8, !tbaa !16
  %29 = getelementptr inbounds i8, ptr %0, i64 32
  %30 = load ptr, ptr %29, align 8, !tbaa !17
  %31 = shl i32 %26, 2
  call void @_ZN5micro4base6memcpyEPvPKvj(ptr noundef %28, ptr noundef %30, i32 noundef %31)
  %32 = call noundef i32 @_ZN5micro9framework8Operator17ResizeOutputShapeEjjPKi(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 0, i32 noundef %5, ptr noundef %8)
  ret i32 %32

33:                                               ; preds = %1
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5micro9framework13ScratchBufferD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %2) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  resume { ptr, i32 } %34

35:                                               ; preds = %54, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %54 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %54 ]
  %36 = load i32, ptr %11, align 8, !tbaa !14
  %37 = sext i32 %36 to i64
  %38 = icmp slt i64 %indvars.iv, %37
  br i1 %38, label %.sink.split, label %39

39:                                               ; preds = %35
  %40 = zext i32 %36 to i64
  %41 = icmp eq i64 %indvars.iv, %40
  br i1 %41, label %44, label %.sink.split

.sink.split:                                      ; preds = %39, %35
  %.sink25 = phi ptr [ %13, %35 ], [ %invariant.gep, %39 ]
  %42 = getelementptr i32, ptr %.sink25, i64 %indvars.iv
  %43 = load i32, ptr %42, align 4, !tbaa !15
  br label %44

44:                                               ; preds = %.sink.split, %39
  %.sink = phi i32 [ 1, %39 ], [ %43, %.sink.split ]
  %45 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv
  store i32 %.sink, ptr %45, align 4, !tbaa !15
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %46 = load i32, ptr %11, align 8, !tbaa !14
  %47 = sext i32 %46 to i64
  %48 = icmp slt i64 %indvars.iv.next, %47
  br i1 %48, label %.sink.split.1, label %49

49:                                               ; preds = %44
  %50 = zext i32 %46 to i64
  %51 = icmp eq i64 %indvars.iv.next, %50
  br i1 %51, label %54, label %.sink.split.1

.sink.split.1:                                    ; preds = %49, %44
  %.sink25.1 = phi ptr [ %13, %44 ], [ %invariant.gep, %49 ]
  %52 = getelementptr i32, ptr %.sink25.1, i64 %indvars.iv.next
  %53 = load i32, ptr %52, align 4, !tbaa !15
  br label %54

54:                                               ; preds = %.sink.split.1, %49
  %.sink.1 = phi i32 [ 1, %49 ], [ %53, %.sink.split.1 ]
  %55 = getelementptr inbounds i32, ptr %8, i64 %indvars.iv.next
  store i32 %.sink.1, ptr %55, align 4, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %35, !llvm.loop !18
}

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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 = !{!"_ZTSN5micro3ops12ExpandDimsOpE", !7, i64 0, !8, i64 32, !8, i64 40, !11, i64 48, !8, i64 56, !11, i64 64}
!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 = !{!7, !8, i64 16}
!13 = !{!6, !8, i64 40}
!14 = !{!6, !11, i64 64}
!15 = !{!11, !11, i64 0}
!16 = !{!6, !8, i64 56}
!17 = !{!6, !8, i64 32}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass