; LLVM IR from ethz-adrl/towr :: towr/src/quadruped_gait_generator.ll (ZNK4towr22QuadrupedGaitGenerator15GetStrideGallopEv)

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

%"struct.std::pair" = type { %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.17" = type { ptr, i64 }
%"class.std::initializer_list.18" = type { ptr, i64 }
%"class.std::vector.5" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"struct.std::pair.19" = type { %"class.std::initializer_list.17", %"class.std::initializer_list.18" }
%"class.towr::QuadrupedGaitGenerator" = type { %"class.towr::GaitGenerator", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5" }
%"class.towr::GaitGenerator" = type { ptr, %"class.std::vector", %"class.std::vector.0" }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4towr22QuadrupedGaitGenerator15GetStrideGallopEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 8 dereferenceable(696) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.std::initializer_list.17", align 8
  %9 = alloca [8 x double], align 8
  %10 = alloca %"class.std::initializer_list.18", align 8
  %11 = alloca [8 x %"class.std::vector.5"], align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair.19", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store double 3.000000e-01, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store double 2.000000e-01, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store double 2.000000e-01, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #3
  %17 = load double, ptr %6, align 8, !tbaa !9
  store double %17, ptr %9, align 8, !tbaa !9
  %18 = getelementptr inbounds double, ptr %9, i64 1
  %19 = load double, ptr %5, align 8, !tbaa !9
  store double %19, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds double, ptr %9, i64 2
  %21 = load double, ptr %6, align 8, !tbaa !9
  store double %21, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds double, ptr %9, i64 3
  %23 = load double, ptr %7, align 8, !tbaa !9
  store double %23, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds double, ptr %9, i64 4
  %25 = load double, ptr %6, align 8, !tbaa !9
  store double %25, ptr %24, align 8, !tbaa !9
  %26 = getelementptr inbounds double, ptr %9, i64 5
  %27 = load double, ptr %5, align 8, !tbaa !9
  store double %27, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds double, ptr %9, i64 6
  %29 = load double, ptr %6, align 8, !tbaa !9
  store double %29, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds double, ptr %9, i64 7
  %31 = load double, ptr %7, align 8, !tbaa !9
  store double %31, ptr %30, align 8, !tbaa !9
  %32 = getelementptr inbounds %"class.std::initializer_list.17", ptr %8, i32 0, i32 0
  store ptr %9, ptr %32, align 8, !tbaa !11
  %33 = getelementptr inbounds %"class.std::initializer_list.17", ptr %8, i32 0, i32 1
  store i64 8, ptr %33, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 320, ptr %11) #3
  store ptr %11, ptr %12, align 8
  %34 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 12
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(40) %34)
          to label %35 unwind label %63

35:                                               ; preds = %2
  %36 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 1
  store ptr %36, ptr %12, align 8
  %37 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 8
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %36, ptr noundef nonnull align 8 dereferenceable(40) %37)
          to label %38 unwind label %63

38:                                               ; preds = %35
  %39 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 2
  store ptr %39, ptr %12, align 8
  %40 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 13
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %39, ptr noundef nonnull align 8 dereferenceable(40) %40)
          to label %41 unwind label %63

41:                                               ; preds = %38
  %42 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 3
  store ptr %42, ptr %12, align 8
  %43 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 7
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %42, ptr noundef nonnull align 8 dereferenceable(40) %43)
          to label %44 unwind label %63

44:                                               ; preds = %41
  %45 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 4
  store ptr %45, ptr %12, align 8
  %46 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 14
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull align 8 dereferenceable(40) %46)
          to label %47 unwind label %63

47:                                               ; preds = %44
  %48 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 5
  store ptr %48, ptr %12, align 8
  %49 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 9
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %48, ptr noundef nonnull align 8 dereferenceable(40) %49)
          to label %50 unwind label %63

50:                                               ; preds = %47
  %51 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 6
  store ptr %51, ptr %12, align 8
  %52 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 15
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %51, ptr noundef nonnull align 8 dereferenceable(40) %52)
          to label %53 unwind label %63

53:                                               ; preds = %50
  %54 = getelementptr inbounds %"class.std::vector.5", ptr %11, i64 7
  store ptr %54, ptr %12, align 8
  %55 = getelementptr inbounds %"class.towr::QuadrupedGaitGenerator", ptr %16, i32 0, i32 6
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %54, ptr noundef nonnull align 8 dereferenceable(40) %55)
          to label %56 unwind label %63

56:                                               ; preds = %53
  %57 = getelementptr inbounds %"class.std::initializer_list.18", ptr %10, i32 0, i32 0
  store ptr %11, ptr %57, align 8, !tbaa !15
  %58 = getelementptr inbounds %"class.std::initializer_list.18", ptr %10, i32 0, i32 1
  store i64 8, ptr %58, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #3
  invoke void @_ZSt9make_pairIRSt16initializer_listIdERS0_ISt6vectorIbSaIbEEEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind writable sret(%"struct.std::pair.19") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %59 unwind label %74

59:                                               ; preds = %56
  invoke void @_ZNSt4pairISt6vectorIdSaIdEES0_IS0_IbSaIbEESaIS4_EEEC2ISt16initializer_listIdES9_IS4_ETnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairISD_SE_EEclsr6_PCCFPISD_SE_EE30_ImplicitlyMoveConvertiblePairISD_SE_EEEbE4typeELb1EEEOS_ISD_SE_E(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %60 unwind label %74

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #3
  %61 = getelementptr inbounds [8 x %"class.std::vector.5"], ptr %11, i32 0, i32 0
  %62 = getelementptr inbounds %"class.std::vector.5", ptr %61, i64 8
  br label %80

63:                                               ; preds = %53, %50, %47, %44, %41, %38, %35, %2
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %13, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %14, align 4
  %67 = load ptr, ptr %12, align 8
  %68 = icmp eq ptr %11, %67
  br i1 %68, label %73, label %69

69:                                               ; preds = %69, %63
  %70 = phi ptr [ %67, %63 ], [ %71, %69 ]
  %71 = getelementptr inbounds %"class.std::vector.5", ptr %70, i64 -1
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %71) #3
  %72 = icmp eq ptr %71, %11
  br i1 %72, label %73, label %69

73:                                               ; preds = %69, %63
  br label %90

74:                                               ; preds = %59, %56
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %13, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #3
  %78 = getelementptr inbounds [8 x %"class.std::vector.5"], ptr %11, i32 0, i32 0
  %79 = getelementptr inbounds %"class.std::vector.5", ptr %78, i64 8
  br label %85

80:                                               ; preds = %80, %60
  %81 = phi ptr [ %62, %60 ], [ %82, %80 ]
  %82 = getelementptr inbounds %"class.std::vector.5", ptr %81, i64 -1
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %82) #3
  %83 = icmp eq ptr %82, %61
  br i1 %83, label %84, label %80

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 320, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void

85:                                               ; preds = %85, %74
  %86 = phi ptr [ %79, %74 ], [ %87, %85 ]
  %87 = getelementptr inbounds %"class.std::vector.5", ptr %86, i64 -1
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %87) #3
  %88 = icmp eq ptr %87, %78
  br i1 %88, label %89, label %85

89:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 320, ptr %11) #3
  br label %90

90:                                               ; preds = %89, %73
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %91

91:                                               ; preds = %90
  %92 = load ptr, ptr %13, align 8
  %93 = load i32, ptr %14, align 4
  %94 = insertvalue { ptr, i32 } poison, ptr %92, 0
  %95 = insertvalue { ptr, i32 } %94, i32 %93, 1
  resume { ptr, i32 } %95
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRSt16initializer_listIdERS0_ISt6vectorIbSaIbEEEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.19") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairISt6vectorIdSaIdEES0_IS0_IbSaIbEESaIS4_EEEC2ISt16initializer_listIdES9_IS4_ETnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairISD_SE_EEclsr6_PCCFPISD_SE_EE30_ImplicitlyMoveConvertiblePairISD_SE_EEEbE4typeELb1EEEOS_ISD_SE_E(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIdE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSSt16initializer_listISt6vectorIbSaIbEEE", !6, i64 0, !13, i64 8}
!17 = !{!16, !13, i64 8}


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

%"struct.std::pair" = type { %"class.std::vector", %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<bool>, std::allocator<std::vector<bool>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.17" = type { ptr, i64 }
%"class.std::initializer_list.18" = type { ptr, i64 }
%"class.std::vector.5" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"struct.std::pair.19" = type { %"class.std::initializer_list.17", %"class.std::initializer_list.18" }

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4towr22QuadrupedGaitGenerator15GetStrideGallopEv(ptr dead_on_unwind noalias writable sret(%"struct.std::pair") align 8 %0, ptr noundef nonnull align 8 dereferenceable(696) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::initializer_list.17", align 8
  %4 = alloca [8 x double], align 16
  %5 = alloca %"class.std::initializer_list.18", align 8
  %6 = alloca [8 x %"class.std::vector.5"], align 8
  %7 = alloca %"struct.std::pair.19", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #3
  store <2 x double> <double 2.000000e-01, double 3.000000e-01>, ptr %4, align 16, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %4, i64 16
  store <2 x double> <double 2.000000e-01, double 2.000000e-01>, ptr %8, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %4, i64 32
  store <2 x double> <double 2.000000e-01, double 3.000000e-01>, ptr %9, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %4, i64 48
  store <2 x double> <double 2.000000e-01, double 2.000000e-01>, ptr %10, align 16, !tbaa !5
  store ptr %4, ptr %3, align 8, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 8, ptr %11, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %6) #3
  %12 = getelementptr inbounds i8, ptr %1, i64 496
  call void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %12)
  %13 = getelementptr inbounds i8, ptr %6, i64 40
  %14 = getelementptr inbounds i8, ptr %1, i64 336
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %15 unwind label %44

15:                                               ; preds = %2
  %16 = getelementptr inbounds i8, ptr %6, i64 80
  %17 = getelementptr inbounds i8, ptr %1, i64 536
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %16, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %18 unwind label %44

18:                                               ; preds = %15
  %19 = getelementptr inbounds i8, ptr %6, i64 120
  %20 = getelementptr inbounds i8, ptr %1, i64 296
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %21 unwind label %44

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %6, i64 160
  %23 = getelementptr inbounds i8, ptr %1, i64 576
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %24 unwind label %44

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %6, i64 200
  %26 = getelementptr inbounds i8, ptr %1, i64 376
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %27 unwind label %44

27:                                               ; preds = %24
  %28 = getelementptr inbounds i8, ptr %6, i64 240
  %29 = getelementptr inbounds i8, ptr %1, i64 616
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %28, ptr noundef nonnull align 8 dereferenceable(40) %29)
          to label %30 unwind label %44

30:                                               ; preds = %27
  %31 = getelementptr inbounds i8, ptr %6, i64 280
  %32 = getelementptr inbounds i8, ptr %1, i64 256
  invoke void @_ZNSt6vectorIbSaIbEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef nonnull align 8 dereferenceable(40) %32)
          to label %33 unwind label %44

33:                                               ; preds = %30
  store ptr %6, ptr %5, align 8, !tbaa !14
  %34 = getelementptr inbounds i8, ptr %5, i64 8
  store i64 8, ptr %34, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #3
  invoke void @_ZSt9make_pairIRSt16initializer_listIdERS0_ISt6vectorIbSaIbEEEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.19") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %35 unwind label %50

35:                                               ; preds = %33
  invoke void @_ZNSt4pairISt6vectorIdSaIdEES0_IS0_IbSaIbEESaIS4_EEEC2ISt16initializer_listIdES9_IS4_ETnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairISD_SE_EEclsr6_PCCFPISD_SE_EE30_ImplicitlyMoveConvertiblePairISD_SE_EEEbE4typeELb1EEEOS_ISD_SE_E(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %36 unwind label %50

36:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
  %37 = getelementptr inbounds i8, ptr %6, i64 280
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %37) #3
  %38 = getelementptr inbounds i8, ptr %6, i64 240
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %38) #3
  %39 = getelementptr inbounds i8, ptr %6, i64 200
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %39) #3
  %40 = getelementptr inbounds i8, ptr %6, i64 160
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %40) #3
  %41 = getelementptr inbounds i8, ptr %6, i64 120
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %41) #3
  %42 = getelementptr inbounds i8, ptr %6, i64 80
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %42) #3
  %43 = getelementptr inbounds i8, ptr %6, i64 40
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %43) #3
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  ret void

44:                                               ; preds = %30, %27, %24, %21, %18, %15, %2
  %.012 = phi ptr [ %31, %30 ], [ %28, %27 ], [ %25, %24 ], [ %22, %21 ], [ %19, %18 ], [ %16, %15 ], [ %13, %2 ]
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %46

46:                                               ; preds = %44, %46
  %47 = phi ptr [ %.012, %44 ], [ %48, %46 ]
  %48 = getelementptr inbounds i8, ptr %47, i64 -40
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %48) #3
  %49 = icmp eq ptr %48, %6
  br i1 %49, label %.loopexit, label %46

50:                                               ; preds = %35, %33
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #3
  %52 = getelementptr inbounds i8, ptr %6, i64 280
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %52) #3
  %53 = getelementptr inbounds i8, ptr %6, i64 240
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %53) #3
  %54 = getelementptr inbounds i8, ptr %6, i64 200
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %54) #3
  %55 = getelementptr inbounds i8, ptr %6, i64 160
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %55) #3
  %56 = getelementptr inbounds i8, ptr %6, i64 120
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %56) #3
  %57 = getelementptr inbounds i8, ptr %6, i64 80
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %57) #3
  %58 = getelementptr inbounds i8, ptr %6, i64 40
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %58) #3
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #3
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %6) #3
  br label %.loopexit

.loopexit:                                        ; preds = %46, %50
  %.pn = phi { ptr, i32 } [ %51, %50 ], [ %45, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRSt16initializer_listIdERS0_ISt6vectorIbSaIbEEEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS9_INSA_IT0_E4typeEE6__typeEEOSB_OSG_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.19") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt4pairISt6vectorIdSaIdEES0_IS0_IbSaIbEESaIS4_EEEC2ISt16initializer_listIdES9_IS4_ETnNSt9enable_ifIXaaclsr6_PCCFPIT_T0_EE22_MoveConstructiblePairISD_SE_EEclsr6_PCCFPISD_SE_EE30_ImplicitlyMoveConvertiblePairISD_SE_EEEbE4typeELb1EEEOS_ISD_SE_E(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIdE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSSt16initializer_listISt6vectorIbSaIbEEE", !11, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass