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

; 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::CDM" = type { %"class.TPCE::CDriverGlobalSettings", %"class.TPCE::CDriverDMSettings", %"class.TPCE::CRandom", %"class.TPCE::CCustomerSelection", %"class.TPCE::CCustomerAccountsAndPermissionsTable", ptr, ptr, ptr, ptr, i64, i64, i64, i32, i64, i32, %"struct.TPCE::TDataMaintenanceTxnInput", %"struct.TPCE::TTradeCleanupTxnInput", ptr, ptr }
%"class.TPCE::CDriverGlobalSettings" = type { %"class.TPCE::CParametersWithDefaults" }
%"class.TPCE::CParametersWithDefaults" = type { ptr, %"struct.TPCE::TDriverGlobalSettings", %"struct.TPCE::TDriverGlobalSettingsState", %"struct.TPCE::TDriverGlobalSettings" }
%"struct.TPCE::TDriverGlobalSettingsState" = type { i8, i8, i8, i8 }
%"struct.TPCE::TDriverGlobalSettings" = type { i64, i64, i32, i32 }
%"class.TPCE::CDriverDMSettings" = type { %"class.TPCE::CParametersWithoutDefaults" }
%"class.TPCE::CParametersWithoutDefaults" = type { ptr, %"struct.TPCE::TDriverDMSettings" }
%"struct.TPCE::TDriverDMSettings" = type { i32, i64 }
%"class.TPCE::CRandom" = type { i64 }
%"class.TPCE::CCustomerSelection" = type { ptr, i64, i64, i8, i32, i64, i64 }
%"class.TPCE::CCustomerAccountsAndPermissionsTable" = type { %"class.TPCE::TableTemplate", 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" = 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::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::CDateTime" = type { i32, i32, ptr }
%"class.TPCE::CPerson" = type { ptr, ptr, ptr, %"class.TPCE::CRandom", i8, i32, i64, ptr, ptr }
%"class.TPCE::CAddressTable" = type { %"class.TPCE::TableTemplate.1", %"class.TPCE::CDateTime", ptr, ptr, ptr, ptr, i64, i64, i8, i8, i64, i32, i64, i8, i32, i64, ptr }
%"class.TPCE::TableTemplate.1" = 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] }
%"struct.TPCE::TDataMaintenanceTxnInput" = type { i64, i64, i64, i32, i32, [16 x i8], [31 x i8], [5 x i8] }
%"struct.TPCE::TTradeCleanupTxnInput" = type { i64, [5 x i8], [5 x i8], [5 x i8] }
%"struct.TPCE::TTaxRateInputRow" = type { %"struct.TPCE::TBaseInputRow", [5 x i8], [51 x i8], double }
%"struct.TPCE::TBaseInputRow" = type { ptr }

@_ZL24DataMaintenanceTableName = external hidden global [12 x ptr], align 16
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._ZN4TPCE3CDM5DoTxnEv = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM31GenerateRandomCustomerAccountIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE3CDM5DoTxnEv(ptr noundef nonnull align 8 dereferenceable(1968) %0) #0 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  %6 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  call void @llvm.memset.p0.i64(ptr align 8 %6, i8 0, i64 88, i1 false)
  %7 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %8 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %7, i32 0, i32 6
  %9 = getelementptr inbounds [31 x i8], ptr %8, i64 0, i64 0
  %10 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 14
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [12 x ptr], ptr @_ZL24DataMaintenanceTableName, i64 0, i64 %12
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = call ptr @strncpy(ptr noundef %9, ptr noundef %14, i64 noundef 31) #7
  %16 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 14
  %17 = load i32, ptr %16, align 8, !tbaa !9
  switch i32 %17, label %113 [
    i32 0, label %18
    i32 1, label %22
    i32 2, label %34
    i32 3, label %38
    i32 4, label %42
    i32 5, label %46
    i32 6, label %114
    i32 7, label %69
    i32 8, label %73
    i32 9, label %77
    i32 10, label %84
    i32 11, label %109
  ]

18:                                               ; preds = %1
  %19 = call noundef i64 @_ZN4TPCE3CDM31GenerateRandomCustomerAccountIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %20 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %21 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %20, i32 0, i32 0
  store i64 %19, ptr %21, align 8, !tbaa !38
  br label %114

22:                                               ; preds = %1
  %23 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 2
  %24 = call noundef zeroext i1 @_ZN4TPCE7CRandom10RndPercentEi(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 67)
  br i1 %24, label %25, label %29

25:                                               ; preds = %22
  %26 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %27 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %28 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %27, i32 0, i32 1
  store i64 %26, ptr %28, align 8, !tbaa !39
  br label %33

29:                                               ; preds = %22
  %30 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %31 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %32 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %31, i32 0, i32 2
  store i64 %30, ptr %32, align 8, !tbaa !40
  br label %33

33:                                               ; preds = %29, %25
  br label %114

34:                                               ; preds = %1
  %35 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %36 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %37 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %36, i32 0, i32 2
  store i64 %35, ptr %37, align 8, !tbaa !40
  br label %114

38:                                               ; preds = %1
  %39 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %40 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %41 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %40, i32 0, i32 1
  store i64 %39, ptr %41, align 8, !tbaa !39
  br label %114

42:                                               ; preds = %1
  %43 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %44 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %45 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %44, i32 0, i32 1
  store i64 %43, ptr %45, align 8, !tbaa !39
  br label %114

46:                                               ; preds = %1
  %47 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 5
  %48 = load ptr, ptr %47, align 8, !tbaa !41
  %49 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %50 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %51 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %50, i32 0, i32 5
  %52 = getelementptr inbounds [16 x i8], ptr %51, i64 0, i64 0
  call void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161) %48, i64 noundef %49, ptr noundef %52, i64 noundef 16)
  %53 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 2
  %54 = call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %53, i32 noundef 1, i32 noundef 31)
  %55 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %56 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %55, i32 0, i32 3
  store i32 %54, ptr %56, align 8, !tbaa !42
  %57 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 2
  %58 = call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %57, i32 noundef -2, i32 noundef 3)
  %59 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %60 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %59, i32 0, i32 4
  store i32 %58, ptr %60, align 4, !tbaa !43
  %61 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %62 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %61, i32 0, i32 4
  %63 = load i32, ptr %62, align 4, !tbaa !43
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %46
  %66 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %67 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %66, i32 0, i32 4
  store i32 -3, ptr %67, align 4, !tbaa !43
  br label %68

68:                                               ; preds = %65, %46
  br label %114

69:                                               ; preds = %1
  %70 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %71 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %72 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %71, i32 0, i32 2
  store i64 %70, ptr %72, align 8, !tbaa !40
  br label %114

73:                                               ; preds = %1
  %74 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %75 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %76 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %75, i32 0, i32 2
  store i64 %74, ptr %76, align 8, !tbaa !40
  br label %114

77:                                               ; preds = %1
  %78 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 5
  %79 = load ptr, ptr %78, align 8, !tbaa !41
  %80 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %81 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %82 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %81, i32 0, i32 5
  %83 = getelementptr inbounds [16 x i8], ptr %82, i64 0, i64 0
  call void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161) %79, i64 noundef %80, ptr noundef %83, i64 noundef 16)
  br label %114

84:                                               ; preds = %1
  %85 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 7
  %86 = load ptr, ptr %85, align 8, !tbaa !44
  %87 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 2
  %88 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 12
  %89 = load i32, ptr %88, align 8, !tbaa !45
  %90 = sub nsw i32 %89, 1
  %91 = call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %87, i32 noundef 0, i32 noundef %90)
  %92 = call noundef ptr @_ZN4TPCE18CInputFileNoWeightINS_16TTaxRateInputRowEE9GetRecordEj(ptr noundef nonnull align 8 dereferenceable(24) %86, i32 noundef %91)
  store ptr %92, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 2
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = call noundef i64 @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #7
  %96 = trunc i64 %95 to i32
  %97 = sub i32 %96, 1
  %98 = call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %93, i32 noundef 0, i32 noundef %97)
  store i32 %98, ptr %4, align 4, !tbaa !46
  %99 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %100 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %99, i32 0, i32 7
  %101 = getelementptr inbounds [5 x i8], ptr %100, i64 0, i64 0
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = load i32, ptr %4, align 4, !tbaa !46
  %104 = zext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #7
  %106 = getelementptr inbounds %"struct.TPCE::TTaxRateInputRow", ptr %105, i32 0, i32 1
  %107 = getelementptr inbounds [5 x i8], ptr %106, i64 0, i64 0
  %108 = call ptr @strncpy(ptr noundef %101, ptr noundef %107, i64 noundef 5) #7
  br label %114

109:                                              ; preds = %1
  %110 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %5)
  %111 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %112 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %111, i32 0, i32 1
  store i64 %110, ptr %112, align 8, !tbaa !39
  br label %114

113:                                              ; preds = %1
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 277, ptr noundef @__PRETTY_FUNCTION__._ZN4TPCE3CDM5DoTxnEv) #8
  unreachable

114:                                              ; preds = %109, %84, %77, %73, %69, %68, %42, %38, %34, %33, %18, %1
  %115 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 17
  %116 = load ptr, ptr %115, align 8, !tbaa !47
  %117 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 15
  %118 = load ptr, ptr %116, align 8, !tbaa !48
  %119 = getelementptr inbounds ptr, ptr %118, i64 2
  %120 = load ptr, ptr %119, align 8
  %121 = call noundef zeroext i1 %120(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef %117)
  %122 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 14
  %123 = load i32, ptr %122, align 8, !tbaa !9
  %124 = add nsw i32 %123, 1
  %125 = srem i32 %124, 12
  %126 = getelementptr inbounds %"class.TPCE::CDM", ptr %5, i32 0, i32 14
  store i32 %125, ptr %126, align 8, !tbaa !9
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4TPCE7CRandom10RndPercentEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161), i64 noundef, ptr noundef, i64 noundef) #0 align 2

declare noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !15, i64 1832}
!10 = !{!"_ZTSN4TPCE3CDME", !11, i64 0, !18, i64 64, !21, i64 88, !22, i64 96, !23, i64 144, !6, i64 1760, !6, i64 1768, !6, i64 1776, !6, i64 1784, !14, i64 1792, !14, i64 1800, !14, i64 1808, !15, i64 1816, !14, i64 1824, !15, i64 1832, !36, i64 1840, !37, i64 1928, !6, i64 1952, !6, i64 1960}
!11 = !{!"_ZTSN4TPCE21CDriverGlobalSettingsE", !12, i64 0}
!12 = !{!"_ZTSN4TPCE23CParametersWithDefaultsINS_21TDriverGlobalSettingsENS_26TDriverGlobalSettingsStateEEE", !13, i64 8, !16, i64 32, !13, i64 40}
!13 = !{!"_ZTSN4TPCE21TDriverGlobalSettingsE", !14, i64 0, !14, i64 8, !15, i64 16, !15, i64 20}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN4TPCE26TDriverGlobalSettingsStateE", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN4TPCE17CDriverDMSettingsE", !19, i64 0}
!19 = !{!"_ZTSN4TPCE26CParametersWithoutDefaultsINS_17TDriverDMSettingsEEE", !20, i64 8}
!20 = !{!"_ZTSN4TPCE17TDriverDMSettingsE", !15, i64 0, !14, i64 8}
!21 = !{!"_ZTSN4TPCE7CRandomE", !14, i64 0}
!22 = !{!"_ZTSN4TPCE18CCustomerSelectionE", !6, i64 0, !14, i64 8, !14, i64 16, !17, i64 24, !15, i64 28, !14, i64 32, !14, i64 40}
!23 = !{!"_ZTSN4TPCE36CCustomerAccountsAndPermissionsTableE", !24, i64 0, !6, i64 472, !6, i64 480, !14, i64 488, !14, i64 496, !14, i64 504, !15, i64 512, !15, i64 516, !28, i64 520, !32, i64 1016, !15, i64 1080, !14, i64 1088, !33, i64 1096, !15, i64 1512, !22, i64 1520, !17, i64 1568, !15, i64 1572, !14, i64 1576, !6, i64 1584, !15, i64 1592, !14, i64 1600, !6, i64 1608}
!24 = !{!"_ZTSN4TPCE13TableTemplateINS_35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWEEE", !25, i64 8, !14, i64 448, !17, i64 456, !21, i64 464}
!25 = !{!"_ZTSN4TPCE35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWE", !26, i64 0, !7, i64 88}
!26 = !{!"_ZTSN4TPCE20CUSTOMER_ACCOUNT_ROWE", !14, i64 0, !14, i64 8, !14, i64 16, !7, i64 24, !7, i64 75, !27, i64 80}
!27 = !{!"double", !7, i64 0}
!28 = !{!"_ZTSN4TPCE14CCustomerTableE", !29, i64 0, !14, i64 328, !32, i64 336, !6, i64 400, !14, i64 408, !14, i64 416, !14, i64 424, !15, i64 432, !6, i64 440, !22, i64 448}
!29 = !{!"_ZTSN4TPCE13TableTemplateINS_12CUSTOMER_ROWEEE", !30, i64 8, !14, i64 304, !17, i64 312, !21, i64 320}
!30 = !{!"_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, !31, 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}
!31 = !{!"_ZTSN4TPCE9CDateTimeE", !15, i64 0, !15, i64 4, !6, i64 8}
!32 = !{!"_ZTSN4TPCE7CPersonE", !6, i64 0, !6, i64 8, !6, i64 16, !21, i64 24, !17, i64 32, !15, i64 36, !14, i64 40, !6, i64 48, !6, i64 56}
!33 = !{!"_ZTSN4TPCE13CAddressTableE", !34, i64 0, !31, i64 296, !6, i64 312, !6, i64 320, !6, i64 328, !6, i64 336, !14, i64 344, !14, i64 352, !17, i64 360, !17, i64 361, !14, i64 368, !15, i64 376, !14, i64 384, !17, i64 392, !15, i64 396, !14, i64 400, !6, i64 408}
!34 = !{!"_ZTSN4TPCE13TableTemplateINS_11ADDRESS_ROWEEE", !35, i64 8, !14, i64 272, !17, i64 280, !21, i64 288}
!35 = !{!"_ZTSN4TPCE11ADDRESS_ROWE", !14, i64 0, !7, i64 8, !7, i64 89, !7, i64 170, !7, i64 183}
!36 = !{!"_ZTSN4TPCE24TDataMaintenanceTxnInputE", !14, i64 0, !14, i64 8, !14, i64 16, !15, i64 24, !15, i64 28, !7, i64 32, !7, i64 48, !7, i64 79}
!37 = !{!"_ZTSN4TPCE21TTradeCleanupTxnInputE", !14, i64 0, !7, i64 8, !7, i64 13, !7, i64 18}
!38 = !{!10, !14, i64 1840}
!39 = !{!10, !14, i64 1848}
!40 = !{!10, !14, i64 1856}
!41 = !{!10, !6, i64 1760}
!42 = !{!10, !15, i64 1864}
!43 = !{!10, !15, i64 1868}
!44 = !{!10, !6, i64 1776}
!45 = !{!10, !15, i64 1816}
!46 = !{!15, !15, i64 0}
!47 = !{!10, !6, i64 1952}
!48 = !{!49, !49, i64 0}
!49 = !{!"vtable pointer", !8, 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"

@_ZL24DataMaintenanceTableName = external hidden local_unnamed_addr global [12 x ptr], align 16
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._ZN4TPCE3CDM5DoTxnEv = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM31GenerateRandomCustomerAccountIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4TPCE3CDM5DoTxnEv(ptr noundef nonnull align 8 dereferenceable(1968) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 1840
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %2, i8 0, i64 88, i1 false)
  %3 = getelementptr inbounds i8, ptr %0, i64 1888
  %4 = getelementptr inbounds i8, ptr %0, i64 1832
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = sext i32 %5 to i64
  %7 = getelementptr inbounds [12 x ptr], ptr @_ZL24DataMaintenanceTableName, i64 0, i64 %6
  %8 = load ptr, ptr %7, align 8, !tbaa !37
  %9 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %8, i64 noundef 31) #7
  switch i32 %5, label %73 [
    i32 0, label %10
    i32 1, label %12
    i32 2, label %21
    i32 3, label %24
    i32 4, label %27
    i32 5, label %30
    i32 6, label %74
    i32 7, label %41
    i32 8, label %44
    i32 9, label %47
    i32 10, label %52
    i32 11, label %70
  ]

10:                                               ; preds = %1
  %11 = tail call noundef i64 @_ZN4TPCE3CDM31GenerateRandomCustomerAccountIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  store i64 %11, ptr %2, align 8, !tbaa !38
  br label %74

12:                                               ; preds = %1
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  %14 = tail call noundef zeroext i1 @_ZN4TPCE7CRandom10RndPercentEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 67)
  br i1 %14, label %15, label %18

15:                                               ; preds = %12
  %16 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %17 = getelementptr inbounds i8, ptr %0, i64 1848
  store i64 %16, ptr %17, align 8, !tbaa !39
  br label %74

18:                                               ; preds = %12
  %19 = tail call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %20 = getelementptr inbounds i8, ptr %0, i64 1856
  store i64 %19, ptr %20, align 8, !tbaa !40
  br label %74

21:                                               ; preds = %1
  %22 = tail call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %23 = getelementptr inbounds i8, ptr %0, i64 1856
  store i64 %22, ptr %23, align 8, !tbaa !40
  br label %74

24:                                               ; preds = %1
  %25 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %26 = getelementptr inbounds i8, ptr %0, i64 1848
  store i64 %25, ptr %26, align 8, !tbaa !39
  br label %74

27:                                               ; preds = %1
  %28 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %29 = getelementptr inbounds i8, ptr %0, i64 1848
  store i64 %28, ptr %29, align 8, !tbaa !39
  br label %74

30:                                               ; preds = %1
  %31 = getelementptr inbounds i8, ptr %0, i64 1760
  %32 = load ptr, ptr %31, align 8, !tbaa !41
  %33 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %34 = getelementptr inbounds i8, ptr %0, i64 1872
  tail call void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161) %32, i64 noundef %33, ptr noundef nonnull %34, i64 noundef 16)
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  %36 = tail call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef 1, i32 noundef 31)
  %37 = getelementptr inbounds i8, ptr %0, i64 1864
  store i32 %36, ptr %37, align 8, !tbaa !42
  %38 = tail call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %35, i32 noundef -2, i32 noundef 3)
  %39 = getelementptr inbounds i8, ptr %0, i64 1868
  %40 = icmp eq i32 %38, 0
  %spec.store.select = select i1 %40, i32 -3, i32 %38
  store i32 %spec.store.select, ptr %39, align 4
  br label %74

41:                                               ; preds = %1
  %42 = tail call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %43 = getelementptr inbounds i8, ptr %0, i64 1856
  store i64 %42, ptr %43, align 8, !tbaa !40
  br label %74

44:                                               ; preds = %1
  %45 = tail call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %46 = getelementptr inbounds i8, ptr %0, i64 1856
  store i64 %45, ptr %46, align 8, !tbaa !40
  br label %74

47:                                               ; preds = %1
  %48 = getelementptr inbounds i8, ptr %0, i64 1760
  %49 = load ptr, ptr %48, align 8, !tbaa !41
  %50 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomSecurityIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %51 = getelementptr inbounds i8, ptr %0, i64 1872
  tail call void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161) %49, i64 noundef %50, ptr noundef nonnull %51, i64 noundef 16)
  br label %74

52:                                               ; preds = %1
  %53 = getelementptr inbounds i8, ptr %0, i64 1776
  %54 = load ptr, ptr %53, align 8, !tbaa !43
  %55 = getelementptr inbounds i8, ptr %0, i64 88
  %56 = getelementptr inbounds i8, ptr %0, i64 1816
  %57 = load i32, ptr %56, align 8, !tbaa !44
  %58 = add nsw i32 %57, -1
  %59 = tail call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %55, i32 noundef 0, i32 noundef %58)
  %60 = tail call noundef ptr @_ZN4TPCE18CInputFileNoWeightINS_16TTaxRateInputRowEE9GetRecordEj(ptr noundef nonnull align 8 dereferenceable(24) %54, i32 noundef %59)
  %61 = tail call noundef i64 @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  %62 = trunc i64 %61 to i32
  %63 = add i32 %62, -1
  %64 = tail call noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8) %55, i32 noundef 0, i32 noundef %63)
  %65 = getelementptr inbounds i8, ptr %0, i64 1919
  %66 = zext i32 %64 to i64
  %67 = tail call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %66) #7
  %68 = getelementptr inbounds i8, ptr %67, i64 8
  %69 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %65, ptr noundef nonnull dereferenceable(1) %68, i64 noundef 5) #7
  br label %74

70:                                               ; preds = %1
  %71 = tail call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %0)
  %72 = getelementptr inbounds i8, ptr %0, i64 1848
  store i64 %71, ptr %72, align 8, !tbaa !39
  br label %74

73:                                               ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.4, i32 noundef 277, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4TPCE3CDM5DoTxnEv) #8
  unreachable

74:                                               ; preds = %30, %15, %18, %70, %52, %47, %44, %41, %27, %24, %21, %10, %1
  %75 = getelementptr inbounds i8, ptr %0, i64 1952
  %76 = load ptr, ptr %75, align 8, !tbaa !45
  %77 = load ptr, ptr %76, align 8, !tbaa !46
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = load ptr, ptr %78, align 8
  %80 = tail call noundef zeroext i1 %79(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull %2)
  %81 = load i32, ptr %4, align 8, !tbaa !5
  %82 = add nsw i32 %81, 1
  %83 = srem i32 %82, 12
  store i32 %83, ptr %4, align 8, !tbaa !5
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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 #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4TPCE7CRandom10RndPercentEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4TPCE13CSecurityFile12CreateSymbolExPcm(ptr noundef nonnull align 8 dereferenceable(161), i64 noundef, ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

declare noundef i32 @_ZN4TPCE7CRandom11RndIntRangeEii(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN4TPCE16TTaxRateInputRowESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { 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 #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 = { "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !13, i64 1832}
!6 = !{!"_ZTSN4TPCE3CDME", !7, i64 0, !16, i64 64, !19, i64 88, !20, i64 96, !22, i64 144, !21, i64 1760, !21, i64 1768, !21, i64 1776, !21, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !13, i64 1816, !10, i64 1824, !13, i64 1832, !35, i64 1840, !36, i64 1928, !21, i64 1952, !21, i64 1960}
!7 = !{!"_ZTSN4TPCE21CDriverGlobalSettingsE", !8, i64 0}
!8 = !{!"_ZTSN4TPCE23CParametersWithDefaultsINS_21TDriverGlobalSettingsENS_26TDriverGlobalSettingsStateEEE", !9, i64 8, !14, i64 32, !9, i64 40}
!9 = !{!"_ZTSN4TPCE21TDriverGlobalSettingsE", !10, i64 0, !10, i64 8, !13, i64 16, !13, i64 20}
!10 = !{!"long long", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"int", !11, i64 0}
!14 = !{!"_ZTSN4TPCE26TDriverGlobalSettingsStateE", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3}
!15 = !{!"bool", !11, i64 0}
!16 = !{!"_ZTSN4TPCE17CDriverDMSettingsE", !17, i64 0}
!17 = !{!"_ZTSN4TPCE26CParametersWithoutDefaultsINS_17TDriverDMSettingsEEE", !18, i64 8}
!18 = !{!"_ZTSN4TPCE17TDriverDMSettingsE", !13, i64 0, !10, i64 8}
!19 = !{!"_ZTSN4TPCE7CRandomE", !10, i64 0}
!20 = !{!"_ZTSN4TPCE18CCustomerSelectionE", !21, i64 0, !10, i64 8, !10, i64 16, !15, i64 24, !13, i64 28, !10, i64 32, !10, i64 40}
!21 = !{!"any pointer", !11, i64 0}
!22 = !{!"_ZTSN4TPCE36CCustomerAccountsAndPermissionsTableE", !23, i64 0, !21, i64 472, !21, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !13, i64 512, !13, i64 516, !27, i64 520, !31, i64 1016, !13, i64 1080, !10, i64 1088, !32, i64 1096, !13, i64 1512, !20, i64 1520, !15, i64 1568, !13, i64 1572, !10, i64 1576, !21, i64 1584, !13, i64 1592, !10, i64 1600, !21, i64 1608}
!23 = !{!"_ZTSN4TPCE13TableTemplateINS_35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWEEE", !24, i64 8, !10, i64 448, !15, i64 456, !19, i64 464}
!24 = !{!"_ZTSN4TPCE35CUSTOMER_ACCOUNT_AND_PERMISSION_ROWE", !25, i64 0, !11, i64 88}
!25 = !{!"_ZTSN4TPCE20CUSTOMER_ACCOUNT_ROWE", !10, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !11, i64 75, !26, i64 80}
!26 = !{!"double", !11, i64 0}
!27 = !{!"_ZTSN4TPCE14CCustomerTableE", !28, i64 0, !10, i64 328, !31, i64 336, !21, i64 400, !10, i64 408, !10, i64 416, !10, i64 424, !13, i64 432, !21, i64 440, !20, i64 448}
!28 = !{!"_ZTSN4TPCE13TableTemplateINS_12CUSTOMER_ROWEEE", !29, i64 8, !10, i64 304, !15, i64 312, !19, i64 320}
!29 = !{!"_ZTSN4TPCE12CUSTOMER_ROWE", !10, i64 0, !11, i64 8, !11, i64 29, !11, i64 34, !11, i64 60, !11, i64 81, !11, i64 83, !11, i64 84, !30, i64 88, !10, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 131, !11, i64 137, !11, i64 141, !11, i64 145, !11, i64 156, !11, i64 162, !11, i64 166, !11, i64 170, !11, i64 181, !11, i64 187, !11, i64 238}
!30 = !{!"_ZTSN4TPCE9CDateTimeE", !13, i64 0, !13, i64 4, !21, i64 8}
!31 = !{!"_ZTSN4TPCE7CPersonE", !21, i64 0, !21, i64 8, !21, i64 16, !19, i64 24, !15, i64 32, !13, i64 36, !10, i64 40, !21, i64 48, !21, i64 56}
!32 = !{!"_ZTSN4TPCE13CAddressTableE", !33, i64 0, !30, i64 296, !21, i64 312, !21, i64 320, !21, i64 328, !21, i64 336, !10, i64 344, !10, i64 352, !15, i64 360, !15, i64 361, !10, i64 368, !13, i64 376, !10, i64 384, !15, i64 392, !13, i64 396, !10, i64 400, !21, i64 408}
!33 = !{!"_ZTSN4TPCE13TableTemplateINS_11ADDRESS_ROWEEE", !34, i64 8, !10, i64 272, !15, i64 280, !19, i64 288}
!34 = !{!"_ZTSN4TPCE11ADDRESS_ROWE", !10, i64 0, !11, i64 8, !11, i64 89, !11, i64 170, !11, i64 183}
!35 = !{!"_ZTSN4TPCE24TDataMaintenanceTxnInputE", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !13, i64 28, !11, i64 32, !11, i64 48, !11, i64 79}
!36 = !{!"_ZTSN4TPCE21TTradeCleanupTxnInputE", !10, i64 0, !11, i64 8, !11, i64 13, !11, i64 18}
!37 = !{!21, !21, i64 0}
!38 = !{!6, !10, i64 1840}
!39 = !{!6, !10, i64 1848}
!40 = !{!6, !10, i64 1856}
!41 = !{!6, !21, i64 1760}
!42 = !{!6, !13, i64 1864}
!43 = !{!6, !21, i64 1776}
!44 = !{!6, !13, i64 1816}
!45 = !{!6, !21, i64 1952}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !12, i64 0}


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