; LLVM IR from gem5/gem5 :: ext/systemc/src/sysc/datatypes/int/sc_signed.ll (ZN5sc_dt16sc_signed_subrefaSEd)

; 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_signed_subref_r" = type <{ %"class.sc_dt::sc_value_base", i32, [4 x i8], ptr, i32, [4 x i8] }>
%"class.sc_dt::sc_value_base" = type { ptr }

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt13is_bad_doubleEd(double noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt9remainderIdmEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i64 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8vec_zeroEiiPj(i32 noundef, i32 noundef, ptr noundef) #4

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt9sc_signed3setEib(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i1 noundef zeroext) #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZN5sc_dt16sc_signed_subrefaSEd(ptr noundef nonnull align 8 dereferenceable(28) %0, double noundef %1) #7 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  %11 = load ptr, ptr %3, align 8
  %12 = load double, ptr %4, align 8, !tbaa !9
  call void @_ZN5sc_dt13is_bad_doubleEd(double noundef %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %13 = getelementptr inbounds %"class.sc_dt::sc_signed_subref_r", ptr %11, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = getelementptr inbounds %"class.sc_dt::sc_signed_subref_r", ptr %11, i32 0, i32 4
  %16 = load i32, ptr %15, align 8, !tbaa !15
  %17 = sub nsw i32 %14, %16
  %18 = add nsw i32 %17, 1
  store i32 %18, ptr %5, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %19 = load i32, ptr %5, align 4, !tbaa !16
  %20 = sub nsw i32 %19, 1
  %21 = sdiv i32 %20, 30
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %6, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %23 = load i32, ptr %6, align 4, !tbaa !16
  %24 = sext i32 %23 to i64
  %25 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %24, i64 4)
  %26 = extractvalue { i64, i1 } %25, 1
  %27 = extractvalue { i64, i1 } %25, 0
  %28 = select i1 %26, i64 -1, i64 %27
  %29 = call noalias noundef nonnull ptr @_Znam(i64 noundef %28) #9
  store ptr %29, ptr %7, align 8, !tbaa !5
  %30 = load double, ptr %4, align 8, !tbaa !9
  %31 = fcmp olt double %30, 0.000000e+00
  br i1 %31, label %32, label %35

32:                                               ; preds = %2
  %33 = load double, ptr %4, align 8, !tbaa !9
  %34 = fneg double %33
  store double %34, ptr %4, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %32, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !16
  br label %36

36:                                               ; preds = %46, %35
  %37 = load double, ptr %4, align 8, !tbaa !9
  %38 = call double @llvm.floor.f64(double %37)
  %39 = fcmp une double %38, 0.000000e+00
  br i1 %39, label %40, label %44

40:                                               ; preds = %36
  %41 = load i32, ptr %8, align 4, !tbaa !16
  %42 = load i32, ptr %6, align 4, !tbaa !16
  %43 = icmp slt i32 %41, %42
  br label %44

44:                                               ; preds = %40, %36
  %45 = phi i1 [ false, %36 ], [ %43, %40 ]
  br i1 %45, label %46, label %58

46:                                               ; preds = %44
  %47 = load double, ptr %4, align 8, !tbaa !9
  %48 = call noundef double @_ZSt9remainderIdmEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %47, i64 noundef 1073741824)
  %49 = call double @llvm.floor.f64(double %48)
  %50 = fptoui double %49 to i32
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = load i32, ptr %8, align 4, !tbaa !16
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %8, align 4, !tbaa !16
  %54 = sext i32 %52 to i64
  %55 = getelementptr inbounds i32, ptr %51, i64 %54
  store i32 %50, ptr %55, align 4, !tbaa !16
  %56 = load double, ptr %4, align 8, !tbaa !9
  %57 = fdiv double %56, 0x41D0000000000000
  store double %57, ptr %4, align 8, !tbaa !9
  br label %36, !llvm.loop !17

58:                                               ; preds = %44
  %59 = load i32, ptr %8, align 4, !tbaa !16
  %60 = load i32, ptr %6, align 4, !tbaa !16
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN5sc_dt8vec_zeroEiiPj(i32 noundef %59, i32 noundef %60, ptr noundef %61)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !16
  store i32 0, ptr %8, align 4, !tbaa !16
  br label %62

62:                                               ; preds = %92, %58
  %63 = load i32, ptr %8, align 4, !tbaa !16
  %64 = load i32, ptr %5, align 4, !tbaa !16
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %66, label %93

66:                                               ; preds = %62
  %67 = getelementptr inbounds %"class.sc_dt::sc_signed_subref_r", ptr %11, i32 0, i32 3
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = load i32, ptr %8, align 4, !tbaa !16
  %70 = getelementptr inbounds %"class.sc_dt::sc_signed_subref_r", ptr %11, i32 0, i32 4
  %71 = load i32, ptr %70, align 8, !tbaa !15
  %72 = add nsw i32 %69, %71
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = load i32, ptr %10, align 4, !tbaa !16
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds i32, ptr %73, i64 %75
  %77 = load i32, ptr %76, align 4, !tbaa !16
  %78 = load i32, ptr %9, align 4, !tbaa !16
  %79 = and i32 %77, %78
  %80 = icmp ne i32 %79, 0
  call void @_ZN5sc_dt9sc_signed3setEib(ptr noundef nonnull align 8 dereferenceable(32) %68, i32 noundef %72, i1 noundef zeroext %80)
  %81 = load i32, ptr %8, align 4, !tbaa !16
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %8, align 4, !tbaa !16
  %83 = load i32, ptr %8, align 4, !tbaa !16
  %84 = srem i32 %83, 30
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %89

86:                                               ; preds = %66
  store i32 1, ptr %9, align 4, !tbaa !16
  %87 = load i32, ptr %10, align 4, !tbaa !16
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %10, align 4, !tbaa !16
  br label %92

89:                                               ; preds = %66
  %90 = load i32, ptr %9, align 4, !tbaa !16
  %91 = shl i32 %90, 1
  store i32 %91, ptr %9, align 4, !tbaa !16
  br label %92

92:                                               ; preds = %89, %86
  br label %62, !llvm.loop !20

93:                                               ; preds = %62
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = icmp eq ptr %94, null
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  call void @_ZdaPv(ptr noundef %94) #10
  br label %97

97:                                               ; preds = %96, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret ptr %11
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #5 = { 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 #6 = { nobuiltin 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

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


; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZN5sc_dt13is_bad_doubleEd(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.floor.f64(double) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt9remainderIdmEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5sc_dt8vec_zeroEiiPj(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5sc_dt9sc_signed3setEib(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i1 noundef zeroext) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZN5sc_dt16sc_signed_subrefaSEd(ptr noundef nonnull readonly returned align 8 dereferenceable(28) %0, double noundef %1) local_unnamed_addr #6 align 2 {
  tail call void @_ZN5sc_dt13is_bad_doubleEd(double noundef %1)
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load i32, ptr %5, align 8, !tbaa !12
  %7 = sub nsw i32 %4, %6
  %8 = sdiv i32 %7, 30
  %9 = add nsw i32 %8, 1
  %10 = sext i32 %9 to i64
  %11 = icmp slt i32 %7, -59
  %12 = shl nsw i64 %10, 2
  %13 = select i1 %11, i64 -1, i64 %12
  %14 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %13) #7
  %15 = fcmp olt double %1, 0.000000e+00
  %16 = fneg double %1
  %.030 = select i1 %15, double %16, double %1
  %17 = tail call double @llvm.floor.f64(double %.030)
  %18 = fcmp une double %17, 0.000000e+00
  %19 = icmp sgt i32 %7, -30
  %20 = and i1 %18, %19
  br i1 %20, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %2
  %21 = sext i32 %8 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.13134 = phi double [ %.030, %.lr.ph.preheader ], [ %26, %.lr.ph ]
  %22 = tail call noundef double @_ZSt9remainderIdmEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %.13134, i64 noundef 1073741824)
  %23 = tail call double @llvm.floor.f64(double %22)
  %24 = fptoui double %23 to i32
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %25 = getelementptr inbounds i32, ptr %14, i64 %indvars.iv
  store i32 %24, ptr %25, align 4, !tbaa !13
  %26 = fmul double %.13134, 0x3E10000000000000
  %27 = tail call double @llvm.floor.f64(double %26)
  %28 = fcmp une double %27, 0.000000e+00
  %29 = icmp slt i64 %indvars.iv, %21
  %30 = select i1 %28, i1 %29, i1 false
  br i1 %30, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !14

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %31 = trunc nuw nsw i64 %indvars.iv.next to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %2
  %.028.lcssa = phi i32 [ 0, %2 ], [ %31, %._crit_edge.loopexit ]
  tail call void @_ZN5sc_dt8vec_zeroEiiPj(i32 noundef %.028.lcssa, i32 noundef %9, ptr noundef nonnull %14)
  %.not36 = icmp slt i32 %7, 0
  br i1 %.not36, label %._crit_edge42, label %.lr.ph41

.lr.ph41:                                         ; preds = %._crit_edge
  %32 = getelementptr inbounds i8, ptr %0, i64 16
  %33 = add i32 %4, 1
  %34 = sub i32 %33, %6
  br label %35

35:                                               ; preds = %.lr.ph41, %35
  %.039 = phi i32 [ 0, %.lr.ph41 ], [ %.1, %35 ]
  %.02638 = phi i32 [ 1, %.lr.ph41 ], [ %.127, %35 ]
  %.12937 = phi i32 [ 0, %.lr.ph41 ], [ %44, %35 ]
  %36 = load ptr, ptr %32, align 8, !tbaa !16
  %37 = load i32, ptr %5, align 8, !tbaa !12
  %38 = add nsw i32 %37, %.12937
  %39 = zext nneg i32 %.039 to i64
  %40 = getelementptr inbounds i32, ptr %14, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !13
  %42 = and i32 %41, %.02638
  %43 = icmp ne i32 %42, 0
  tail call void @_ZN5sc_dt9sc_signed3setEib(ptr noundef nonnull align 8 dereferenceable(32) %36, i32 noundef %38, i1 noundef zeroext %43)
  %44 = add nuw i32 %.12937, 1
  %45 = urem i32 %44, 30
  %46 = icmp eq i32 %45, 0
  %47 = shl i32 %.02638, 1
  %.127 = select i1 %46, i32 1, i32 %47
  %48 = zext i1 %46 to i32
  %.1 = add nuw nsw i32 %.039, %48
  %exitcond.not = icmp eq i32 %44, %34
  br i1 %exitcond.not, label %._crit_edge42, label %35, !llvm.loop !17

._crit_edge42:                                    ; preds = %35, %._crit_edge
  tail call void @_ZdaPv(ptr noundef nonnull %14) #8
  ret ptr %0
}

attributes #0 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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 = { 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 #5 = { nobuiltin 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 #6 = { 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 #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !8, i64 8}
!6 = !{!"_ZTSN5sc_dt18sc_signed_subref_rE", !7, i64 0, !8, i64 8, !11, i64 16, !8, i64 24}
!7 = !{!"_ZTSN5sc_dt13sc_value_baseE"}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!6, !8, i64 24}
!13 = !{!8, !8, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!6, !11, i64 16}
!17 = distinct !{!17, !15}


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