; LLVM IR from Ubpa/USTC_CG :: Homeworks/0_CppPratices/documents/1_BasicDArray/C2Cpp/src/Array (test)

; 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.Array = type <{ [15 x double], i32, [4 x i8] }>

; 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.Array, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %class.Array, align 8
  %6 = alloca %class.Array, align 8
  %7 = alloca %class.Array, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 128, ptr %2) #4
  call void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2)
  %9 = invoke noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124) %2, i32 noundef 0, double noundef 2.100000e+00)
          to label %10 unwind label %49

10:                                               ; preds = %0
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %11 unwind label %49

11:                                               ; preds = %10
  %12 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %2, double noundef 3.000000e+00)
          to label %13 unwind label %49

13:                                               ; preds = %11
  %14 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %2, double noundef 3.100000e+00)
          to label %15 unwind label %49

15:                                               ; preds = %13
  %16 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %2, double noundef 3.200000e+00)
          to label %17 unwind label %49

17:                                               ; preds = %15
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %18 unwind label %49

18:                                               ; preds = %17
  %19 = invoke noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124) %2, i32 noundef 0)
          to label %20 unwind label %49

20:                                               ; preds = %18
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %21 unwind label %49

21:                                               ; preds = %20
  %22 = invoke noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124) %2, i32 noundef 0, double noundef 4.100000e+00)
          to label %23 unwind label %49

23:                                               ; preds = %21
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %24 unwind label %49

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 128, ptr %5) #4
  invoke void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %5)
          to label %25 unwind label %53

25:                                               ; preds = %24
  %26 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %5, double noundef 2.100000e+01)
          to label %27 unwind label %57

27:                                               ; preds = %25
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %5)
          to label %28 unwind label %57

28:                                               ; preds = %27
  %29 = invoke noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124) %5, i32 noundef 0)
          to label %30 unwind label %57

30:                                               ; preds = %28
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %5)
          to label %31 unwind label %57

31:                                               ; preds = %30
  %32 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %5, double noundef 2.200000e+01)
          to label %33 unwind label %57

33:                                               ; preds = %31
  %34 = invoke noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124) %5, i32 noundef 5)
          to label %35 unwind label %57

35:                                               ; preds = %33
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %5)
          to label %36 unwind label %57

36:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #4
  invoke void @_ZN5ArrayC1Eid(ptr noundef nonnull align 8 dereferenceable(124) %6, i32 noundef 5, double noundef 3.400000e+00)
          to label %37 unwind label %61

37:                                               ; preds = %36
  %38 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %6, double noundef 5.500000e+00)
          to label %39 unwind label %65

39:                                               ; preds = %37
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %6)
          to label %40 unwind label %65

40:                                               ; preds = %39
  %41 = invoke noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124) %6, i32 noundef 10)
          to label %42 unwind label %65

42:                                               ; preds = %40
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %6)
          to label %43 unwind label %65

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 128, ptr %7) #4
  invoke void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %7)
          to label %44 unwind label %69

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

45:                                               ; preds = %79, %44
  %46 = load i32, ptr %8, align 4, !tbaa !5
  %47 = icmp slt i32 %46, 17
  br i1 %47, label %73, label %48

48:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %86

49:                                               ; preds = %23, %21, %20, %18, %17, %15, %13, %11, %10, %0
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %3, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %4, align 4
  br label %93

53:                                               ; preds = %24
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %3, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %4, align 4
  br label %92

57:                                               ; preds = %35, %33, %31, %30, %28, %27, %25
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %3, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %4, align 4
  br label %91

61:                                               ; preds = %36
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %3, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %4, align 4
  br label %90

65:                                               ; preds = %42, %40, %39, %37
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %3, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %4, align 4
  br label %89

69:                                               ; preds = %43
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %3, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %4, align 4
  br label %88

73:                                               ; preds = %45
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = sitofp i32 %74 to double
  %76 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %7, double noundef %75)
          to label %77 unwind label %82

77:                                               ; preds = %73
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %7)
          to label %78 unwind label %82

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %8, align 4, !tbaa !5
  br label %45, !llvm.loop !9

82:                                               ; preds = %77, %73
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %3, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %7) #4
  br label %88

86:                                               ; preds = %48
  store i32 0, ptr %1, align 4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %7) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %6) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %5) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %2) #4
  %87 = load i32, ptr %1, align 4
  ret i32 %87

88:                                               ; preds = %82, %69
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #4
  br label %89

89:                                               ; preds = %88, %65
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %6) #4
  br label %90

90:                                               ; preds = %89, %61
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #4
  br label %91

91:                                               ; preds = %90, %57
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %5) #4
  br label %92

92:                                               ; preds = %91, %53
  call void @llvm.lifetime.end.p0(i64 128, ptr %5) #4
  br label %93

93:                                               ; preds = %92, %49
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %2) #4
  br label %94

94:                                               ; preds = %93
  %95 = load ptr, ptr %3, align 8
  %96 = load i32, ptr %4, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

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

declare void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124)) unnamed_addr #2

declare noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef, double noundef) #2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124)) #2

declare noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124), double noundef) #2

declare noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) #2

declare noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) #2

declare void @_ZN5ArrayC1Eid(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef, double noundef) unnamed_addr #2

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

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

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 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"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"

%class.Array = type <{ [15 x double], i32, [4 x i8] }>

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %class.Array, align 8
  %2 = alloca %class.Array, align 8
  %3 = alloca %class.Array, align 8
  %4 = alloca %class.Array, align 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #4
  call void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %1)
  %5 = invoke noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124) %1, i32 noundef 0, double noundef 2.100000e+00)
          to label %6 unwind label %41

6:                                                ; preds = %0
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %1)
          to label %7 unwind label %41

7:                                                ; preds = %6
  %8 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %1, double noundef 3.000000e+00)
          to label %9 unwind label %41

9:                                                ; preds = %7
  %10 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %1, double noundef 3.100000e+00)
          to label %11 unwind label %41

11:                                               ; preds = %9
  %12 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %1, double noundef 3.200000e+00)
          to label %13 unwind label %41

13:                                               ; preds = %11
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %1)
          to label %14 unwind label %41

14:                                               ; preds = %13
  %15 = invoke noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124) %1, i32 noundef 0)
          to label %16 unwind label %41

16:                                               ; preds = %14
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %1)
          to label %17 unwind label %41

17:                                               ; preds = %16
  %18 = invoke noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124) %1, i32 noundef 0, double noundef 4.100000e+00)
          to label %19 unwind label %41

19:                                               ; preds = %17
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %1)
          to label %20 unwind label %41

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %2) #4
  invoke void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %21 unwind label %43

21:                                               ; preds = %20
  %22 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %2, double noundef 2.100000e+01)
          to label %23 unwind label %45

23:                                               ; preds = %21
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %24 unwind label %45

24:                                               ; preds = %23
  %25 = invoke noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124) %2, i32 noundef 0)
          to label %26 unwind label %45

26:                                               ; preds = %24
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %27 unwind label %45

27:                                               ; preds = %26
  %28 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %2, double noundef 2.200000e+01)
          to label %29 unwind label %45

29:                                               ; preds = %27
  %30 = invoke noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124) %2, i32 noundef 5)
          to label %31 unwind label %45

31:                                               ; preds = %29
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %2)
          to label %32 unwind label %45

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #4
  invoke void @_ZN5ArrayC1Eid(ptr noundef nonnull align 8 dereferenceable(124) %3, i32 noundef 5, double noundef 3.400000e+00)
          to label %33 unwind label %47

33:                                               ; preds = %32
  %34 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %3, double noundef 5.500000e+00)
          to label %35 unwind label %49

35:                                               ; preds = %33
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %3)
          to label %36 unwind label %49

36:                                               ; preds = %35
  %37 = invoke noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124) %3, i32 noundef 10)
          to label %38 unwind label %49

38:                                               ; preds = %36
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %3)
          to label %39 unwind label %49

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #4
  invoke void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.preheader unwind label %51

.preheader.preheader:                             ; preds = %39
  %40 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 0.000000e+00)
          to label %53 unwind label %87

41:                                               ; preds = %19, %17, %16, %14, %13, %11, %9, %7, %6, %0
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %94

43:                                               ; preds = %20
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %93

45:                                               ; preds = %31, %29, %27, %26, %24, %23, %21
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %92

47:                                               ; preds = %32
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %91

49:                                               ; preds = %38, %36, %35, %33
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %90

51:                                               ; preds = %39
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %89

53:                                               ; preds = %.preheader.preheader
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.1 unwind label %87

.preheader.1:                                     ; preds = %53
  %54 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.000000e+00)
          to label %55 unwind label %87

55:                                               ; preds = %.preheader.1
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.2 unwind label %87

.preheader.2:                                     ; preds = %55
  %56 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 2.000000e+00)
          to label %57 unwind label %87

57:                                               ; preds = %.preheader.2
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.3 unwind label %87

.preheader.3:                                     ; preds = %57
  %58 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 3.000000e+00)
          to label %59 unwind label %87

59:                                               ; preds = %.preheader.3
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.4 unwind label %87

.preheader.4:                                     ; preds = %59
  %60 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 4.000000e+00)
          to label %61 unwind label %87

61:                                               ; preds = %.preheader.4
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.5 unwind label %87

.preheader.5:                                     ; preds = %61
  %62 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 5.000000e+00)
          to label %63 unwind label %87

63:                                               ; preds = %.preheader.5
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.6 unwind label %87

.preheader.6:                                     ; preds = %63
  %64 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 6.000000e+00)
          to label %65 unwind label %87

65:                                               ; preds = %.preheader.6
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.7 unwind label %87

.preheader.7:                                     ; preds = %65
  %66 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 7.000000e+00)
          to label %67 unwind label %87

67:                                               ; preds = %.preheader.7
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.8 unwind label %87

.preheader.8:                                     ; preds = %67
  %68 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 8.000000e+00)
          to label %69 unwind label %87

69:                                               ; preds = %.preheader.8
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.9 unwind label %87

.preheader.9:                                     ; preds = %69
  %70 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 9.000000e+00)
          to label %71 unwind label %87

71:                                               ; preds = %.preheader.9
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.10 unwind label %87

.preheader.10:                                    ; preds = %71
  %72 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.000000e+01)
          to label %73 unwind label %87

73:                                               ; preds = %.preheader.10
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.11 unwind label %87

.preheader.11:                                    ; preds = %73
  %74 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.100000e+01)
          to label %75 unwind label %87

75:                                               ; preds = %.preheader.11
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.12 unwind label %87

.preheader.12:                                    ; preds = %75
  %76 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.200000e+01)
          to label %77 unwind label %87

77:                                               ; preds = %.preheader.12
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.13 unwind label %87

.preheader.13:                                    ; preds = %77
  %78 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.300000e+01)
          to label %79 unwind label %87

79:                                               ; preds = %.preheader.13
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.14 unwind label %87

.preheader.14:                                    ; preds = %79
  %80 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.400000e+01)
          to label %81 unwind label %87

81:                                               ; preds = %.preheader.14
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.15 unwind label %87

.preheader.15:                                    ; preds = %81
  %82 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.500000e+01)
          to label %83 unwind label %87

83:                                               ; preds = %.preheader.15
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %.preheader.16 unwind label %87

.preheader.16:                                    ; preds = %83
  %84 = invoke noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124) %4, double noundef 1.600000e+01)
          to label %85 unwind label %87

85:                                               ; preds = %.preheader.16
  invoke void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124) %4)
          to label %86 unwind label %87

86:                                               ; preds = %85
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %4) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %3) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #4
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %1) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #4
  ret i32 0

87:                                               ; preds = %85, %.preheader.16, %83, %.preheader.15, %81, %.preheader.14, %79, %.preheader.13, %77, %.preheader.12, %75, %.preheader.11, %73, %.preheader.10, %71, %.preheader.9, %69, %.preheader.8, %67, %.preheader.7, %65, %.preheader.6, %63, %.preheader.5, %61, %.preheader.4, %59, %.preheader.3, %57, %.preheader.2, %55, %.preheader.1, %53, %.preheader.preheader
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %4) #4
  br label %89

89:                                               ; preds = %87, %51
  %.pn = phi { ptr, i32 } [ %88, %87 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #4
  br label %90

90:                                               ; preds = %89, %49
  %.pn.pn = phi { ptr, i32 } [ %.pn, %89 ], [ %50, %49 ]
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %3) #4
  br label %91

91:                                               ; preds = %90, %47
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %90 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #4
  br label %92

92:                                               ; preds = %91, %45
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %91 ], [ %46, %45 ]
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %2) #4
  br label %93

93:                                               ; preds = %92, %43
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %92 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #4
  br label %94

94:                                               ; preds = %93, %41
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %93 ], [ %42, %41 ]
  call void @_ZN5ArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(124) %1) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #4
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn
}

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

declare void @_ZN5ArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(124)) unnamed_addr #2

declare noundef i32 @_ZN5Array8InsertAtEid(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef, double noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare void @_ZN5Array7DisplayEv(ptr noundef nonnull align 8 dereferenceable(124)) local_unnamed_addr #2

declare noundef i32 @_ZN5Array8PushBackEd(ptr noundef nonnull align 8 dereferenceable(124), double noundef) local_unnamed_addr #2

declare noundef i32 @_ZN5Array8DeleteAtEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) local_unnamed_addr #2

declare noundef i32 @_ZN5Array7SetSizeEi(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef) local_unnamed_addr #2

declare void @_ZN5ArrayC1Eid(ptr noundef nonnull align 8 dereferenceable(124), i32 noundef, double noundef) unnamed_addr #2

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

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

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 = { "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)"}


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