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

; 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::TDataMaintenanceTxnInput" = type { i64, i64, i64, i32, i32, [16 x i8], [31 x i8], [5 x i8] }
%"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::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__._ZN4TPCE3CDM13createDMInputEv = external hidden unnamed_addr constant [53 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: mustprogress uwtable
declare dso_local noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968)) #1 align 2

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4TPCE3CDM13createDMInputEv(ptr noundef nonnull align 8 dereferenceable(1968) %0) #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  %7 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 88) #10
  call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 88, i1 false)
  store ptr %7, ptr %3, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 88, i1 false)
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %9, i32 0, i32 6
  %11 = getelementptr inbounds [31 x i8], ptr %10, i64 0, i64 0
  %12 = getelementptr inbounds %"class.TPCE::CDM", ptr %6, i32 0, i32 14
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = sext i32 %13 to i64
  %15 = getelementptr inbounds [12 x ptr], ptr @_ZL24DataMaintenanceTableName, i64 0, i64 %14
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = call ptr @strncpy(ptr noundef %11, ptr noundef %16, i64 noundef 31) #9
  %18 = getelementptr inbounds %"class.TPCE::CDM", ptr %6, i32 0, i32 14
  %19 = load i32, ptr %18, align 8, !tbaa !9
  switch i32 %19, label %115 [
    i32 0, label %20
    i32 1, label %24
    i32 2, label %36
    i32 3, label %40
    i32 4, label %44
    i32 5, label %48
    i32 6, label %116
    i32 7, label %71
    i32 8, label %75
    i32 9, label %79
    i32 10, label %86
    i32 11, label %111
  ]

20:                                               ; preds = %1
  %21 = call noundef i64 @_ZN4TPCE3CDM31GenerateRandomCustomerAccountIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %22, i32 0, i32 0
  store i64 %21, ptr %23, align 8, !tbaa !38
  br label %116

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

27:                                               ; preds = %24
  %28 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %29, i32 0, i32 1
  store i64 %28, ptr %30, align 8, !tbaa !39
  br label %35

31:                                               ; preds = %24
  %32 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %33, i32 0, i32 2
  store i64 %32, ptr %34, align 8, !tbaa !40
  br label %35

35:                                               ; preds = %31, %27
  br label %116

36:                                               ; preds = %1
  %37 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %38, i32 0, i32 2
  store i64 %37, ptr %39, align 8, !tbaa !40
  br label %116

40:                                               ; preds = %1
  %41 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %42, i32 0, i32 1
  store i64 %41, ptr %43, align 8, !tbaa !39
  br label %116

44:                                               ; preds = %1
  %45 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %46, i32 0, i32 1
  store i64 %45, ptr %47, align 8, !tbaa !39
  br label %116

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

67:                                               ; preds = %48
  %68 = load ptr, ptr %3, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %68, i32 0, i32 4
  store i32 -3, ptr %69, align 4, !tbaa !43
  br label %70

70:                                               ; preds = %67, %48
  br label %116

71:                                               ; preds = %1
  %72 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %73, i32 0, i32 2
  store i64 %72, ptr %74, align 8, !tbaa !40
  br label %116

75:                                               ; preds = %1
  %76 = call noundef i64 @_ZN4TPCE3CDM23GenerateRandomCompanyIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %77, i32 0, i32 2
  store i64 %76, ptr %78, align 8, !tbaa !40
  br label %116

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

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

111:                                              ; preds = %1
  %112 = call noundef i64 @_ZN4TPCE3CDM24GenerateRandomCustomerIdEv(ptr noundef nonnull align 8 dereferenceable(1968) %6)
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.TPCE::TDataMaintenanceTxnInput", ptr %113, i32 0, i32 1
  store i64 %112, ptr %114, align 8, !tbaa !39
  br label %116

115:                                              ; preds = %1
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.4, i32 noundef 356, ptr noundef @__PRETTY_FUNCTION__._ZN4TPCE3CDM13createDMInputEv) #11
  unreachable

116:                                              ; preds = %111, %86, %79, %75, %71, %70, %44, %40, %36, %35, %20, %1
  %117 = getelementptr inbounds %"class.TPCE::CDM", ptr %6, i32 0, i32 14
  %118 = load i32, ptr %117, align 8, !tbaa !9
  %119 = add nsw i32 %118, 1
  %120 = srem i32 %119, 12
  %121 = getelementptr inbounds %"class.TPCE::CDM", ptr %6, i32 0, i32 14
  store i32 %120, ptr %121, align 8, !tbaa !9
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret ptr %122
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #8

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { 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 #5 = { "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 = { 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 #7 = { 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 #8 = { nobuiltin allocsize(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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { 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 = !{!36, !14, i64 0}
!39 = !{!36, !14, i64 8}
!40 = !{!36, !14, i64 16}
!41 = !{!10, !6, i64 1760}
!42 = !{!36, !15, i64 24}
!43 = !{!36, !15, i64 28}
!44 = !{!10, !6, i64 1776}
!45 = !{!10, !15, i64 1816}
!46 = !{!15, !15, 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__._ZN4TPCE3CDM13createDMInputEv = external hidden unnamed_addr constant [53 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 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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN4TPCE3CDM13createDMInputEv(ptr noundef nonnull align 8 dereferenceable(1968) %0) local_unnamed_addr #0 align 2 {
  %2 = tail call noalias noundef nonnull dereferenceable(88) ptr @_Znwm(i64 noundef 88) #8
  %3 = getelementptr inbounds i8, ptr %2, i64 48
  %4 = getelementptr inbounds i8, ptr %0, i64 1832
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %2, i8 0, i64 88, i1 false)
  %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) #9
  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 %2, i64 8
  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 %2, i64 16
  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 %2, i64 16
  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 %2, i64 8
  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 %2, i64 8
  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 %2, i64 32
  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 %2, i64 24
  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 %2, i64 28
  %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 %2, i64 16
  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 %2, i64 16
  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 %2, i64 32
  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) #9
  %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 %2, i64 79
  %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) #9
  %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) #9
  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 %2, i64 8
  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 356, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4TPCE3CDM13createDMInputEv) #10
  unreachable

74:                                               ; preds = %30, %15, %18, %70, %52, %47, %44, %41, %27, %24, %21, %10, %1
  %75 = load i32, ptr %4, align 8, !tbaa !5
  %76 = add nsw i32 %75, 1
  %77 = srem i32 %76, 12
  store i32 %77, ptr %4, align 8, !tbaa !5
  ret ptr %2
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7

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 = { nobuiltin allocsize(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 #8 = { builtin allocsize(0) }
attributes #9 = { nounwind }
attributes #10 = { 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 = !{!35, !10, i64 0}
!39 = !{!35, !10, i64 8}
!40 = !{!35, !10, i64 16}
!41 = !{!6, !21, i64 1760}
!42 = !{!35, !13, i64 24}
!43 = !{!6, !21, i64 1776}
!44 = !{!6, !13, i64 1816}


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