; LLVM IR from AsyncAlgoTrading/aat :: aat/cpp/src/core/order_book/price_level.ll (ZN3aat4core10PriceLevel6revertEv)

; 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::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.std::_Deque_iterator.203" = type { ptr, ptr, ptr, ptr }
%"class.std::move_iterator" = type { %"struct.std::_Deque_iterator" }
%"class.__gnu_cxx::__normal_iterator.209" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::move_iterator.210" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.aat::core::PriceLevel" = type { double, ptr, %"class.std::deque", %"class.std::deque", %"class.std::deque.183", %"class.std::vector.189", %"class.std::vector.189" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = 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", %"struct.std::_Deque_iterator" }
%"class.std::deque.183" = type { %"class.std::_Deque_base.184" }
%"class.std::_Deque_base.184" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl" = type { %"struct.std::_Deque_base<double, std::allocator<double>>::_Deque_impl_data" }
%"struct.std::_Deque_base<double, std::allocator<double>>::_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::vector.189" = type { %"struct.std::_Vector_base.190" }
%"struct.std::_Vector_base.190" = type { %"struct.std::_Vector_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<aat::core::Order>, std::allocator<std::shared_ptr<aat::core::Order>>>::_Vector_impl_data" = type { 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.204" }
%"class.std::vector.204" = type { %"struct.std::_Vector_base.205" }
%"struct.std::_Vector_base.205" = 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" }
%"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 }

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

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

; Function Attrs: 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind noalias writable sret(%"struct.std::_Deque_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr dead_on_unwind noalias writable sret(%"struct.std::_Deque_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3aat4core10PriceLevel6revertEv(ptr noundef nonnull align 8 dereferenceable(304) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.std::_Deque_iterator.203", align 8
  %4 = alloca %"struct.std::_Deque_iterator", align 8
  %5 = alloca %"class.std::move_iterator", align 8
  %6 = alloca %"struct.std::_Deque_iterator", align 8
  %7 = alloca %"class.std::move_iterator", align 8
  %8 = alloca %"struct.std::_Deque_iterator", align 8
  %9 = alloca %"struct.std::_Deque_iterator", align 8
  %10 = alloca i64, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.std::move_iterator.210", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.std::move_iterator.210", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8
  %19 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 2
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %19) #4
  %20 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 32, ptr %4) #4
  %21 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 2
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind writable sret(%"struct.std::_Deque_iterator") align 8 %4, ptr noundef nonnull align 8 dereferenceable(80) %21) #4
  call void @_ZNSt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERKS4_PS5_EC2IS_IS4_RS4_PS4_EvEERKT_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  %22 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 3
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind writable sret(%"struct.std::_Deque_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(80) %22) #4
  call void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind writable sret(%"class.std::move_iterator") align 8 %5, ptr noundef %6)
  %23 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 3
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr dead_on_unwind writable sret(%"struct.std::_Deque_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(80) %23) #4
  call void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind writable sret(%"class.std::move_iterator") align 8 %7, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #4
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorISt15_Deque_iteratorIS4_RS4_PS4_EEvEESC_S9_IS4_RKS4_PSE_ET_SI_(ptr dead_on_unwind writable sret(%"struct.std::_Deque_iterator") align 8 %9, ptr noundef nonnull align 8 dereferenceable(80) %20, ptr noundef %3, ptr noundef %5, ptr noundef %7)
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %42, %1
  %25 = load i64, ptr %10, align 8, !tbaa !9
  %26 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 2
  %27 = call noundef i64 @_ZNKSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %26) #4
  %28 = icmp ult i64 %25, %27
  br i1 %28, label %30, label %29

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

30:                                               ; preds = %24
  %31 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 4
  %32 = load i64, ptr %10, align 8, !tbaa !9
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(80) %31, i64 noundef %32) #4
  %34 = load double, ptr %33, align 8, !tbaa !11
  %35 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 2
  %36 = load i64, ptr %10, align 8, !tbaa !9
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(80) %35, i64 noundef %36) #4
  %38 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %37) #4
  %39 = getelementptr inbounds %"struct.aat::core::Order", ptr %38, i32 0, i32 15
  %40 = load double, ptr %39, align 8, !tbaa !13
  %41 = fsub double %40, %34
  store double %41, ptr %39, align 8, !tbaa !13
  br label %42

42:                                               ; preds = %30
  %43 = load i64, ptr %10, align 8, !tbaa !9
  %44 = add i64 %43, 1
  store i64 %44, ptr %10, align 8, !tbaa !9
  br label %24, !llvm.loop !35

45:                                               ; preds = %29
  %46 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 3
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %46) #4
  %47 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 4
  call void @_ZNSt5dequeIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %47) #4
  %48 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 5
  call void @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #4
  %49 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %50 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 5
  %51 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #4
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10shared_ptrIN3aat4core5OrderEESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #4
  %53 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 6
  %54 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #4
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %54, ptr %55, align 8
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8
  %58 = call ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr %57)
  %59 = getelementptr inbounds %"class.std::move_iterator.210", ptr %13, i32 0, i32 0
  %60 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %59, i32 0, i32 0
  store ptr %58, ptr %60, align 8
  %61 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 6
  %62 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #4
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = call ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr %65)
  %67 = getelementptr inbounds %"class.std::move_iterator.210", ptr %15, i32 0, i32 0
  %68 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %67, i32 0, i32 0
  store ptr %66, ptr %68, align 8
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.209", ptr %11, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8
  %71 = getelementptr inbounds %"class.std::move_iterator.210", ptr %13, i32 0, i32 0
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8
  %74 = getelementptr inbounds %"class.std::move_iterator.210", ptr %15, i32 0, i32 0
  %75 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %74, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8
  %77 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEEvEESC_NSA_IPKS4_S6_EET_SH_(ptr noundef nonnull align 8 dereferenceable(24) %49, ptr %70, ptr %73, ptr %76)
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %79 = getelementptr inbounds %"class.aat::core::PriceLevel", ptr %18, i32 0, i32 6
  call void @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind noalias writable sret(%"class.std::move_iterator") align 8, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEEvEESC_NSA_IPKS4_S6_EET_SH_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr) #3

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 = { 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !12, i64 224}
!14 = !{!"_ZTSN3aat4core5OrderE", !15, i64 0, !16, i64 8, !18, i64 40, !20, i64 48, !21, i64 56, !27, i64 128, !12, i64 168, !12, i64 176, !28, i64 184, !29, i64 188, !30, i64 192, !31, i64 200, !12, i64 216, !12, i64 224, !34, i64 232}
!15 = !{!"_ZTSN3aat4core12_EventTargetE"}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !10, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !19, i64 0}
!19 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !10, i64 0}
!20 = !{!"_ZTSN3aat6config8DataTypeE", !7, i64 0}
!21 = !{!"_ZTSN3aat4core10InstrumentE", !16, i64 8, !22, i64 40, !23, i64 48}
!22 = !{!"_ZTSN3aat6config14InstrumentTypeE", !7, i64 0}
!23 = !{!"_ZTSSt6vectorIN3aat4core12ExchangeTypeESaIS2_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSN3aat4core12ExchangeTypeE", !16, i64 8}
!28 = !{!"_ZTSN3aat6config4SideE", !7, i64 0}
!29 = !{!"_ZTSN3aat6config9OrderTypeE", !7, i64 0}
!30 = !{!"_ZTSN3aat6config9OrderFlagE", !7, i64 0}
!31 = !{!"_ZTSSt10shared_ptrIN3aat4core5OrderEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !33, i64 8}
!33 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!34 = !{!"bool", !7, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"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"

%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.std::_Deque_iterator.203" = type { ptr, ptr, ptr, ptr }
%"class.std::move_iterator" = type { %"struct.std::_Deque_iterator" }
%"class.__gnu_cxx::__normal_iterator.209" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

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

; 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 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind noalias writable sret(%"struct.std::_Deque_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr dead_on_unwind noalias writable sret(%"struct.std::_Deque_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3aat4core10PriceLevel6revertEv(ptr noundef nonnull align 8 dereferenceable(304) %0) local_unnamed_addr #2 align 2 {
  %2 = alloca %"struct.std::_Deque_iterator.203", align 8
  %3 = alloca %"struct.std::_Deque_iterator", align 8
  %4 = alloca %"class.std::move_iterator", align 8
  %5 = alloca %"struct.std::_Deque_iterator", align 8
  %6 = alloca %"class.std::move_iterator", align 8
  %7 = alloca %"struct.std::_Deque_iterator", align 8
  %8 = alloca %"struct.std::_Deque_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.209", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %11) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::_Deque_iterator") align 8 %3, ptr noundef nonnull align 8 dereferenceable(80) %11) #4
  call void @_ZNSt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERKS4_PS5_EC2IS_IS4_RS4_PS4_EvEERKT_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 96
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::_Deque_iterator") align 8 %5, ptr noundef nonnull align 8 dereferenceable(80) %12) #4
  call void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind nonnull writable sret(%"class.std::move_iterator") align 8 %4, ptr noundef nonnull %5)
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr dead_on_unwind nonnull writable sret(%"struct.std::_Deque_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(80) %12) #4
  call void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind nonnull writable sret(%"class.std::move_iterator") align 8 %6, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #4
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorISt15_Deque_iteratorIS4_RS4_PS4_EEvEESC_S9_IS4_RKS4_PSE_ET_SI_(ptr dead_on_unwind nonnull writable sret(%"struct.std::_Deque_iterator") align 8 %8, ptr noundef nonnull align 8 dereferenceable(80) %11, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef nonnull %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  %13 = call noundef i64 @_ZNKSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %11) #4
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  br label %25

._crit_edge:                                      ; preds = %25, %1
  call void @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %12) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 176
  call void @_ZNSt5dequeIdSaIdEE5clearEv(ptr noundef nonnull align 8 dereferenceable(80) %15) #4
  %16 = getelementptr inbounds i8, ptr %0, i64 256
  call void @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %17 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  store ptr %17, ptr %10, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKSt10shared_ptrIN3aat4core5OrderEESt6vectorIS5_SaIS5_EEEC2IPS5_vEERKNS0_IT_SA_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  %18 = getelementptr inbounds i8, ptr %0, i64 280
  %19 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %20 = call ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr %19)
  %21 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %22 = call ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr %21)
  %23 = load ptr, ptr %9, align 8
  %24 = call ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEEvEESC_NSA_IPKS4_S6_EET_SH_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr %23, ptr %20, ptr %22)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  ret void

