; LLVM IR from sfu-dis/mosaicdb :: benchmarks/egen (MEETradingFloor)

; 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.TPCE::TTradeResultTxnInput" = type { double, i64 }
%"struct.TPCE::TTickerEntry" = type { double, i32, [16 x i8] }
%"class.TPCE::CMoney" = type { i64 }
%"class.TPCE::CMEETradingFloor" = type { ptr, ptr, ptr, ptr, ptr, %"class.TPCE::CTimerWheel", %"class.TPCE::CRandom", double }
%"class.TPCE::CTimerWheel" = type <{ %"class.TPCE::CDateTime", %"class.TPCE::CWheelTime", %"class.TPCE::CWheelTime", %"class.TPCE::CWheelTime", %"struct.TPCE::TWheelConfig", [5000 x %"class.std::__cxx11::list"], i32, [4 x i8] }>
%"class.TPCE::CDateTime" = type { i32, i32, ptr }
%"class.TPCE::CWheelTime" = type { ptr, i32, i32 }
%"struct.TPCE::TWheelConfig" = type { i32, i32 }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<TPCE::CTimerWheelTimer<TPCE::TTradeRequest, TPCE::CMEETradingFloor> *, std::allocator<TPCE::CTimerWheelTimer<TPCE::TTradeRequest, TPCE::CMEETradingFloor> *>>::_List_impl" }
%"struct.std::__cxx11::_List_base<TPCE::CTimerWheelTimer<TPCE::TTradeRequest, TPCE::CMEETradingFloor> *, std::allocator<TPCE::CTimerWheelTimer<TPCE::TTradeRequest, TPCE::CMEETradingFloor> *>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.TPCE::CRandom" = type { i64 }
%"struct.TPCE::TTradeRequest" = type { double, i64, i32, i32, [16 x i8], [4 x i8] }

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE16CMEETradingFloor15SendTradeResultEPNS_13TTradeRequestE(ptr noundef nonnull align 8 dereferenceable(120136) %0, ptr noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"struct.TPCE::TTradeResultTxnInput", align 8
  %7 = alloca %"struct.TPCE::TTickerEntry", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.TPCE::CMoney", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %10 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double -1.000000e+00, ptr %8, align 8, !tbaa !9
  %11 = getelementptr inbounds %"class.TPCE::CMEETradingFloor", ptr %10, i32 0, i32 2
  %12 = load ptr, ptr %11, align 8, !tbaa !11
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %13, i32 0, i32 5
  %15 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
  %16 = call noundef i32 @_ZN4TPCE14CMEETickerTape24ConvertTradeTypeIdToEnumEPc(ptr noundef nonnull align 8 dereferenceable(22504) %12, ptr noundef %15)
  store i32 %16, ptr %5, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %17 = getelementptr inbounds %"class.TPCE::CMEETradingFloor", ptr %10, i32 0, i32 1
  %18 = load ptr, ptr %17, align 8, !tbaa !22
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %19, i32 0, i32 4
  %21 = getelementptr inbounds [16 x i8], ptr %20, i64 0, i64 0
  %22 = call i64 @_ZN4TPCE14CMEEPriceBoard15GetCurrentPriceEPc(ptr noundef nonnull align 8 dereferenceable(88) %18, ptr noundef %21)
  %23 = getelementptr inbounds %"class.TPCE::CMoney", ptr %9, i32 0, i32 0
  store i64 %22, ptr %23, align 8
  %24 = call noundef double @_ZN4TPCE6CMoney12DollarAmountEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
  store double %24, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !23
  %28 = getelementptr inbounds %"struct.TPCE::TTradeResultTxnInput", ptr %6, i32 0, i32 1
  store i64 %27, ptr %28, align 8, !tbaa !26
  %29 = load i32, ptr %5, align 4, !tbaa !20
  %30 = icmp eq i32 %29, 4
  br i1 %30, label %31, label %37

31:                                               ; preds = %2
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %32, i32 0, i32 0
  %34 = load double, ptr %33, align 8, !tbaa !28
  %35 = load double, ptr %8, align 8, !tbaa !9
  %36 = fcmp olt double %34, %35
  br i1 %36, label %46, label %37

37:                                               ; preds = %31, %2
  %38 = load i32, ptr %5, align 4, !tbaa !20
  %39 = icmp eq i32 %38, 3
  br i1 %39, label %40, label %51

40:                                               ; preds = %37
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %41, i32 0, i32 0
  %43 = load double, ptr %42, align 8, !tbaa !28
  %44 = load double, ptr %8, align 8, !tbaa !9
  %45 = fcmp ogt double %43, %44
  br i1 %45, label %46, label %51

46:                                               ; preds = %40, %31
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %47, i32 0, i32 0
  %49 = load double, ptr %48, align 8, !tbaa !28
  %50 = getelementptr inbounds %"struct.TPCE::TTradeResultTxnInput", ptr %6, i32 0, i32 0
  store double %49, ptr %50, align 8, !tbaa !29
  br label %54

51:                                               ; preds = %40, %37
  %52 = load double, ptr %8, align 8, !tbaa !9
  %53 = getelementptr inbounds %"struct.TPCE::TTradeResultTxnInput", ptr %6, i32 0, i32 0
  store double %52, ptr %53, align 8, !tbaa !29
  br label %54

54:                                               ; preds = %51, %46
  %55 = getelementptr inbounds %"class.TPCE::CMEETradingFloor", ptr %10, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !30
  %57 = load ptr, ptr %56, align 8, !tbaa !31
  %58 = getelementptr inbounds ptr, ptr %57, i64 2
  %59 = load ptr, ptr %58, align 8
  %60 = call noundef zeroext i1 %59(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef %6)
  %61 = getelementptr inbounds %"struct.TPCE::TTickerEntry", ptr %7, i32 0, i32 2
  %62 = getelementptr inbounds [16 x i8], ptr %61, i64 0, i64 0
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %63, i32 0, i32 4
  %65 = getelementptr inbounds [16 x i8], ptr %64, i64 0, i64 0
  %66 = call ptr @strncpy(ptr noundef %62, ptr noundef %65, i64 noundef 16) #6
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.TPCE::TTradeRequest", ptr %67, i32 0, i32 2
  %69 = load i32, ptr %68, align 8, !tbaa !33
  %70 = getelementptr inbounds %"struct.TPCE::TTickerEntry", ptr %7, i32 0, i32 1
  store i32 %69, ptr %70, align 8, !tbaa !34
  %71 = load double, ptr %8, align 8, !tbaa !9
  %72 = getelementptr inbounds %"struct.TPCE::TTickerEntry", ptr %7, i32 0, i32 0
  store double %71, ptr %72, align 8, !tbaa !36
  %73 = getelementptr inbounds %"class.TPCE::CMEETradingFloor", ptr %10, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !11
  call void @_ZN4TPCE14CMEETickerTape8AddEntryEPNS_12TTickerEntryE(ptr noundef nonnull align 8 dereferenceable(22504) %74, ptr noundef %7)
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = icmp eq ptr %75, null
  br i1 %76, label %78, label %77

77:                                               ; preds = %54
  call void @_ZdlPvm(ptr noundef %75, i64 noundef 48) #7
  br label %78

78:                                               ; preds = %77, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

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

declare noundef i32 @_ZN4TPCE14CMEETickerTape24ConvertTradeTypeIdToEnumEPc(ptr noundef nonnull align 8 dereferenceable(22504), ptr noundef) #2

declare i64 @_ZN4TPCE14CMEEPriceBoard15GetCurrentPriceEPc(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4TPCE6CMoney12DollarAmountEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #4

declare void @_ZN4TPCE14CMEETickerTape8AddEntryEPNS_12TTickerEntryE(ptr noundef nonnull align 8 dereferenceable(22504), ptr noundef) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin 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 #6 = { nounwind }
attributes #7 = { builtin 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 16}
!12 = !{!"_ZTSN4TPCE16CMEETradingFloorE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !13, i64 40, !18, i64 120120, !10, i64 120128}
!13 = !{!"_ZTSN4TPCE11CTimerWheelINS_13TTradeRequestENS_16CMEETradingFloorELi5ELi1EEE", !14, i64 0, !16, i64 16, !16, i64 32, !16, i64 48, !17, i64 64, !7, i64 72, !15, i64 120072}
!14 = !{!"_ZTSN4TPCE9CDateTimeE", !15, i64 0, !15, i64 4, !6, i64 8}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN4TPCE10CWheelTimeE", !6, i64 0, !15, i64 8, !15, i64 12}
!17 = !{!"_ZTSN4TPCE12TWheelConfigE", !15, i64 0, !15, i64 4}
!18 = !{!"_ZTSN4TPCE7CRandomE", !19, i64 0}
!19 = !{!"long long", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTSN4TPCE12eTradeTypeIDE", !7, i64 0}
!22 = !{!12, !6, i64 8}
!23 = !{!24, !19, i64 8}
!24 = !{!"_ZTSN4TPCE13TTradeRequestE", !10, i64 0, !19, i64 8, !15, i64 16, !25, i64 20, !7, i64 24, !7, i64 40}
!25 = !{!"_ZTSN4TPCE22eMEETradeRequestActionE", !7, i64 0}
!26 = !{!27, !19, i64 8}
!27 = !{!"_ZTSN4TPCE20TTradeResultTxnInputE", !10, i64 0, !19, i64 8}
!28 = !{!24, !10, i64 0}
!29 = !{!27, !10, i64 0}
!30 = !{!12, !6, i64 0}
!31 = !{!32, !32, i64 0}
!32 = !{!"vtable pointer", !8, i64 0}
!33 = !{!24, !15, i64 16}
!34 = !{!35, !15, i64 8}
!35 = !{!"_ZTSN4TPCE12TTickerEntryE", !10, i64 0, !15, i64 8, !7, i64 12}
!36 = !{!35, !10, 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"

%"struct.TPCE::TTradeResultTxnInput" = type { double, i64 }
%"struct.TPCE::TTickerEntry" = type { double, i32, [16 x i8] }
%"class.TPCE::CMoney" = type { i64 }

; 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 uwtable
define dso_local void @_ZN4TPCE16CMEETradingFloor15SendTradeResultEPNS_13TTradeRequestE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120136) %0, ptr noundef %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"struct.TPCE::TTradeResultTxnInput", align 8
  %4 = alloca %"struct.TPCE::TTickerEntry", align 8
  %5 = alloca %"class.TPCE::CMoney", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 40
  %9 = tail call noundef i32 @_ZN4TPCE14CMEETickerTape24ConvertTradeTypeIdToEnumEPc(ptr noundef nonnull align 8 dereferenceable(22504) %7, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !18
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = tail call i64 @_ZN4TPCE14CMEEPriceBoard15GetCurrentPriceEPc(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull %12)
  store i64 %13, ptr %5, align 8
  %14 = call noundef double @_ZN4TPCE6CMoney12DollarAmountEv(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %15 = getelementptr inbounds i8, ptr %1, i64 8
  %16 = load i64, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %16, ptr %17, align 8, !tbaa !22
  switch i32 %9, label %26 [
    i32 4, label %18
    i32 3, label %21
  ]

18:                                               ; preds = %2
  %19 = load double, ptr %1, align 8, !tbaa !24
  %20 = fcmp olt double %19, %14
  br i1 %20, label %24, label %26

21:                                               ; preds = %2
  %22 = load double, ptr %1, align 8, !tbaa !24
  %23 = fcmp ogt double %22, %14
  br i1 %23, label %24, label %26

24:                                               ; preds = %21, %18
  %25 = phi double [ %22, %21 ], [ %19, %18 ]
  br label %26

26:                                               ; preds = %18, %21, %2, %24
  %storemerge = phi double [ %25, %24 ], [ %14, %2 ], [ %14, %21 ], [ %14, %18 ]
  store double %storemerge, ptr %3, align 8, !tbaa !25
  %27 = load ptr, ptr %0, align 8, !tbaa !26
  %28 = load ptr, ptr %27, align 8, !tbaa !27
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %30 = load ptr, ptr %29, align 8
  %31 = call noundef zeroext i1 %30(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull %3)
  %32 = getelementptr inbounds i8, ptr %4, i64 12
  %33 = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %32, ptr noundef nonnull dereferenceable(1) %12, i64 noundef 16) #6
  %34 = getelementptr inbounds i8, ptr %1, i64 16
  %35 = load i32, ptr %34, align 8, !tbaa !29
  %36 = getelementptr inbounds i8, ptr %4, i64 8
  store i32 %35, ptr %36, align 8, !tbaa !30
  store double %14, ptr %4, align 8, !tbaa !32
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4TPCE14CMEETickerTape8AddEntryEPNS_12TTickerEntryE(ptr noundef nonnull align 8 dereferenceable(22504) %37, ptr noundef nonnull %4)
  call void @_ZdlPvm(ptr noundef nonnull %1, i64 noundef 48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void
}

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

declare noundef i32 @_ZN4TPCE14CMEETickerTape24ConvertTradeTypeIdToEnumEPc(ptr noundef nonnull align 8 dereferenceable(22504), ptr noundef) local_unnamed_addr #2

declare i64 @_ZN4TPCE14CMEEPriceBoard15GetCurrentPriceEPc(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4TPCE6CMoney12DollarAmountEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #4

declare void @_ZN4TPCE14CMEETickerTape8AddEntryEPNS_12TTickerEntryE(ptr noundef nonnull align 8 dereferenceable(22504), ptr noundef) local_unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nobuiltin 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 #6 = { nounwind }
attributes #7 = { builtin 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, !7, i64 16}
!6 = !{!"_ZTSN4TPCE16CMEETradingFloorE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !15, i64 120120, !17, i64 120128}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4TPCE11CTimerWheelINS_13TTradeRequestENS_16CMEETradingFloorELi5ELi1EEE", !11, i64 0, !13, i64 16, !13, i64 32, !13, i64 48, !14, i64 64, !8, i64 72, !12, i64 120072}
!11 = !{!"_ZTSN4TPCE9CDateTimeE", !12, i64 0, !12, i64 4, !7, i64 8}
!12 = !{!"int", !8, i64 0}
!13 = !{!"_ZTSN4TPCE10CWheelTimeE", !7, i64 0, !12, i64 8, !12, i64 12}
!14 = !{!"_ZTSN4TPCE12TWheelConfigE", !12, i64 0, !12, i64 4}
!15 = !{!"_ZTSN4TPCE7CRandomE", !16, i64 0}
!16 = !{!"long long", !8, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = !{!6, !7, i64 8}
!19 = !{!20, !16, i64 8}
!20 = !{!"_ZTSN4TPCE13TTradeRequestE", !17, i64 0, !16, i64 8, !12, i64 16, !21, i64 20, !8, i64 24, !8, i64 40}
!21 = !{!"_ZTSN4TPCE22eMEETradeRequestActionE", !8, i64 0}
!22 = !{!23, !16, i64 8}
!23 = !{!"_ZTSN4TPCE20TTradeResultTxnInputE", !17, i64 0, !16, i64 8}
!24 = !{!20, !17, i64 0}
!25 = !{!23, !17, i64 0}
!26 = !{!6, !7, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !9, i64 0}
!29 = !{!20, !12, i64 16}
!30 = !{!31, !12, i64 8}
!31 = !{!"_ZTSN4TPCE12TTickerEntryE", !17, i64 0, !12, i64 8, !8, i64 12}
!32 = !{!31, !17, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass