; LLVM IR from AsyncAlgoTrading/aat :: aat/cpp/src/core/order_book (collector)

; 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.aat::core::Collector" = type { %"class.std::function", double, double, %"class.std::deque", %"class.std::shared_ptr", %"class.std::deque.183", %"class.std::deque.189" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::Event>, std::allocator<std::shared_ptr<aat::core::Event>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::Event>, std::allocator<std::shared_ptr<aat::core::Event>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::Event>, std::allocator<std::shared_ptr<aat::core::Event>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::Event>, std::allocator<std::shared_ptr<aat::core::Event>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::deque.183" = type { %"class.std::_Deque_base.184" }
%"class.std::_Deque_base.184" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.188", %"struct.std::_Deque_iterator.188" }
%"struct.std::_Deque_iterator.188" = type { ptr, ptr, ptr, ptr }
%"class.std::deque.189" = type { %"class.std::_Deque_base.190" }
%"class.std::_Deque_base.190" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::PriceLevel>, std::allocator<std::shared_ptr<aat::core::PriceLevel>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::PriceLevel>, std::allocator<std::shared_ptr<aat::core::PriceLevel>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::shared_ptr<aat::core::PriceLevel>, std::allocator<std::shared_ptr<aat::core::PriceLevel>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::shared_ptr<aat::core::PriceLevel>, std::allocator<std::shared_ptr<aat::core::PriceLevel>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.194", %"struct.std::_Deque_iterator.194" }
%"struct.std::_Deque_iterator.194" = type { ptr, ptr, ptr, ptr }
%"struct.aat::core::Order" = type <{ %"struct.aat::core::_EventTarget", %"class.std::__cxx11::basic_string", %"class.std::chrono::time_point", i32, [4 x i8], %"struct.aat::core::Instrument", %"struct.aat::core::ExchangeType", double, double, i32, i32, i32, [4 x i8], %"class.std::shared_ptr", double, double, i8, [7 x i8] }>
%"struct.aat::core::_EventTarget" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"struct.aat::core::Instrument" = type { ptr, %"class.std::__cxx11::basic_string", i32, %"class.std::vector.198" }
%"class.std::vector.198" = type { %"struct.std::_Vector_base.199" }
%"struct.std::_Vector_base.199" = type { %"struct.std::_Vector_base<aat::core::ExchangeType, std::allocator<aat::core::ExchangeType>>::_Vector_impl" }
%"struct.std::_Vector_base<aat::core::ExchangeType, std::allocator<aat::core::ExchangeType>>::_Vector_impl" = type { %"struct.std::_Vector_base<aat::core::ExchangeType, std::allocator<aat::core::ExchangeType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aat::core::ExchangeType, std::allocator<aat::core::ExchangeType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.aat::core::ExchangeType" = type { ptr, %"class.std::__cxx11::basic_string" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3aat4core9Collector11_accumulateESt10shared_ptrINS0_5OrderEEd(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef %1, double noundef %2) #0 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store double %2, ptr %6, align 8, !tbaa !9
  %7 = load ptr, ptr %4, align 8
  %8 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 2
  %9 = load double, ptr %8, align 8, !tbaa !11
  %10 = load double, ptr %6, align 8, !tbaa !9
  %11 = fadd double %9, %10
  %12 = fcmp ogt double %11, 0.000000e+00
  br i1 %12, label %13, label %29

13:                                               ; preds = %3
  %14 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 1
  %15 = load double, ptr %14, align 8, !tbaa !34
  %16 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 2
  %17 = load double, ptr %16, align 8, !tbaa !11
  %18 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #3
  %19 = getelementptr inbounds %"struct.aat::core::Order", ptr %18, i32 0, i32 8
  %20 = load double, ptr %19, align 8, !tbaa !35
  %21 = load double, ptr %6, align 8, !tbaa !9
  %22 = fmul double %20, %21
  %23 = call double @llvm.fmuladd.f64(double %15, double %17, double %22)
  %24 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 2
  %25 = load double, ptr %24, align 8, !tbaa !11
  %26 = load double, ptr %6, align 8, !tbaa !9
  %27 = fadd double %25, %26
  %28 = fdiv double %23, %27
  br label %30

29:                                               ; preds = %3
  br label %30

30:                                               ; preds = %29, %13
  %31 = phi double [ %28, %13 ], [ 0.000000e+00, %29 ]
  %32 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 1
  store double %31, ptr %32, align 8, !tbaa !34
  %33 = load double, ptr %6, align 8, !tbaa !9
  %34 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 2
  %35 = load double, ptr %34, align 8, !tbaa !11
  %36 = fadd double %35, %33
  store double %36, ptr %34, align 8, !tbaa !11
  %37 = getelementptr inbounds %"class.aat::core::Collector", ptr %7, i32 0, i32 5
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %37, ptr noundef nonnull align 8 dereferenceable(16) %1)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

attributes #0 = { 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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !10, i64 40}
!12 = !{!"_ZTSN3aat4core9CollectorE", !13, i64 0, !10, i64 32, !10, i64 40, !15, i64 48, !21, i64 128, !24, i64 144, !29, i64 224}
!13 = !{!"_ZTSSt8functionIFvSt10shared_ptrIN3aat4core5EventEEEE", !14, i64 0, !6, i64 24}
!14 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!15 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core5EventEESaIS4_EE", !16, i64 0}
!16 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE", !17, i64 0}
!17 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE11_Deque_implE", !18, i64 0}
!18 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE16_Deque_impl_dataE", !6, i64 0, !19, i64 8, !20, i64 16, !20, i64 48}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core5EventEERS4_PS4_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSSt10shared_ptrIN3aat4core5OrderEE", !22, i64 0}
!22 = !{!"_ZTSSt12__shared_ptrIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !23, i64 8}
!23 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!24 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE", !25, i64 0}
!25 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE", !26, i64 0}
!26 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE11_Deque_implE", !27, i64 0}
!27 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE16_Deque_impl_dataE", !6, i64 0, !19, i64 8, !28, i64 16, !28, i64 48}
!28 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS4_PS4_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!29 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE", !30, i64 0}
!30 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE", !31, i64 0}
!31 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE11_Deque_implE", !32, i64 0}
!32 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE16_Deque_impl_dataE", !6, i64 0, !19, i64 8, !33, i64 16, !33, i64 48}
!33 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core10PriceLevelEERS4_PS4_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!12, !10, i64 32}
!35 = !{!36, !10, i64 176}
!36 = !{!"_ZTSN3aat4core5OrderE", !37, i64 0, !38, i64 8, !40, i64 40, !42, i64 48, !43, i64 56, !49, i64 128, !10, i64 168, !10, i64 176, !50, i64 184, !51, i64 188, !52, i64 192, !21, i64 200, !10, i64 216, !10, i64 224, !53, i64 232}
!37 = !{!"_ZTSN3aat4core12_EventTargetE"}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !39, i64 0, !19, i64 8, !7, i64 16}
!39 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!40 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !41, i64 0}
!41 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !19, i64 0}
!42 = !{!"_ZTSN3aat6config8DataTypeE", !7, i64 0}
!43 = !{!"_ZTSN3aat4core10InstrumentE", !38, i64 8, !44, i64 40, !45, i64 48}
!44 = !{!"_ZTSN3aat6config14InstrumentTypeE", !7, i64 0}
!45 = !{!"_ZTSSt6vectorIN3aat4core12ExchangeTypeESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSN3aat4core12ExchangeTypeE", !38, i64 8}
!50 = !{!"_ZTSN3aat6config4SideE", !7, i64 0}
!51 = !{!"_ZTSN3aat6config9OrderTypeE", !7, i64 0}
!52 = !{!"_ZTSN3aat6config9OrderFlagE", !7, i64 0}
!53 = !{!"bool", !7, i64 0}


; 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: mustprogress uwtable
define dso_local void @_ZN3aat4core9Collector11_accumulateESt10shared_ptrINS0_5OrderEEd(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef %1, double noundef %2) local_unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 40
  %5 = load double, ptr %4, align 8, !tbaa !5
  %6 = fadd double %5, %2
  %7 = fcmp ogt double %6, 0.000000e+00
  br i1 %7, label %8, label %19

8:                                                ; preds = %3
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = load double, ptr %9, align 8, !tbaa !32
  %11 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #3
  %12 = getelementptr inbounds i8, ptr %11, i64 176
  %13 = load double, ptr %12, align 8, !tbaa !33
  %14 = fmul double %13, %2
  %15 = tail call double @llvm.fmuladd.f64(double %10, double %5, double %14)
  %16 = load double, ptr %4, align 8, !tbaa !5
  %17 = fadd double %16, %2
  %18 = fdiv double %15, %17
  br label %19

19:                                               ; preds = %3, %8
  %.pre-phi = phi double [ %6, %3 ], [ %17, %8 ]
  %20 = phi double [ 0.000000e+00, %3 ], [ %18, %8 ]
  %21 = getelementptr inbounds i8, ptr %0, i64 32
  store double %20, ptr %21, align 8, !tbaa !32
  store double %.pre-phi, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %0, i64 144
  tail call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(80) %22, ptr noundef nonnull align 8 dereferenceable(16) %1)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE9push_backERKS4_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

attributes #0 = { 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 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !12, i64 40}
!6 = !{!"_ZTSN3aat4core9CollectorE", !7, i64 0, !12, i64 32, !12, i64 40, !13, i64 48, !19, i64 128, !22, i64 144, !27, i64 224}
!7 = !{!"_ZTSSt8functionIFvSt10shared_ptrIN3aat4core5EventEEEE", !8, i64 0, !11, i64 24}
!8 = !{!"_ZTSSt14_Function_base", !9, i64 0, !11, i64 16}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"double", !9, i64 0}
!13 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core5EventEESaIS4_EE", !14, i64 0}
!14 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE", !15, i64 0}
!15 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE11_Deque_implE", !16, i64 0}
!16 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5EventEESaIS4_EE16_Deque_impl_dataE", !11, i64 0, !17, i64 8, !18, i64 16, !18, i64 48}
!17 = !{!"long", !9, i64 0}
!18 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core5EventEERS4_PS4_E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!19 = !{!"_ZTSSt10shared_ptrIN3aat4core5OrderEE", !20, i64 0}
!20 = !{!"_ZTSSt12__shared_ptrIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0, !21, i64 8}
!21 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !11, i64 0}
!22 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE11_Deque_implE", !25, i64 0}
!25 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core5OrderEESaIS4_EE16_Deque_impl_dataE", !11, i64 0, !17, i64 8, !26, i64 16, !26, i64 48}
!26 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS4_PS4_E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!27 = !{!"_ZTSSt5dequeISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE", !28, i64 0}
!28 = !{!"_ZTSSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE", !29, i64 0}
!29 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE11_Deque_implE", !30, i64 0}
!30 = !{!"_ZTSNSt11_Deque_baseISt10shared_ptrIN3aat4core10PriceLevelEESaIS4_EE16_Deque_impl_dataE", !11, i64 0, !17, i64 8, !31, i64 16, !31, i64 48}
!31 = !{!"_ZTSSt15_Deque_iteratorISt10shared_ptrIN3aat4core10PriceLevelEERS4_PS4_E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!32 = !{!6, !12, i64 32}
!33 = !{!34, !12, i64 176}
!34 = !{!"_ZTSN3aat4core5OrderE", !35, i64 0, !36, i64 8, !38, i64 40, !40, i64 48, !41, i64 56, !47, i64 128, !12, i64 168, !12, i64 176, !48, i64 184, !49, i64 188, !50, i64 192, !19, i64 200, !12, i64 216, !12, i64 224, !51, i64 232}
!35 = !{!"_ZTSN3aat4core12_EventTargetE"}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !37, i64 0, !17, i64 8, !9, i64 16}
!37 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!38 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !39, i64 0}
!39 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !17, i64 0}
!40 = !{!"_ZTSN3aat6config8DataTypeE", !9, i64 0}
!41 = !{!"_ZTSN3aat4core10InstrumentE", !36, i64 8, !42, i64 40, !43, i64 48}
!42 = !{!"_ZTSN3aat6config14InstrumentTypeE", !9, i64 0}
!43 = !{!"_ZTSSt6vectorIN3aat4core12ExchangeTypeESaIS2_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!47 = !{!"_ZTSN3aat4core12ExchangeTypeE", !36, i64 8}
!48 = !{!"_ZTSN3aat6config4SideE", !9, i64 0}
!49 = !{!"_ZTSN3aat6config9OrderTypeE", !9, i64 0}
!50 = !{!"_ZTSN3aat6config9OrderFlagE", !9, i64 0}
!51 = !{!"bool", !9, i64 0}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass