; LLVM IR from gem5/gem5 :: ext/systemc/src/sysc/datatypes/bit/sc_lv_base.ll (ZN5sc_dt10sc_lv_baseC2ERKS0_)

; 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.sc_dt::sc_lv_base" = type { %"class.sc_dt::sc_proxy", i32, i32, ptr, ptr }
%"class.sc_dt::sc_proxy" = type { ptr }

@_ZTVN5sc_dt10sc_lv_baseE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5sc_dt10sc_lv_baseC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = getelementptr inbounds i8, ptr %9, i64 0
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 8, i1 false)
  call void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN5sc_dt10sc_lv_baseE, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 1
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !11
  store i32 %14, ptr %11, align 8, !tbaa !11
  %15 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 2
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %16, i32 0, i32 2
  %18 = load i32, ptr %17, align 4, !tbaa !15
  store i32 %18, ptr %15, align 4, !tbaa !15
  %19 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 3
  %20 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 2
  %21 = load i32, ptr %20, align 4, !tbaa !15
  %22 = mul nsw i32 %21, 2
  %23 = sext i32 %22 to i64
  %24 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %23, i64 4)
  %25 = extractvalue { i64, i1 } %24, 1
  %26 = extractvalue { i64, i1 } %24, 0
  %27 = select i1 %25, i64 -1, i64 %26
  %28 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %27) #8
          to label %29 unwind label %44

29:                                               ; preds = %2
  store ptr %28, ptr %19, align 8, !tbaa !16
  %30 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 4
  %31 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 2
  %34 = load i32, ptr %33, align 4, !tbaa !15
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds i32, ptr %32, i64 %35
  store ptr %36, ptr %30, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %37 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 2
  %38 = load i32, ptr %37, align 4, !tbaa !15
  store i32 %38, ptr %7, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !18
  br label %39

39:                                               ; preds = %73, %29
  %40 = load i32, ptr %8, align 4, !tbaa !18
  %41 = load i32, ptr %7, align 4, !tbaa !18
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %48, label %43

43:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %76

44:                                               ; preds = %2
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  call void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %77

48:                                               ; preds = %39
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !16
  %52 = load i32, ptr %8, align 4, !tbaa !18
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i32, ptr %51, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !18
  %56 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 3
  %57 = load ptr, ptr %56, align 8, !tbaa !16
  %58 = load i32, ptr %8, align 4, !tbaa !18
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds i32, ptr %57, i64 %59
  store i32 %55, ptr %60, align 4, !tbaa !18
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %61, i32 0, i32 4
  %63 = load ptr, ptr %62, align 8, !tbaa !17
  %64 = load i32, ptr %8, align 4, !tbaa !18
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds i32, ptr %63, i64 %65
  %67 = load i32, ptr %66, align 4, !tbaa !18
  %68 = getelementptr inbounds %"class.sc_dt::sc_lv_base", ptr %9, i32 0, i32 4
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = load i32, ptr %8, align 4, !tbaa !18
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  store i32 %67, ptr %72, align 4, !tbaa !18
  br label %73

73:                                               ; preds = %48
  %74 = load i32, ptr %8, align 4, !tbaa !18
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %8, align 4, !tbaa !18
  br label %39, !llvm.loop !19

76:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void

77:                                               ; preds = %44
  %78 = load ptr, ptr %5, align 8
  %79 = load i32, ptr %6, align 4
  %80 = insertvalue { ptr, i32 } poison, ptr %78, 0
  %81 = insertvalue { ptr, i32 } %80, i32 %79, 1
  resume { ptr, i32 } %81
}

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

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

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { 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, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !14, i64 8}
!12 = !{!"_ZTSN5sc_dt10sc_lv_baseE", !13, i64 0, !14, i64 8, !14, i64 12, !6, i64 16, !6, i64 24}
!13 = !{!"_ZTSN5sc_dt8sc_proxyINS_10sc_lv_baseEEE"}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !14, i64 12}
!16 = !{!12, !6, i64 16}
!17 = !{!12, !6, i64 24}
!18 = !{!14, !14, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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

@_ZTVN5sc_dt10sc_lv_baseE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5sc_dt10sc_lv_baseC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  store i64 0, ptr %0, align 8
  tail call void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN5sc_dt10sc_lv_baseE, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !8
  store i32 %5, ptr %3, align 8, !tbaa !8
  %6 = getelementptr inbounds i8, ptr %0, i64 12
  %7 = getelementptr inbounds i8, ptr %1, i64 12
  %8 = load i32, ptr %7, align 4, !tbaa !14
  store i32 %8, ptr %6, align 4, !tbaa !14
  %9 = shl nsw i32 %8, 1
  %10 = sext i32 %9 to i64
  %11 = icmp slt i32 %8, 0
  %12 = shl nsw i64 %10, 2
  %13 = select i1 %11, i64 -1, i64 %12
  %14 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %13) #5
          to label %15 unwind label %51

15:                                               ; preds = %2
  %16 = ptrtoint ptr %14 to i64
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %14, ptr %17, align 8, !tbaa !15
  %18 = getelementptr inbounds i8, ptr %0, i64 24
  %19 = sext i32 %8 to i64
  %20 = getelementptr i32, ptr %14, i64 %19
  store ptr %20, ptr %18, align 8, !tbaa !16
  %21 = icmp sgt i32 %8, 0
  br i1 %21, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %15
  %22 = getelementptr inbounds i8, ptr %1, i64 16
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %1, i64 24
  %25 = load ptr, ptr %24, align 8, !tbaa !16
  %wide.trip.count = zext nneg i32 %8 to i64
  %min.iters.check = icmp ult i32 %8, 28
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %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
  %26 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv.ph
  %27 = load i32, ptr %26, align 4, !tbaa !17
  %28 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.ph
  store i32 %27, ptr %28, align 4, !tbaa !17
  %29 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv.ph
  %30 = load i32, ptr %29, align 4, !tbaa !17
  %31 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.ph
  store i32 %30, ptr %31, align 4, !tbaa !17
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %scalar.ph.prol.loopexit

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 ]
  %32 = add nsw i64 %wide.trip.count, -1
  %33 = icmp eq i64 %indvars.iv.ph, %32
  br i1 %33, label %._crit_edge, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %34 = ptrtoint ptr %25 to i64
  %35 = ptrtoint ptr %23 to i64
  %36 = shl nuw nsw i64 %19, 2
  %37 = add i64 %36, %16
  %38 = sub i64 %37, %35
  %diff.check = icmp ult i64 %38, 32
  %39 = sub i64 %37, %34
  %diff.check15 = icmp ult i64 %39, 32
  %conflict.rdx = or i1 %diff.check, %diff.check15
  %40 = sub i64 %16, %35
  %diff.check16 = icmp ult i64 %40, 32
  %conflict.rdx17 = or i1 %conflict.rdx, %diff.check16
  %41 = sub i64 %34, %16
  %diff.check18 = icmp ult i64 %41, 32
  %conflict.rdx19 = or i1 %conflict.rdx17, %diff.check18
  br i1 %conflict.rdx19, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %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 ]
  %42 = getelementptr inbounds i32, ptr %23, i64 %index
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %wide.load = load <4 x i32>, ptr %42, align 4, !tbaa !17
  %wide.load22 = load <4 x i32>, ptr %43, align 4, !tbaa !17
  %44 = getelementptr inbounds i32, ptr %14, i64 %index
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  store <4 x i32> %wide.load, ptr %44, align 4, !tbaa !17
  store <4 x i32> %wide.load22, ptr %45, align 4, !tbaa !17
  %46 = getelementptr inbounds i32, ptr %25, i64 %index
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %wide.load23 = load <4 x i32>, ptr %46, align 4, !tbaa !17
  %wide.load24 = load <4 x i32>, ptr %47, align 4, !tbaa !17
  %48 = getelementptr inbounds i32, ptr %20, i64 %index
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <4 x i32> %wide.load23, ptr %48, align 4, !tbaa !17
  store <4 x i32> %wide.load24, ptr %49, align 4, !tbaa !17
  %index.next = add nuw i64 %index, 8
  %50 = icmp eq i64 %index.next, %n.vec
  br i1 %50, label %middle.block, label %vector.body, !llvm.loop !18

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

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %15
  ret void

51:                                               ; preds = %2
  %52 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN5sc_dt8sc_proxyINS_10sc_lv_baseEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #4
  resume { ptr, i32 } %52

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %53 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv
  %54 = load i32, ptr %53, align 4, !tbaa !17
  %55 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv
  store i32 %54, ptr %55, align 4, !tbaa !17
  %56 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv
  %57 = load i32, ptr %56, align 4, !tbaa !17
  %58 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv
  store i32 %57, ptr %58, align 4, !tbaa !17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %59 = getelementptr inbounds i32, ptr %23, i64 %indvars.iv.next
  %60 = load i32, ptr %59, align 4, !tbaa !17
  %61 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv.next
  store i32 %60, ptr %61, align 4, !tbaa !17
  %62 = getelementptr inbounds i32, ptr %25, i64 %indvars.iv.next
  %63 = load i32, ptr %62, align 4, !tbaa !17
  %64 = getelementptr inbounds i32, ptr %20, i64 %indvars.iv.next
  store i32 %63, ptr %64, align 4, !tbaa !17
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %._crit_edge, label %scalar.ph, !llvm.loop !22
}

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

attributes #0 = { 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 #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 8}
!9 = !{!"_ZTSN5sc_dt10sc_lv_baseE", !10, i64 0, !11, i64 8, !11, i64 12, !13, i64 16, !13, i64 24}
!10 = !{!"_ZTSN5sc_dt8sc_proxyINS_10sc_lv_baseEEE"}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"any pointer", !12, i64 0}
!14 = !{!9, !11, i64 12}
!15 = !{!9, !13, i64 16}
!16 = !{!9, !13, i64 24}
!17 = !{!11, !11, i64 0}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !19, !20}


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