; LLVM IR from sfu-dis/mosaicdb :: benchmarks/egen/TradeGen.ll (ZN4TPCE9CTradeGen19GenerateTradeChargeEv)

; 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.TPCE::CTradeGen" = type <{ %"class.TPCE::CRandom", %"class.TPCE::CAddressTable", %"class.TPCE::CCustomerSelection", %"class.TPCE::CCustomerTable", %"class.TPCE::CCustomerTaxratesTable", %"class.TPCE::CCustomerAccountsAndPermissionsTable", %"class.TPCE::CHoldingsAndTradesTable", %"class.TPCE::CBrokersTable", %"class.TPCE::CSecurityTable", %"class.TPCE::CPerson", ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i32, i32, i32, i32, double, double, %"class.TPCE::CDateTime", double, %"class.std::priority_queue", i64, i64, i64, i32, [4 x i8], ptr, %"struct.TPCE::TTradeInfo", %"struct.TPCE::TAdditionalTradeInfo", %"struct.TPCE::TTradeRow", %"struct.TPCE::HOLDING_ROW", %"struct.TPCE::HOLDING_SUMMARY_ROW", i32, i32, i32, i32, %"class.TPCE::CMEESecurity", i32, i32, %"struct.std::_List_iterator", i32, i32, i64, i32, [4 x i8] }>
%"class.TPCE::CRandom" = type { i64 }
%"class.TPCE::CAddressTable" = type { %"class.TPCE::TableTemplate", %"class.TPCE::CDateTime", ptr, ptr, ptr, ptr, i64, i64, i8, i8, i64, i32, i64, i8, i32, i64, ptr }
%"class.TPCE::TableTemplate" = type { ptr, %"struct.TPCE::ADDRESS_ROW", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::ADDRESS_ROW" = type { i64, [81 x i8], [81 x i8], [13 x i8], [81 x i8] }
%"class.TPCE::CCustomerSelection" = type { ptr, i64, i64, i8, i32, i64, i64 }
%"class.TPCE::CCustomerTable" = type { %"class.TPCE::TableTemplate.0", i64, %"class.TPCE::CPerson", ptr, i64, i64, i64, i32, ptr, %"class.TPCE::CCustomerSelection" }
%"class.TPCE::TableTemplate.0" = type { ptr, %"struct.TPCE::CUSTOMER_ROW", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::CUSTOMER_ROW" = type <{ i64, [21 x i8], [5 x i8], [26 x i8], [21 x i8], [2 x i8], i8, i8, [3 x i8], %"class.TPCE::CDateTime", i64, [4 x i8], [4 x i8], [11 x i8], [6 x i8], [4 x i8], [4 x i8], [11 x i8], [6 x i8], [4 x i8], [4 x i8], [11 x i8], [6 x i8], [51 x i8], [51 x i8], [7 x i8] }>
%"class.TPCE::CCustomerTaxratesTable" = type { %"class.TPCE::TableTemplate.1", %"class.TPCE::CCustomerTable", %"class.TPCE::CAddressTable", ptr, ptr }
%"class.TPCE::TableTemplate.1" = type { ptr, %"struct.TPCE::CUSTOMER_TAXRATE_ROWS", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::CUSTOMER_TAXRATE_ROWS" = type { [2 x %"struct.TPCE::CUSTOMER_TAXRATE_ROW"] }
%"struct.TPCE::CUSTOMER_TAXRATE_ROW" = type { [5 x i8], i64 }
%"class.TPCE::CCustomerAccountsAndPermissionsTable" = type { %"class.TPCE::TableTemplate.2", ptr, ptr, i64, i64, i64, i32, i32, %"class.TPCE::CCustomerTable", %"class.TPCE::CPerson", i32, i64, %"class.TPCE::CAddressTable", i32, %"class.TPCE::CCustomerSelection", i8, i32, i64, ptr, i32, i64, ptr }
%"class.TPCE::TableTemplate.2" = type { ptr, %"struct.TPCE::CUSTOMER_ACCOUNT_AND_PERMISSION_ROW", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::CUSTOMER_ACCOUNT_AND_PERMISSION_ROW" = type { %"struct.TPCE::CUSTOMER_ACCOUNT_ROW", [4 x %"struct.TPCE::ACCOUNT_PERMISSION_ROW"] }
%"struct.TPCE::CUSTOMER_ACCOUNT_ROW" = type { i64, i64, i64, [51 x i8], i8, double }
%"struct.TPCE::ACCOUNT_PERMISSION_ROW" = type { i64, [5 x i8], [21 x i8], [26 x i8], [21 x i8] }
%"class.TPCE::CHoldingsAndTradesTable" = type { %"class.TPCE::CRandom", %"class.TPCE::CCustomerAccountsAndPermissionsTable", i64, i32, [18 x i64], i8, i64, i32, ptr, i64, i32, ptr }
%"class.TPCE::CBrokersTable" = type { %"class.TPCE::TableTemplate.3", i64, i64, i64, %"class.TPCE::CPerson", ptr, ptr, ptr }
%"class.TPCE::TableTemplate.3" = type { ptr, %"struct.TPCE::BROKER_ROW", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::BROKER_ROW" = type { i64, [5 x i8], [50 x i8], i32, double }
%"class.TPCE::CSecurityTable" = type { %"class.TPCE::TableTemplate.4", i64, i64, ptr, ptr, %"class.TPCE::CDateTime", i32, i32, i32, i64 }
%"class.TPCE::TableTemplate.4" = type { ptr, %"struct.TPCE::SECURITY_ROW", i64, i8, %"class.TPCE::CRandom" }
%"struct.TPCE::SECURITY_ROW" = type { [16 x i8], [7 x i8], [5 x i8], [71 x i8], [7 x i8], i64, i64, %"class.TPCE::CDateTime", %"class.TPCE::CDateTime", double, float, %"class.TPCE::CDateTime", float, %"class.TPCE::CDateTime", double, double }
%"class.TPCE::CPerson" = type { ptr, ptr, ptr, %"class.TPCE::CRandom", i8, i32, i64, ptr, ptr }
%"class.TPCE::CDateTime" = type { i32, i32, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<TPCE::TTradeInfo, std::allocator<TPCE::TTradeInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<TPCE::TTradeInfo, std::allocator<TPCE::TTradeInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<TPCE::TTradeInfo, std::allocator<TPCE::TTradeInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TPCE::TTradeInfo, std::allocator<TPCE::TTradeInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.TPCE::TTradeInfo" = type <{ i64, i32, i32, double, double, double, i64, i32, i32, %"class.TPCE::CMoney", %"class.TPCE::CMoney", i64, i32, [4 x i8], i64, i8, [7 x i8] }>
%"class.TPCE::CMoney" = type { i64 }
%"struct.TPCE::TAdditionalTradeInfo" = type { %"class.TPCE::CMoney", %"class.TPCE::CMoney", i64, i32, %"class.TPCE::CMoney", %"class.TPCE::CMoney", %"class.TPCE::CMoney", %"class.TPCE::CMoney" }
%"struct.TPCE::TTradeRow" = type { %"struct.TPCE::TRADE_ROW", %"struct.TPCE::TRADE_REQUEST_ROW", [3 x %"struct.TPCE::TRADE_HISTORY_ROW"], %"struct.TPCE::SETTLEMENT_ROW", %"struct.TPCE::CASH_TRANSACTION_ROW", [8 x %"struct.TPCE::HOLDING_HISTORY_ROW"] }
%"struct.TPCE::TRADE_ROW" = type <{ i64, %"class.TPCE::CDateTime", [5 x i8], [4 x i8], i8, [16 x i8], [2 x i8], i32, double, i64, [50 x i8], [6 x i8], double, double, double, double, i8, [7 x i8] }>
%"struct.TPCE::TRADE_REQUEST_ROW" = type { i64, [4 x i8], [16 x i8], i32, double, i64 }
%"struct.TPCE::TRADE_HISTORY_ROW" = type <{ i64, %"class.TPCE::CDateTime", [5 x i8], [3 x i8] }>
%"struct.TPCE::SETTLEMENT_ROW" = type { i64, [41 x i8], %"class.TPCE::CDateTime", double }
%"struct.TPCE::CASH_TRANSACTION_ROW" = type <{ i64, %"class.TPCE::CDateTime", double, [101 x i8], [3 x i8] }>
%"struct.TPCE::HOLDING_HISTORY_ROW" = type { i64, i64, i32, i32 }
%"struct.TPCE::HOLDING_ROW" = type <{ i64, i64, [16 x i8], %"class.TPCE::CDateTime", double, i32, [4 x i8] }>
%"struct.TPCE::HOLDING_SUMMARY_ROW" = type { i64, [16 x i8], i32 }
%"class.TPCE::CMEESecurity" = type { %"class.TPCE::CRandom", %"class.TPCE::CMoney", %"class.TPCE::CMoney", %"class.TPCE::CMoney", i32, i32, ptr, ptr, double }
%"struct.std::_List_iterator" = type { ptr }
%"struct.TPCE::CHARGE_ROW" = type { %"struct.TPCE::TBaseInputRow", [4 x i8], i32, double }
%"struct.TPCE::TBaseInputRow" = type { ptr }
%"struct.TPCE::TRADE_TYPE_ROW" = type { [4 x i8], [13 x i8], i8, i8 }

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__._ZN4TPCE9CTradeGen19GenerateTradeChargeEv = external hidden unnamed_addr constant [44 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4TPCE9CTradeGen19GetCurrentTradeTypeEv(ptr noundef nonnull align 8 dereferenceable(7356)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE9CTradeGen19GenerateTradeChargeEv(ptr noundef nonnull align 8 dereferenceable(7356) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %7

7:                                                ; preds = %45, %1
  %8 = load i32, ptr %3, align 4, !tbaa !9
  %9 = getelementptr inbounds %"class.TPCE::CTradeGen", ptr %6, i32 0, i32 12
  %10 = load ptr, ptr %9, align 8, !tbaa !11
  %11 = call noundef i32 @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %10)
  %12 = icmp ult i32 %8, %11
  br i1 %12, label %13, label %48

13:                                               ; preds = %7
  %14 = getelementptr inbounds %"class.TPCE::CTradeGen", ptr %6, i32 0, i32 12
  %15 = load ptr, ptr %14, align 8, !tbaa !11
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = call noundef ptr @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40) %15, i32 noundef %16)
  store ptr %17, ptr %4, align 8, !tbaa !5
  %18 = call noundef i32 @_ZN4TPCE9CTradeGen18GetCurrentCustTierEv(ptr noundef nonnull align 8 dereferenceable(7356) %6)
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"struct.TPCE::CHARGE_ROW", ptr %19, i32 0, i32 2
  %21 = load i32, ptr %20, align 4, !tbaa !63
  %22 = icmp eq i32 %18, %21
  br i1 %22, label %23, label %44

23:                                               ; preds = %13
  %24 = getelementptr inbounds %"class.TPCE::CTradeGen", ptr %6, i32 0, i32 15
  %25 = load ptr, ptr %24, align 8, !tbaa !66
  %26 = call noundef i32 @_ZN4TPCE9CTradeGen19GetCurrentTradeTypeEv(ptr noundef nonnull align 8 dereferenceable(7356) %6)
  %27 = call noundef ptr @_ZN4TPCE9CFlatFileINS_14TRADE_TYPE_ROWENS_16TTradeTypeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40) %25, i32 noundef %26)
  store ptr %27, ptr %5, align 8, !tbaa !5
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.TPCE::TRADE_TYPE_ROW", ptr %28, i32 0, i32 0
  %30 = getelementptr inbounds [4 x i8], ptr %29, i64 0, i64 0
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"struct.TPCE::CHARGE_ROW", ptr %31, i32 0, i32 1
  %33 = getelementptr inbounds [4 x i8], ptr %32, i64 0, i64 0
  %34 = call i32 @strcmp(ptr noundef %30, ptr noundef %33) #6
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %43, label %36

36:                                               ; preds = %23
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.TPCE::CHARGE_ROW", ptr %37, i32 0, i32 3
  %39 = load double, ptr %38, align 8, !tbaa !67
  %40 = getelementptr inbounds %"class.TPCE::CTradeGen", ptr %6, i32 0, i32 37
  %41 = getelementptr inbounds %"struct.TPCE::TAdditionalTradeInfo", ptr %40, i32 0, i32 5
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4TPCE6CMoneyaSEd(ptr noundef nonnull align 8 dereferenceable(8) %41, double noundef %39)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void

43:                                               ; preds = %23
  br label %44

44:                                               ; preds = %43, %13
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = add i32 %46, 1
  store i32 %47, ptr %3, align 4, !tbaa !9
  br label %7, !llvm.loop !68

48:                                               ; preds = %7
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 1149, ptr noundef @__PRETTY_FUNCTION__._ZN4TPCE9CTradeGen19GenerateTradeChargeEv) #7
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4TPCE9CFlatFileINS_14TRADE_TYPE_ROWENS_16TTradeTypeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4TPCE9CTradeGen18GetCurrentCustTierEv(ptr noundef nonnull align 8 dereferenceable(7356)) #2 align 2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #2 = { 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 #3 = { 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 willreturn memory(read) "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 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 6056}
!12 = !{!"_ZTSN4TPCE9CTradeGenE", !13, i64 0, !15, i64 8, !20, i64 424, !21, i64 472, !25, i64 968, !28, i64 1960, !33, i64 3576, !34, i64 5416, !37, i64 5640, !24, i64 5976, !6, i64 6040, !6, i64 6048, !6, i64 6056, !6, i64 6064, !6, i64 6072, !6, i64 6080, !6, i64 6088, !14, i64 6096, !14, i64 6104, !14, i64 6112, !14, i64 6120, !10, i64 6128, !10, i64 6132, !10, i64 6136, !10, i64 6140, !32, i64 6144, !32, i64 6152, !19, i64 6160, !32, i64 6176, !41, i64 6184, !14, i64 6216, !14, i64 6224, !14, i64 6232, !10, i64 6240, !6, i64 6248, !47, i64 6256, !52, i64 6360, !54, i64 6424, !59, i64 7144, !60, i64 7208, !10, i64 7240, !10, i64 7244, !10, i64 7248, !10, i64 7252, !61, i64 7256, !10, i64 7320, !10, i64 7324, !62, i64 7328, !10, i64 7336, !10, i64 7340, !14, i64 7344, !10, i64 7352}
!13 = !{!"_ZTSN4TPCE7CRandomE", !14, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"_ZTSN4TPCE13CAddressTableE", !16, i64 0, !19, i64 296, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !14, i64 344, !14, i64 352, !18, i64 360, !18, i64 361, !14, i64 368, !10, i64 376, !14, i64 384, !18, i64 392, !10, i64 396, !14, i64 400, !6, i64 408}
!16 = !{!"_ZTSN4TPCE13TableTemplateINS_11ADDRESS_ROWEEE", !17, i64 8, !14, i64 272, !18, i64 280, !13, i64 288}
!17 = !{!"_ZTSN4TPCE11ADDRESS_ROWE", !14, i64 0, !7, i64 8, !7, i64 89, !7, i64 170, !7, i64 183}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSN4TPCE9CDateTimeE", !10, i64 0, !10, i64 4, !6, i64 8}
!20 = !{!"_ZTSN4TPCE18CCustomerSelectionE", !6, i64 0, !14, i64 8, !14, i64 16, !18, i64 24, !10, i64 28, !14, i64 32, !14, i64 40}
!21 = !{!"_ZTSN4TPCE14CCustomerTableE", !22, i64 0, !14, i64 328, !24, i64 336, !6, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !10, i64 432, !6, i64 440, !20, i64 448}
!22 = !{!"_ZTSN4TPCE13TableTemplateINS_12CUSTOMER_ROWEEE", !23, i64 8, !14, i64 304, !18, i64 312, !13, i64 320}
!23 = !{!"_ZTSN4TPCE12CUSTOMER_ROWE", !14, i64 0, !7, i64 8, !7, i64 29, !7, i64 34, !7, i64 60, !7, i64 81, !7, i64 83, !7, i64 84, !19, i64 88, !14, i64 104, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 131, !7, i64 137, !7, i64 141, !7, i64 145, !7, i64 156, !7, i64 162, !7, i64 166, !7, i64 170, !7, i64 181, !7, i64 187, !7, i64 238}
!24 = !{!"_ZTSN4TPCE7CPersonE", !6, i64 0, !6, i64 8, !6, i64 16, !13, i64 24, !18, i64 32, !10, i64 36, !14, i64 40, !6, i64 48, !6, i64 56}
!25 = !{!"_ZTSN4TPCE22CCustomerTaxratesTableE", !26, i64 0, !21, i64 64, !15, i64 560, !6, i64 976, !6, i64 984}
!26 = !{!"_ZTSN4TPCE13TableTemplateINS_21CUSTOMER_TAXRATE_ROWSEEE", !27, i64 8, !14, i64 40, !18, i64 48, !13, i64 56}
!27 = !{!"_ZTSN4TPCE21CUSTOMER_TAXRATE_ROWSE", !7, i64 0}
!28 = !{!"_ZTSN4TPCE36CCustomerAccountsAndPermissionsTableE", !29, i64 0, !6, i64 472, !6, i64 480, !14, i64 488, !14, i64 496, !14, i64 504, !10, i64 512, !10, i64 516, !21, i64 520, !24, i64 1016, !10, i64 1080, !14, i64 1088, !15, i64 1096, !10, i64 1512, !20, i64 1520, !18, i64 1568, !10, i64 1572, !14, i64 1576, !6, i64 1584, !10, i64 1592, !14, i64 1600, !6, i64 1608}
!29 = !{!"_ZTSN4TPCE13TableTemplateINS_35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWEEE", !30, i64 8, !14, i64 448, !18, i64 456, !13, i64 464}
!30 = !{!"_ZTSN4TPCE35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWE", !31, i64 0, !7, i64 88}
!31 = !{!"_ZTSN4TPCE20CUSTOMER_ACCOUNT_ROWE", !14, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !7, i64 75, !32, i64 80}
!32 = !{!"double", !7, i64 0}
!33 = !{!"_ZTSN4TPCE23CHoldingsAndTradesTableE", !13, i64 0, !28, i64 8, !14, i64 1624, !10, i64 1632, !7, i64 1640, !18, i64 1784, !14, i64 1792, !10, i64 1800, !6, i64 1808, !14, i64 1816, !10, i64 1824, !6, i64 1832}
!34 = !{!"_ZTSN4TPCE13CBrokersTableE", !35, i64 0, !14, i64 112, !14, i64 120, !14, i64 128, !24, i64 136, !6, i64 200, !6, i64 208, !6, i64 216}
!35 = !{!"_ZTSN4TPCE13TableTemplateINS_10BROKER_ROWEEE", !36, i64 8, !14, i64 88, !18, i64 96, !13, i64 104}
!36 = !{!"_ZTSN4TPCE10BROKER_ROWE", !14, i64 0, !7, i64 8, !7, i64 13, !10, i64 64, !32, i64 72}
!37 = !{!"_ZTSN4TPCE14CSecurityTableE", !38, i64 0, !14, i64 264, !14, i64 272, !6, i64 280, !6, i64 288, !19, i64 296, !10, i64 312, !10, i64 316, !10, i64 320, !14, i64 328}
!38 = !{!"_ZTSN4TPCE13TableTemplateINS_12SECURITY_ROWEEE", !39, i64 8, !14, i64 240, !18, i64 248, !13, i64 256}
!39 = !{!"_ZTSN4TPCE12SECURITY_ROWE", !7, i64 0, !7, i64 16, !7, i64 23, !7, i64 28, !7, i64 99, !14, i64 112, !14, i64 120, !19, i64 128, !19, i64 144, !32, i64 160, !40, i64 168, !19, i64 176, !40, i64 192, !19, i64 200, !32, i64 216, !32, i64 224}
!40 = !{!"float", !7, i64 0}
!41 = !{!"_ZTSSt14priority_queueIN4TPCE10TTradeInfoESt6vectorIS1_SaIS1_EESt7greaterIS1_EE", !42, i64 0, !46, i64 24}
!42 = !{!"_ZTSSt6vectorIN4TPCE10TTradeInfoESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = !{!"_ZTSSt7greaterIN4TPCE10TTradeInfoEE"}
!47 = !{!"_ZTSN4TPCE10TTradeInfoE", !14, i64 0, !48, i64 8, !49, i64 12, !32, i64 16, !32, i64 24, !32, i64 32, !14, i64 40, !10, i64 48, !10, i64 52, !50, i64 56, !50, i64 64, !14, i64 72, !51, i64 80, !14, i64 88, !18, i64 96}
!48 = !{!"_ZTSN4TPCE12eTradeTypeIDE", !7, i64 0}
!49 = !{!"_ZTSN4TPCE13eStatusTypeIDE", !7, i64 0}
!50 = !{!"_ZTSN4TPCE6CMoneyE", !14, i64 0}
!51 = !{!"_ZTSN4TPCE13eCustomerTierE", !7, i64 0}
!52 = !{!"_ZTSN4TPCE20TAdditionalTradeInfoE", !50, i64 0, !50, i64 8, !14, i64 16, !53, i64 24, !50, i64 32, !50, i64 40, !50, i64 48, !50, i64 56}
!53 = !{!"_ZTSN4TPCE10eTaxStatusE", !7, i64 0}
!54 = !{!"_ZTSN4TPCE9TTradeRowE", !55, i64 0, !56, i64 168, !7, i64 216, !57, i64 312, !58, i64 392, !7, i64 528}
!55 = !{!"_ZTSN4TPCE9TRADE_ROWE", !14, i64 0, !19, i64 8, !7, i64 24, !7, i64 29, !18, i64 33, !7, i64 34, !10, i64 52, !32, i64 56, !14, i64 64, !7, i64 72, !32, i64 128, !32, i64 136, !32, i64 144, !32, i64 152, !18, i64 160}
!56 = !{!"_ZTSN4TPCE17TRADE_REQUEST_ROWE", !14, i64 0, !7, i64 8, !7, i64 12, !10, i64 28, !32, i64 32, !14, i64 40}
!57 = !{!"_ZTSN4TPCE14SETTLEMENT_ROWE", !14, i64 0, !7, i64 8, !19, i64 56, !32, i64 72}
!58 = !{!"_ZTSN4TPCE20CASH_TRANSACTION_ROWE", !14, i64 0, !19, i64 8, !32, i64 24, !7, i64 32}
!59 = !{!"_ZTSN4TPCE11HOLDING_ROWE", !14, i64 0, !14, i64 8, !7, i64 16, !19, i64 32, !32, i64 48, !10, i64 56}
!60 = !{!"_ZTSN4TPCE19HOLDING_SUMMARY_ROWE", !14, i64 0, !7, i64 8, !10, i64 24}
!61 = !{!"_ZTSN4TPCE12CMEESecurityE", !13, i64 0, !50, i64 8, !50, i64 16, !50, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !32, i64 56}
!62 = !{!"_ZTSSt14_List_iteratorIN4TPCE12THoldingInfoEE", !6, i64 0}
!63 = !{!64, !10, i64 12}
!64 = !{!"_ZTSN4TPCE10CHARGE_ROWE", !65, i64 0, !7, i64 8, !10, i64 12, !32, i64 16}
!65 = !{!"_ZTSN4TPCE13TBaseInputRowE"}
!66 = !{!12, !6, i64 6080}
!67 = !{!64, !32, i64 16}
!68 = distinct !{!68, !69}
!69 = !{!"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"

@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@__PRETTY_FUNCTION__._ZN4TPCE9CTradeGen19GenerateTradeChargeEv = external hidden unnamed_addr constant [44 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE9CTradeGen19GenerateTradeChargeEv(ptr noundef nonnull align 8 dereferenceable(7356) %0) local_unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 6056
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = tail call noundef i32 @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %3)
  %.not8 = icmp eq i32 %4, 0
  br i1 %.not8, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 6080
  br label %6

6:                                                ; preds = %.lr.ph, %24
  %.07 = phi i32 [ 0, %.lr.ph ], [ %25, %24 ]
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = tail call noundef ptr @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef %.07)
  %9 = tail call noundef i32 @_ZN4TPCE9CTradeGen18GetCurrentCustTierEv(ptr noundef nonnull align 8 dereferenceable(7356) %0)
  %10 = getelementptr inbounds i8, ptr %8, i64 12
  %11 = load i32, ptr %10, align 4, !tbaa !61
  %12 = icmp eq i32 %9, %11
  br i1 %12, label %13, label %24

13:                                               ; preds = %6
  %14 = load ptr, ptr %5, align 8, !tbaa !64
  %15 = tail call noundef i32 @_ZN4TPCE9CTradeGen19GetCurrentTradeTypeEv(ptr noundef nonnull align 8 dereferenceable(7356) %0)
  %16 = tail call noundef ptr @_ZN4TPCE9CFlatFileINS_14TRADE_TYPE_ROWENS_16TTradeTypeLimitsEE9GetRecordEi(ptr noundef nonnull align 8 dereferenceable(40) %14, i32 noundef %15)
  %17 = getelementptr inbounds i8, ptr %8, i64 8
  %18 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %16, ptr noundef nonnull dereferenceable(1) %17) #4
  %.not = icmp eq i32 %18, 0
  br i1 %.not, label %19, label %24

19:                                               ; preds = %13
  %20 = getelementptr inbounds i8, ptr %8, i64 16
  %21 = load double, ptr %20, align 8, !tbaa !65
  %22 = getelementptr inbounds i8, ptr %0, i64 6400
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4TPCE6CMoneyaSEd(ptr noundef nonnull align 8 dereferenceable(8) %22, double noundef %21)
  ret void

24:                                               ; preds = %6, %13
  %25 = add nuw i32 %.07, 1
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = tail call noundef i32 @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(40) %26)
  %28 = icmp ult i32 %25, %27
  br i1 %28, label %6, label %._crit_edge, !llvm.loop !66

._crit_edge:                                      ; preds = %24, %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 1149, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4TPCE9CTradeGen19GenerateTradeChargeEv) #5
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4TPCE9CFlatFileINS_10CHARGE_ROWENS_13TChargeLimitsEE7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

attributes #0 = { noreturn 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 #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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 willreturn memory(read) }
attributes #5 = { noreturn 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, !17, i64 6056}
!6 = !{!"_ZTSN4TPCE9CTradeGenE", !7, i64 0, !11, i64 8, !18, i64 424, !19, i64 472, !23, i64 968, !26, i64 1960, !31, i64 3576, !32, i64 5416, !35, i64 5640, !22, i64 5976, !17, i64 6040, !17, i64 6048, !17, i64 6056, !17, i64 6064, !17, i64 6072, !17, i64 6080, !17, i64 6088, !8, i64 6096, !8, i64 6104, !8, i64 6112, !8, i64 6120, !16, i64 6128, !16, i64 6132, !16, i64 6136, !16, i64 6140, !30, i64 6144, !30, i64 6152, !15, i64 6160, !30, i64 6176, !39, i64 6184, !8, i64 6216, !8, i64 6224, !8, i64 6232, !16, i64 6240, !17, i64 6248, !45, i64 6256, !50, i64 6360, !52, i64 6424, !57, i64 7144, !58, i64 7208, !16, i64 7240, !16, i64 7244, !16, i64 7248, !16, i64 7252, !59, i64 7256, !16, i64 7320, !16, i64 7324, !60, i64 7328, !16, i64 7336, !16, i64 7340, !8, i64 7344, !16, i64 7352}
!7 = !{!"_ZTSN4TPCE7CRandomE", !8, i64 0}
!8 = !{!"long long", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN4TPCE13CAddressTableE", !12, i64 0, !15, i64 296, !17, i64 312, !17, i64 320, !17, i64 328, !17, i64 336, !8, i64 344, !8, i64 352, !14, i64 360, !14, i64 361, !8, i64 368, !16, i64 376, !8, i64 384, !14, i64 392, !16, i64 396, !8, i64 400, !17, i64 408}
!12 = !{!"_ZTSN4TPCE13TableTemplateINS_11ADDRESS_ROWEEE", !13, i64 8, !8, i64 272, !14, i64 280, !7, i64 288}
!13 = !{!"_ZTSN4TPCE11ADDRESS_ROWE", !8, i64 0, !9, i64 8, !9, i64 89, !9, i64 170, !9, i64 183}
!14 = !{!"bool", !9, i64 0}
!15 = !{!"_ZTSN4TPCE9CDateTimeE", !16, i64 0, !16, i64 4, !17, i64 8}
!16 = !{!"int", !9, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"_ZTSN4TPCE18CCustomerSelectionE", !17, i64 0, !8, i64 8, !8, i64 16, !14, i64 24, !16, i64 28, !8, i64 32, !8, i64 40}
!19 = !{!"_ZTSN4TPCE14CCustomerTableE", !20, i64 0, !8, i64 328, !22, i64 336, !17, i64 400, !8, i64 408, !8, i64 416, !8, i64 424, !16, i64 432, !17, i64 440, !18, i64 448}
!20 = !{!"_ZTSN4TPCE13TableTemplateINS_12CUSTOMER_ROWEEE", !21, i64 8, !8, i64 304, !14, i64 312, !7, i64 320}
!21 = !{!"_ZTSN4TPCE12CUSTOMER_ROWE", !8, i64 0, !9, i64 8, !9, i64 29, !9, i64 34, !9, i64 60, !9, i64 81, !9, i64 83, !9, i64 84, !15, i64 88, !8, i64 104, !9, i64 112, !9, i64 116, !9, i64 120, !9, i64 131, !9, i64 137, !9, i64 141, !9, i64 145, !9, i64 156, !9, i64 162, !9, i64 166, !9, i64 170, !9, i64 181, !9, i64 187, !9, i64 238}
!22 = !{!"_ZTSN4TPCE7CPersonE", !17, i64 0, !17, i64 8, !17, i64 16, !7, i64 24, !14, i64 32, !16, i64 36, !8, i64 40, !17, i64 48, !17, i64 56}
!23 = !{!"_ZTSN4TPCE22CCustomerTaxratesTableE", !24, i64 0, !19, i64 64, !11, i64 560, !17, i64 976, !17, i64 984}
!24 = !{!"_ZTSN4TPCE13TableTemplateINS_21CUSTOMER_TAXRATE_ROWSEEE", !25, i64 8, !8, i64 40, !14, i64 48, !7, i64 56}
!25 = !{!"_ZTSN4TPCE21CUSTOMER_TAXRATE_ROWSE", !9, i64 0}
!26 = !{!"_ZTSN4TPCE36CCustomerAccountsAndPermissionsTableE", !27, i64 0, !17, i64 472, !17, i64 480, !8, i64 488, !8, i64 496, !8, i64 504, !16, i64 512, !16, i64 516, !19, i64 520, !22, i64 1016, !16, i64 1080, !8, i64 1088, !11, i64 1096, !16, i64 1512, !18, i64 1520, !14, i64 1568, !16, i64 1572, !8, i64 1576, !17, i64 1584, !16, i64 1592, !8, i64 1600, !17, i64 1608}
!27 = !{!"_ZTSN4TPCE13TableTemplateINS_35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWEEE", !28, i64 8, !8, i64 448, !14, i64 456, !7, i64 464}
!28 = !{!"_ZTSN4TPCE35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWE", !29, i64 0, !9, i64 88}
!29 = !{!"_ZTSN4TPCE20CUSTOMER_ACCOUNT_ROWE", !8, i64 0, !8, i64 8, !8, i64 16, !9, i64 24, !9, i64 75, !30, i64 80}
!30 = !{!"double", !9, i64 0}
!31 = !{!"_ZTSN4TPCE23CHoldingsAndTradesTableE", !7, i64 0, !26, i64 8, !8, i64 1624, !16, i64 1632, !9, i64 1640, !14, i64 1784, !8, i64 1792, !16, i64 1800, !17, i64 1808, !8, i64 1816, !16, i64 1824, !17, i64 1832}
!32 = !{!"_ZTSN4TPCE13CBrokersTableE", !33, i64 0, !8, i64 112, !8, i64 120, !8, i64 128, !22, i64 136, !17, i64 200, !17, i64 208, !17, i64 216}
!33 = !{!"_ZTSN4TPCE13TableTemplateINS_10BROKER_ROWEEE", !34, i64 8, !8, i64 88, !14, i64 96, !7, i64 104}
!34 = !{!"_ZTSN4TPCE10BROKER_ROWE", !8, i64 0, !9, i64 8, !9, i64 13, !16, i64 64, !30, i64 72}
!35 = !{!"_ZTSN4TPCE14CSecurityTableE", !36, i64 0, !8, i64 264, !8, i64 272, !17, i64 280, !17, i64 288, !15, i64 296, !16, i64 312, !16, i64 316, !16, i64 320, !8, i64 328}
!36 = !{!"_ZTSN4TPCE13TableTemplateINS_12SECURITY_ROWEEE", !37, i64 8, !8, i64 240, !14, i64 248, !7, i64 256}
!37 = !{!"_ZTSN4TPCE12SECURITY_ROWE", !9, i64 0, !9, i64 16, !9, i64 23, !9, i64 28, !9, i64 99, !8, i64 112, !8, i64 120, !15, i64 128, !15, i64 144, !30, i64 160, !38, i64 168, !15, i64 176, !38, i64 192, !15, i64 200, !30, i64 216, !30, i64 224}
!38 = !{!"float", !9, i64 0}
!39 = !{!"_ZTSSt14priority_queueIN4TPCE10TTradeInfoESt6vectorIS1_SaIS1_EESt7greaterIS1_EE", !40, i64 0, !44, i64 24}
!40 = !{!"_ZTSSt6vectorIN4TPCE10TTradeInfoESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN4TPCE10TTradeInfoESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!44 = !{!"_ZTSSt7greaterIN4TPCE10TTradeInfoEE"}
!45 = !{!"_ZTSN4TPCE10TTradeInfoE", !8, i64 0, !46, i64 8, !47, i64 12, !30, i64 16, !30, i64 24, !30, i64 32, !8, i64 40, !16, i64 48, !16, i64 52, !48, i64 56, !48, i64 64, !8, i64 72, !49, i64 80, !8, i64 88, !14, i64 96}
!46 = !{!"_ZTSN4TPCE12eTradeTypeIDE", !9, i64 0}
!47 = !{!"_ZTSN4TPCE13eStatusTypeIDE", !9, i64 0}
!48 = !{!"_ZTSN4TPCE6CMoneyE", !8, i64 0}
!49 = !{!"_ZTSN4TPCE13eCustomerTierE", !9, i64 0}
!50 = !{!"_ZTSN4TPCE20TAdditionalTradeInfoE", !48, i64 0, !48, i64 8, !8, i64 16, !51, i64 24, !48, i64 32, !48, i64 40, !48, i64 48, !48, i64 56}
!51 = !{!"_ZTSN4TPCE10eTaxStatusE", !9, i64 0}
!52 = !{!"_ZTSN4TPCE9TTradeRowE", !53, i64 0, !54, i64 168, !9, i64 216, !55, i64 312, !56, i64 392, !9, i64 528}
!53 = !{!"_ZTSN4TPCE9TRADE_ROWE", !8, i64 0, !15, i64 8, !9, i64 24, !9, i64 29, !14, i64 33, !9, i64 34, !16, i64 52, !30, i64 56, !8, i64 64, !9, i64 72, !30, i64 128, !30, i64 136, !30, i64 144, !30, i64 152, !14, i64 160}
!54 = !{!"_ZTSN4TPCE17TRADE_REQUEST_ROWE", !8, i64 0, !9, i64 8, !9, i64 12, !16, i64 28, !30, i64 32, !8, i64 40}
!55 = !{!"_ZTSN4TPCE14SETTLEMENT_ROWE", !8, i64 0, !9, i64 8, !15, i64 56, !30, i64 72}
!56 = !{!"_ZTSN4TPCE20CASH_TRANSACTION_ROWE", !8, i64 0, !15, i64 8, !30, i64 24, !9, i64 32}
!57 = !{!"_ZTSN4TPCE11HOLDING_ROWE", !8, i64 0, !8, i64 8, !9, i64 16, !15, i64 32, !30, i64 48, !16, i64 56}
!58 = !{!"_ZTSN4TPCE19HOLDING_SUMMARY_ROWE", !8, i64 0, !9, i64 8, !16, i64 24}
!59 = !{!"_ZTSN4TPCE12CMEESecurityE", !7, i64 0, !48, i64 8, !48, i64 16, !48, i64 24, !16, i64 32, !16, i64 36, !17, i64 40, !17, i64 48, !30, i64 56}
!60 = !{!"_ZTSSt14_List_iteratorIN4TPCE12THoldingInfoEE", !17, i64 0}
!61 = !{!62, !16, i64 12}
!62 = !{!"_ZTSN4TPCE10CHARGE_ROWE", !63, i64 0, !9, i64 8, !16, i64 12, !30, i64 16}
!63 = !{!"_ZTSN4TPCE13TBaseInputRowE"}
!64 = !{!6, !17, i64 6080}
!65 = !{!62, !30, i64 16}
!66 = distinct !{!66, !67}
!67 = !{!"llvm.loop.mustprogress"}


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