; LLVM IR from Tencent-RoboticsX/jbdl :: src/jbdl/experimental/qpoases/src/Indexlist.ll (ZN7qpOASES9Indexlist4copyERKS0_)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES9Indexlist4copyERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %0, ptr noundef nonnull align 8 dereferenceable(36) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %7 = load ptr, ptr %4, align 8, !tbaa !5
  %8 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %7, i32 0, i32 2
  %9 = load i32, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 2
  store i32 %9, ptr %10, align 8, !tbaa !9
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %11, i32 0, i32 6
  %13 = load i32, ptr %12, align 8, !tbaa !12
  %14 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 6
  store i32 %13, ptr %14, align 8, !tbaa !12
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %15, i32 0, i32 0
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = icmp ne ptr %17, null
  br i1 %18, label %19, label %82

19:                                               ; preds = %2
  %20 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 6
  %21 = load i32, ptr %20, align 8, !tbaa !12
  %22 = sext i32 %21 to i64
  %23 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %22, i64 4)
  %24 = extractvalue { i64, i1 } %23, 1
  %25 = extractvalue { i64, i1 } %23, 0
  %26 = select i1 %24, i64 -1, i64 %25
  %27 = call noalias noundef nonnull ptr @_Znam(i64 noundef %26) #5
  %28 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 0
  store ptr %27, ptr %28, align 8, !tbaa !13
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %29

29:                                               ; preds = %47, %19
  %30 = load i32, ptr %5, align 4, !tbaa !14
  %31 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 6
  %32 = load i32, ptr %31, align 8, !tbaa !12
  %33 = icmp slt i32 %30, %32
  br i1 %33, label %34, label %50

34:                                               ; preds = %29
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = load i32, ptr %5, align 4, !tbaa !14
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i32, ptr %37, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !14
  %42 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = load i32, ptr %5, align 4, !tbaa !14
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds i32, ptr %43, i64 %45
  store i32 %41, ptr %46, align 4, !tbaa !14
  br label %47

47:                                               ; preds = %34
  %48 = load i32, ptr %5, align 4, !tbaa !14
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %5, align 4, !tbaa !14
  br label %29, !llvm.loop !15

50:                                               ; preds = %29
  %51 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 6
  %52 = load i32, ptr %51, align 8, !tbaa !12
  %53 = sext i32 %52 to i64
  %54 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %53, i64 4)
  %55 = extractvalue { i64, i1 } %54, 1
  %56 = extractvalue { i64, i1 } %54, 0
  %57 = select i1 %55, i64 -1, i64 %56
  %58 = call noalias noundef nonnull ptr @_Znam(i64 noundef %57) #5
  %59 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 1
  store ptr %58, ptr %59, align 8, !tbaa !17
  store i32 0, ptr %5, align 4, !tbaa !14
  br label %60

60:                                               ; preds = %78, %50
  %61 = load i32, ptr %5, align 4, !tbaa !14
  %62 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 6
  %63 = load i32, ptr %62, align 8, !tbaa !12
  %64 = icmp slt i32 %61, %63
  br i1 %64, label %65, label %81

65:                                               ; preds = %60
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !17
  %69 = load i32, ptr %5, align 4, !tbaa !14
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !14
  %73 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 1
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = load i32, ptr %5, align 4, !tbaa !14
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds i32, ptr %74, i64 %76
  store i32 %72, ptr %77, align 4, !tbaa !14
  br label %78

78:                                               ; preds = %65
  %79 = load i32, ptr %5, align 4, !tbaa !14
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %5, align 4, !tbaa !14
  br label %60, !llvm.loop !18

81:                                               ; preds = %60
  br label %85

82:                                               ; preds = %2
  %83 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 0
  store ptr null, ptr %83, align 8, !tbaa !13
  %84 = getelementptr inbounds %"class.qpOASES::Indexlist", ptr %6, i32 0, i32 1
  store ptr null, ptr %84, align 8, !tbaa !17
  br label %85

85:                                               ; preds = %82, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret i32 0
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nobuiltin allocsize(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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }
attributes #5 = { builtin allocsize(0) }

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


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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7qpOASES9Indexlist4copyERKS0_(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(36) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(36) %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %1, i64 16
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %4, ptr %5, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 32
  %7 = load i32, ptr %6, align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %7, ptr %8, align 8, !tbaa !11
  %9 = load ptr, ptr %1, align 8, !tbaa !12
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %74, label %10

10:                                               ; preds = %2
  %11 = sext i32 %7 to i64
  %12 = icmp slt i32 %7, 0
  %13 = shl nsw i64 %11, 2
  %14 = select i1 %12, i64 -1, i64 %13
  %15 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %14) #3
  store ptr %15, ptr %0, align 8, !tbaa !12
  %16 = icmp sgt i32 %7, 0
  br i1 %16, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %10
  %17 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %14) #3
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %17, ptr %18, align 8, !tbaa !13
  br label %.loopexit

.lr.ph:                                           ; preds = %10
  %19 = ptrtoint ptr %15 to i64
  %20 = load ptr, ptr %1, align 8, !tbaa !12
  %wide.trip.count = zext nneg i32 %7 to i64
  %min.iters.check = icmp ult i32 %7, 8
  %21 = ptrtoint ptr %20 to i64
  %22 = sub i64 %19, %21
  %diff.check = icmp ult i64 %22, 32
  %or.cond = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %wide.trip.count, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %23 = getelementptr inbounds i32, ptr %20, i64 %index
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  %wide.load = load <4 x i32>, ptr %23, align 4, !tbaa !14
  %wide.load24 = load <4 x i32>, ptr %24, align 4, !tbaa !14
  %25 = getelementptr inbounds i32, ptr %15, i64 %index
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  store <4 x i32> %wide.load, ptr %25, align 4, !tbaa !14
  store <4 x i32> %wide.load24, ptr %26, align 4, !tbaa !14
  %index.next = add nuw i64 %index, 8
  %27 = icmp eq i64 %index.next, %n.vec
  br i1 %27, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  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 ]
  %28 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.prol
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.prol
  store i32 %29, ptr %30, align 4, !tbaa !14
  %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 !19

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 ]
  %31 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %32 = icmp ugt i64 %31, -4
  br i1 %32, label %._crit_edge, 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 ]
  %33 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv
  %34 = load i32, ptr %33, align 4, !tbaa !14
  %35 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv
  store i32 %34, ptr %35, align 4, !tbaa !14
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %36 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.next
  %37 = load i32, ptr %36, align 4, !tbaa !14
  %38 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next
  store i32 %37, ptr %38, align 4, !tbaa !14
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %39 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.next.1
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next.1
  store i32 %40, ptr %41, align 4, !tbaa !14
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %42 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.next.2
  %43 = load i32, ptr %42, align 4, !tbaa !14
  %44 = getelementptr inbounds i32, ptr %15, i64 %indvars.iv.next.2
  store i32 %43, ptr %44, align 4, !tbaa !14
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge, label %scalar.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %45 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %14) #3
  %46 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %45, ptr %46, align 8, !tbaa !13
  br i1 %16, label %.lr.ph17, label %.loopexit

.lr.ph17:                                         ; preds = %._crit_edge
  %47 = ptrtoint ptr %45 to i64
  %48 = getelementptr inbounds i8, ptr %1, i64 8
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  %wide.trip.count22 = zext nneg i32 %7 to i64
  %min.iters.check29 = icmp ult i32 %7, 8
  %50 = ptrtoint ptr %49 to i64
  %51 = sub i64 %47, %50
  %diff.check26 = icmp ult i64 %51, 32
  %or.cond42 = select i1 %min.iters.check29, i1 true, i1 %diff.check26
  br i1 %or.cond42, label %scalar.ph28.preheader, label %vector.ph30

vector.ph30:                                      ; preds = %.lr.ph17
  %n.vec32 = and i64 %wide.trip.count, 2147483640
  br label %vector.body34

vector.body34:                                    ; preds = %vector.body34, %vector.ph30
  %index35 = phi i64 [ 0, %vector.ph30 ], [ %index.next38, %vector.body34 ]
  %52 = getelementptr inbounds i32, ptr %49, i64 %index35
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  %wide.load36 = load <4 x i32>, ptr %52, align 4, !tbaa !14
  %wide.load37 = load <4 x i32>, ptr %53, align 4, !tbaa !14
  %54 = getelementptr inbounds i32, ptr %45, i64 %index35
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  store <4 x i32> %wide.load36, ptr %54, align 4, !tbaa !14
  store <4 x i32> %wide.load37, ptr %55, align 4, !tbaa !14
  %index.next38 = add nuw i64 %index35, 8
  %56 = icmp eq i64 %index.next38, %n.vec32
  br i1 %56, label %middle.block27, label %vector.body34, !llvm.loop !22

middle.block27:                                   ; preds = %vector.body34
  %cmp.n39 = icmp eq i64 %n.vec32, %wide.trip.count
  br i1 %cmp.n39, label %.loopexit, label %scalar.ph28.preheader

scalar.ph28.preheader:                            ; preds = %middle.block27, %.lr.ph17
  %indvars.iv19.ph = phi i64 [ 0, %.lr.ph17 ], [ %n.vec32, %middle.block27 ]
  %xtraiter43 = and i64 %wide.trip.count, 3
  %lcmp.mod44.not = icmp eq i64 %xtraiter43, 0
  br i1 %lcmp.mod44.not, label %scalar.ph28.prol.loopexit, label %scalar.ph28.prol

scalar.ph28.prol:                                 ; preds = %scalar.ph28.preheader, %scalar.ph28.prol
  %indvars.iv19.prol = phi i64 [ %indvars.iv.next20.prol, %scalar.ph28.prol ], [ %indvars.iv19.ph, %scalar.ph28.preheader ]
  %prol.iter45 = phi i64 [ %prol.iter45.next, %scalar.ph28.prol ], [ 0, %scalar.ph28.preheader ]
  %57 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv19.prol
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv19.prol
  store i32 %58, ptr %59, align 4, !tbaa !14
  %indvars.iv.next20.prol = add nuw nsw i64 %indvars.iv19.prol, 1
  %prol.iter45.next = add i64 %prol.iter45, 1
  %prol.iter45.cmp.not = icmp eq i64 %prol.iter45.next, %xtraiter43
  br i1 %prol.iter45.cmp.not, label %scalar.ph28.prol.loopexit, label %scalar.ph28.prol, !llvm.loop !23

scalar.ph28.prol.loopexit:                        ; preds = %scalar.ph28.prol, %scalar.ph28.preheader
  %indvars.iv19.unr = phi i64 [ %indvars.iv19.ph, %scalar.ph28.preheader ], [ %indvars.iv.next20.prol, %scalar.ph28.prol ]
  %60 = sub nsw i64 %indvars.iv19.ph, %wide.trip.count
  %61 = icmp ugt i64 %60, -4
  br i1 %61, label %.loopexit, label %scalar.ph28

scalar.ph28:                                      ; preds = %scalar.ph28.prol.loopexit, %scalar.ph28
  %indvars.iv19 = phi i64 [ %indvars.iv.next20.3, %scalar.ph28 ], [ %indvars.iv19.unr, %scalar.ph28.prol.loopexit ]
  %62 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv19
  %63 = load i32, ptr %62, align 4, !tbaa !14
  %64 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv19
  store i32 %63, ptr %64, align 4, !tbaa !14
  %indvars.iv.next20 = add nuw nsw i64 %indvars.iv19, 1
  %65 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv.next20
  %66 = load i32, ptr %65, align 4, !tbaa !14
  %67 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv.next20
  store i32 %66, ptr %67, align 4, !tbaa !14
  %indvars.iv.next20.1 = add nuw nsw i64 %indvars.iv19, 2
  %68 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv.next20.1
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv.next20.1
  store i32 %69, ptr %70, align 4, !tbaa !14
  %indvars.iv.next20.2 = add nuw nsw i64 %indvars.iv19, 3
  %71 = getelementptr inbounds i32, ptr %49, i64 %indvars.iv.next20.2
  %72 = load i32, ptr %71, align 4, !tbaa !14
  %73 = getelementptr inbounds i32, ptr %45, i64 %indvars.iv.next20.2
  store i32 %72, ptr %73, align 4, !tbaa !14
  %indvars.iv.next20.3 = add nuw nsw i64 %indvars.iv19, 4
  %exitcond23.not.3 = icmp eq i64 %indvars.iv.next20.3, %wide.trip.count22
  br i1 %exitcond23.not.3, label %.loopexit, label %scalar.ph28, !llvm.loop !24

74:                                               ; preds = %2
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false)
  br label %.loopexit

.loopexit:                                        ; preds = %scalar.ph28.prol.loopexit, %scalar.ph28, %middle.block27, %._crit_edge.thread, %._crit_edge, %74
  ret i32 0
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

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

attributes #0 = { 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 #1 = { nobuiltin allocsize(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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { builtin allocsize(0) }

!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, !10, i64 16}
!6 = !{!"_ZTSN7qpOASES9IndexlistE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 32}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!10, !10, i64 0}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.unroll.disable"}
!21 = distinct !{!21, !16, !17}
!22 = distinct !{!22, !16, !17, !18}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !16, !17}


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