25:                                               ; preds = %.lr.ph, %25
  %.08 = phi i64 [ 0, %.lr.ph ], [ %33, %25 ]
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(80) %14, i64 noundef %.08) #4
  %27 = load double, ptr %26, align 8, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(80) %11, i64 noundef %.08) #4
  %29 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #4
  %30 = getelementptr inbounds i8, ptr %29, i64 224
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = fsub double %31, %27
  store double %32, ptr %30, align 8, !tbaa !9
  %33 = add nuw i64 %.08, 1
  %34 = call noundef i64 @_ZNKSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %11) #4
  %35 = icmp ult i64 %33, %34
  br i1 %35, label %25, label %._crit_edge, !llvm.loop !33
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt18make_move_iteratorISt15_Deque_iteratorISt10shared_ptrIN3aat4core5OrderEERS5_PS5_EESt13move_iteratorIT_ESA_(ptr dead_on_unwind noalias writable sret(%"class.std::move_iterator") align 8, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeISt10shared_ptrIN3aat4core5OrderEESaIS4_EEixEm(ptr noundef nonnull align 8 dereferenceable(80), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorISt10shared_ptrIN3aat4core5OrderEESaIS4_EE6insertISt13move_iteratorIN9__gnu_cxx17__normal_iteratorIPS4_S6_EEEvEESC_NSA_IPKS4_S6_EET_SH_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt18make_move_iteratorIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN3aat4core5OrderEESt6vectorIS6_SaIS6_EEEEESt13move_iteratorIT_ESD_(ptr) local_unnamed_addr #3

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 = { 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 = { 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, !6, i64 224}
!10 = !{!"_ZTSN3aat4core5OrderE", !11, i64 0, !12, i64 8, !16, i64 40, !18, i64 48, !19, i64 56, !25, i64 128, !6, i64 168, !6, i64 176, !26, i64 184, !27, i64 188, !28, i64 192, !29, i64 200, !6, i64 216, !6, i64 224, !32, i64 232}
!11 = !{!"_ZTSN3aat4core12_EventTargetE"}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !13, i64 0, !15, i64 8, !7, i64 16}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSNSt6chrono10time_pointINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEEEE", !17, i64 0}
!17 = !{!"_ZTSNSt6chrono8durationIlSt5ratioILl1ELl1000000000EEEE", !15, i64 0}
!18 = !{!"_ZTSN3aat6config8DataTypeE", !7, i64 0}
!19 = !{!"_ZTSN3aat4core10InstrumentE", !12, i64 8, !20, i64 40, !21, i64 48}
!20 = !{!"_ZTSN3aat6config14InstrumentTypeE", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIN3aat4core12ExchangeTypeESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3aat4core12ExchangeTypeESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!25 = !{!"_ZTSN3aat4core12ExchangeTypeE", !12, i64 8}
!26 = !{!"_ZTSN3aat6config4SideE", !7, i64 0}
!27 = !{!"_ZTSN3aat6config9OrderTypeE", !7, i64 0}
!28 = !{!"_ZTSN3aat6config9OrderFlagE", !7, i64 0}
!29 = !{!"_ZTSSt10shared_ptrIN3aat4core5OrderEE", !30, i64 0}
!30 = !{!"_ZTSSt12__shared_ptrIN3aat4core5OrderELN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0, !31, i64 8}
!31 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !14, i64 0}
!32 = !{!"bool", !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass