; LLVM IR from avaneev/biteopt :: constr2 (main)

; 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.CBiteRnd = type <{ ptr, ptr, i64, i64, i64, i64, i32, [4 x i8] }>
%class.CTestOpt = type { %class.CBiteOptDeep.base, i32, double }
%class.CBiteOptDeep.base = type <{ %class.CBiteOptInterface, i32, i32, ptr, ptr, ptr, ptr, ptr, i32 }>
%class.CBiteOptInterface = type { ptr }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %class.CBiteRnd, align 8
  %3 = alloca %class.CTestOpt, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 56, ptr %2) #6
  call void @_ZN8CBiteRndC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %2)
  call void @_ZN8CBiteRnd4initEiPFjPvES0_(ptr noundef nonnull align 8 dereferenceable(52) %2, i32 noundef 1, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #6
  call void @_ZN8CTestOptC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3)
  invoke void @_ZN12CBiteOptDeep10updateDimsEiii(ptr noundef nonnull align 8 dereferenceable(60) %3, i32 noundef 4, i32 noundef 6, i32 noundef 0)
          to label %7 unwind label %17

7:                                                ; preds = %0
  invoke void @_ZN12CBiteOptDeep4initER8CBiteRndPKdd(ptr noundef nonnull align 8 dereferenceable(60) %3, ptr noundef nonnull align 8 dereferenceable(52) %2, ptr noundef null, double noundef 1.000000e+00)
          to label %8 unwind label %17

8:                                                ; preds = %7
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %26, %8
  %10 = load i32, ptr %6, align 4, !tbaa !5
  %11 = icmp slt i32 %10, 2000000
  br i1 %11, label %12, label %29

12:                                               ; preds = %9
  %13 = invoke noundef i32 @_ZN12CBiteOptDeep8optimizeER8CBiteRnd(ptr noundef nonnull align 8 dereferenceable(60) %3, ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %14 unwind label %21

14:                                               ; preds = %12
  %15 = icmp sgt i32 %13, 512
  br i1 %15, label %16, label %25

16:                                               ; preds = %14
  br label %29

17:                                               ; preds = %7, %0
  %18 = landingpad { ptr, i32 }
          cleanup
  %19 = extractvalue { ptr, i32 } %18, 0
  store ptr %19, ptr %4, align 8
  %20 = extractvalue { ptr, i32 } %18, 1
  store i32 %20, ptr %5, align 4
  br label %64

21:                                               ; preds = %52, %49, %41, %37, %33, %31, %29, %12
  %22 = landingpad { ptr, i32 }
          cleanup
  %23 = extractvalue { ptr, i32 } %22, 0
  store ptr %23, ptr %4, align 8
  %24 = extractvalue { ptr, i32 } %22, 1
  store i32 %24, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %64

25:                                               ; preds = %14
  br label %26

26:                                               ; preds = %25
  %27 = load i32, ptr %6, align 4, !tbaa !5
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %6, align 4, !tbaa !5
  br label %9, !llvm.loop !9

29:                                               ; preds = %16, %9
  %30 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %3)
          to label %31 unwind label %21

31:                                               ; preds = %29
  %32 = invoke noundef double @_ZN8CTestOpt7optcostEPKd(ptr noundef nonnull align 8 dereferenceable(72) %3, ptr noundef %30)
          to label %33 unwind label %21

33:                                               ; preds = %31
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  %36 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %35)
          to label %37 unwind label %21

37:                                               ; preds = %33
  %38 = getelementptr inbounds %class.CTestOpt, ptr %3, i32 0, i32 2
  %39 = load double, ptr %38, align 8, !tbaa !11
  %40 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %39)
          to label %41 unwind label %21

41:                                               ; preds = %37
  %42 = getelementptr inbounds %class.CTestOpt, ptr %3, i32 0, i32 1
  %43 = load i32, ptr %42, align 4, !tbaa !17
  %44 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43)
          to label %45 unwind label %21

45:                                               ; preds = %41
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %46

46:                                               ; preds = %59, %45
  %47 = load i32, ptr %6, align 4, !tbaa !5
  %48 = icmp slt i32 %47, 4
  br i1 %48, label %49, label %62

49:                                               ; preds = %46
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %51 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %3)
          to label %52 unwind label %21

52:                                               ; preds = %49
  %53 = load i32, ptr %6, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %51, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !18
  %57 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %50, double noundef %56)
          to label %58 unwind label %21

58:                                               ; preds = %52
  br label %59

59:                                               ; preds = %58
  %60 = load i32, ptr %6, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %6, align 4, !tbaa !5
  br label %46, !llvm.loop !19

62:                                               ; preds = %46
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @_ZN12CBiteOptDeepD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  %63 = load i32, ptr %1, align 4
  ret i32 %63

64:                                               ; preds = %21, %17
  call void @_ZN12CBiteOptDeepD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %3) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %2) #6
  br label %65

65:                                               ; preds = %64
  %66 = load ptr, ptr %4, align 8
  %67 = load i32, ptr %5, align 4
  %68 = insertvalue { ptr, i32 } poison, ptr %66, 0
  %69 = insertvalue { ptr, i32 } %68, i32 %67, 1
  resume { ptr, i32 } %69
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8CBiteRnd4initEiPFjPvES0_(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef, ptr noundef, ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12CBiteOptDeep10updateDimsEiii(ptr noundef nonnull align 8 dereferenceable(60), i32 noundef, i32 noundef, i32 noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12CBiteOptDeep4initER8CBiteRndPKdd(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(52), ptr noundef, double noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN12CBiteOptDeep8optimizeER8CBiteRnd(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(52)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN8CTestOpt7optcostEPKd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #2 align 2

declare i32 @printf(ptr noundef, ...) #4

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

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

attributes #0 = { mustprogress norecurse 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 willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { "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 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !16, i64 64}
!12 = !{!"_ZTS8CTestOpt", !13, i64 0, !6, i64 60, !16, i64 64}
!13 = !{!"_ZTS12CBiteOptDeep", !14, i64 0, !6, i64 8, !6, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !6, i64 56}
!14 = !{!"_ZTS17CBiteOptInterface"}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!12, !6, i64 60}
!18 = !{!16, !16, i64 0}
!19 = distinct !{!19, !10}


; 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.CBiteRnd = type <{ ptr, ptr, i64, i64, i64, i64, i32, [4 x i8] }>
%class.CTestOpt = type { %class.CBiteOptDeep.base, i32, double }
%class.CBiteOptDeep.base = type <{ %class.CBiteOptInterface, i32, i32, ptr, ptr, ptr, ptr, ptr, i32 }>
%class.CBiteOptInterface = type { ptr }

@.str = external hidden unnamed_addr constant [26 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.CBiteRnd, align 8
  %2 = alloca %class.CTestOpt, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %1) #6
  call void @_ZN8CBiteRndC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %1)
  call void @_ZN8CBiteRnd4initEiPFjPvES0_(ptr noundef nonnull align 8 dereferenceable(52) %1, i32 noundef 1, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #6
  call void @_ZN8CTestOptC2Ev(ptr noundef nonnull align 8 dereferenceable(72) %2)
  invoke void @_ZN12CBiteOptDeep10updateDimsEiii(ptr noundef nonnull align 8 dereferenceable(60) %2, i32 noundef 4, i32 noundef 6, i32 noundef 0)
          to label %3 unwind label %7

3:                                                ; preds = %0
  invoke void @_ZN12CBiteOptDeep4initER8CBiteRndPKdd(ptr noundef nonnull align 8 dereferenceable(60) %2, ptr noundef nonnull align 8 dereferenceable(52) %1, ptr noundef null, double noundef 1.000000e+00)
          to label %.preheader unwind label %7

.preheader:                                       ; preds = %3, %9
  %.016 = phi i32 [ %10, %9 ], [ 0, %3 ]
  %4 = invoke noundef i32 @_ZN12CBiteOptDeep8optimizeER8CBiteRnd(ptr noundef nonnull align 8 dereferenceable(60) %2, ptr noundef nonnull align 8 dereferenceable(52) %1)
          to label %5 unwind label %.loopexit.split-lp.loopexit

5:                                                ; preds = %.preheader
  %6 = icmp sgt i32 %4, 512
  br i1 %6, label %11, label %9

7:                                                ; preds = %3, %0
  %8 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit:                                        ; preds = %34, %29, %25, %15
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit:                      ; preds = %.preheader
  %lpad.loopexit12 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

.loopexit.split-lp.loopexit.split-lp:             ; preds = %13, %11
  %lpad.loopexit.split-lp13 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.split-lp

9:                                                ; preds = %5
  %10 = add nuw nsw i32 %.016, 1
  %exitcond.not = icmp eq i32 %10, 2000000
  br i1 %exitcond.not, label %11, label %.preheader, !llvm.loop !5

11:                                               ; preds = %5, %9
  %.0.lcssa = phi i32 [ %.016, %5 ], [ 2000000, %9 ]
  %12 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %2)
          to label %13 unwind label %.loopexit.split-lp.loopexit.split-lp

13:                                               ; preds = %11
  %14 = invoke noundef double @_ZN8CTestOpt7optcostEPKd(ptr noundef nonnull align 8 dereferenceable(72) %2, ptr noundef %12)
          to label %15 unwind label %.loopexit.split-lp.loopexit.split-lp

15:                                               ; preds = %13
  %16 = add nuw nsw i32 %.0.lcssa, 1
  %17 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %16)
  %18 = getelementptr inbounds i8, ptr %2, i64 64
  %19 = load double, ptr %18, align 8, !tbaa !7
  %20 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %19)
  %21 = getelementptr inbounds i8, ptr %2, i64 60
  %22 = load i32, ptr %21, align 4, !tbaa !16
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %22)
  %24 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %2)
          to label %25 unwind label %.loopexit

25:                                               ; preds = %15
  %26 = load double, ptr %24, align 8, !tbaa !17
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 0, double noundef %26)
  %28 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %2)
          to label %29 unwind label %.loopexit

29:                                               ; preds = %25
  %30 = getelementptr inbounds i8, ptr %28, i64 8
  %31 = load double, ptr %30, align 8, !tbaa !17
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 1, double noundef %31)
  %33 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %2)
          to label %34 unwind label %.loopexit

34:                                               ; preds = %29
  %35 = getelementptr inbounds i8, ptr %33, i64 16
  %36 = load double, ptr %35, align 8, !tbaa !17
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 2, double noundef %36)
  %38 = invoke noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60) %2)
          to label %39 unwind label %.loopexit

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %38, i64 24
  %41 = load double, ptr %40, align 8, !tbaa !17
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 3, double noundef %41)
  call void @_ZN12CBiteOptDeepD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %2) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %1) #6
  ret i32 0

.loopexit.split-lp:                               ; preds = %.loopexit, %.loopexit.split-lp.loopexit.split-lp, %.loopexit.split-lp.loopexit, %7
  %.pn = phi { ptr, i32 } [ %8, %7 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit12, %.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp13, %.loopexit.split-lp.loopexit.split-lp ]
  call void @_ZN12CBiteOptDeepD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %2) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8CBiteRnd4initEiPFjPvES0_(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12CBiteOptDeep10updateDimsEiii(ptr noundef nonnull align 8 dereferenceable(60), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12CBiteOptDeep4initER8CBiteRndPKdd(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(52), ptr noundef, double noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN12CBiteOptDeep8optimizeER8CBiteRnd(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN8CTestOpt7optcostEPKd(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK12CBiteOptDeep13getBestParamsEv(ptr noundef nonnull align 8 dereferenceable(60)) unnamed_addr #2 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress norecurse 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 willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { nofree 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 #5 = { 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 #6 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !15, i64 64}
!8 = !{!"_ZTS8CTestOpt", !9, i64 0, !11, i64 60, !15, i64 64}
!9 = !{!"_ZTS12CBiteOptDeep", !10, i64 0, !11, i64 8, !11, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !11, i64 56}
!10 = !{!"_ZTS17CBiteOptInterface"}
!11 = !{!"int", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"any pointer", !12, i64 0}
!15 = !{!"double", !12, i64 0}
!16 = !{!8, !11, i64 60}
!17 = !{!15, !15, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass