; LLVM IR from interpretml/interpret :: shared/libebm/BoosterShell.ll (ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv)

; 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.NAMESPACE_MAIN::BoosterShell" = type { i64, ptr, i64, ptr, ptr, ptr, ptr, ptr, i64, ptr, i64, ptr, ptr, ptr }
%"struct.NAMESPACE_MAIN::DataSubsetBoosting" = type { i64, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ObjectiveWrapper = type { ptr, ptr, ptr, ptr, i32, i32, i32, double, double, double, double, double, double, double, double, i32, i64, i64, i64, i32, ptr }

@g_traceLevel = external global i32, align 4
@.str = external hidden unnamed_addr constant [86 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv = external hidden unnamed_addr constant [57 x i8], align 1
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage = external hidden constant [38 x i8], align 16
@.str.3 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_0 = external hidden constant [37 x i8], align 16
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_1 = external hidden constant [69 x i8], align 16

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

declare void @InteralLogWithoutArguments(i32 noundef, ptr noundef) #1

; 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
define dso_local noundef i32 @_ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv(ptr noundef nonnull align 8 dereferenceable(112) %0) #2 align 2 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8
  %23 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = icmp ne ptr null, %24
  br i1 %25, label %28, label %26

26:                                               ; preds = %1
  call void @LogAssertFailure(i64 noundef 78, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef @.str.1)
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str, i32 noundef 78, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #7
  unreachable

27:                                               ; No predecessors!
  br label %28

28:                                               ; preds = %27, %1
  %29 = phi i1 [ true, %1 ], [ false, %27 ]
  br label %30

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 3, ptr %4, align 4, !tbaa !12
  %31 = load i32, ptr @g_traceLevel, align 4, !tbaa !12
  %32 = icmp sle i32 3, %31
  br i1 %32, label %33, label %34

33:                                               ; preds = %30
  call void @InteralLogWithoutArguments(i32 noundef 3, ptr noundef @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage)
  br label %34

34:                                               ; preds = %33, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %35

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  %36 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore14GetCountScoresEv(ptr noundef nonnull align 8 dereferenceable(520) %37)
  store i64 %38, ptr %5, align 8, !tbaa !14
  %39 = load i64, ptr %5, align 8, !tbaa !14
  %40 = icmp ne i64 0, %39
  br i1 %40, label %41, label %273

41:                                               ; preds = %35
  %42 = load i64, ptr %5, align 8, !tbaa !14
  %43 = call noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef 30, i64 noundef %42)
  %44 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 3
  store ptr %43, ptr %44, align 8, !tbaa !15
  %45 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !15
  %47 = icmp eq ptr null, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %41
  br label %281

49:                                               ; preds = %41
  %50 = load i64, ptr %5, align 8, !tbaa !14
  %51 = call noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef 30, i64 noundef %50)
  %52 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 4
  store ptr %51, ptr %52, align 8, !tbaa !16
  %53 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 4
  %54 = load ptr, ptr %53, align 8, !tbaa !16
  %55 = icmp eq ptr null, %54
  br i1 %55, label %56, label %57

56:                                               ; preds = %49
  br label %281

57:                                               ; preds = %49
  %58 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !9
  %60 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %59)
  %61 = icmp ne i64 0, %60
  br i1 %61, label %62, label %73

62:                                               ; preds = %57
  %63 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %64)
  %66 = call ptr @AlignedAlloc(i64 noundef %65)
  %67 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 5
  store ptr %66, ptr %67, align 8, !tbaa !17
  %68 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 5
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = icmp eq ptr null, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %62
  br label %281

72:                                               ; preds = %62
  br label %73

73:                                               ; preds = %72, %57
  %74 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !9
  %76 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %75)
  %77 = icmp ne i64 0, %76
  br i1 %77, label %78, label %89

78:                                               ; preds = %73
  %79 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %80)
  %82 = call ptr @AlignedAlloc(i64 noundef %81)
  %83 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 6
  store ptr %82, ptr %83, align 8, !tbaa !18
  %84 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 6
  %85 = load ptr, ptr %84, align 8, !tbaa !18
  %86 = icmp eq ptr null, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %78
  br label %281

88:                                               ; preds = %78
  br label %89

89:                                               ; preds = %88, %73
  %90 = load i64, ptr %5, align 8, !tbaa !14
  %91 = icmp ne i64 1, %90
  br i1 %91, label %92, label %236

92:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store i64 0, ptr %6, align 8, !tbaa !14
  %93 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %94 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %93)
  %95 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40) %94)
  %96 = icmp ne i64 0, %95
  br i1 %96, label %97, label %156

97:                                               ; preds = %92
  %98 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %99 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %98)
  %100 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %99)
  %101 = icmp ule i64 1, %100
  br i1 %101, label %104, label %102

102:                                              ; preds = %97
  call void @LogAssertFailure(i64 noundef 111, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef @.str.3)
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str, i32 noundef 111, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #7
  unreachable

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %97
  %105 = phi i1 [ true, %97 ], [ false, %103 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %106 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %107 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %106)
  %108 = call noundef ptr @_ZN14NAMESPACE_MAIN15DataSetBoosting10GetSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %107)
  store ptr %108, ptr %7, align 8, !tbaa !5
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = icmp ne ptr null, %109
  br i1 %110, label %113, label %111

111:                                              ; preds = %104
  call void @LogAssertFailure(i64 noundef 113, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef @.str.5)
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str, i32 noundef 113, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #7
  unreachable

112:                                              ; No predecessors!
  br label %113

113:                                              ; preds = %112, %104
  %114 = phi i1 [ true, %104 ], [ false, %112 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %117 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %116)
  %118 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %119 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %115, i64 %118
  store ptr %119, ptr %8, align 8, !tbaa !5
  br label %120

120:                                              ; preds = %148, %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %121)
  %123 = getelementptr inbounds %struct.ObjectiveWrapper, ptr %122, i32 0, i32 16
  %124 = load i64, ptr %123, align 8, !tbaa !19
  store i64 %124, ptr %9, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %125)
  %127 = getelementptr inbounds %struct.ObjectiveWrapper, ptr %126, i32 0, i32 17
  %128 = load i64, ptr %127, align 8, !tbaa !22
  store i64 %128, ptr %10, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %129 = load i64, ptr %10, align 8, !tbaa !14
  %130 = load i64, ptr %9, align 8, !tbaa !14
  %131 = mul i64 %129, %130
  store i64 %131, ptr %11, align 8, !tbaa !14
  %132 = load i64, ptr %11, align 8, !tbaa !14
  %133 = load i64, ptr %5, align 8, !tbaa !14
  %134 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %132, i64 noundef %133) #8
  br i1 %134, label %135, label %136

135:                                              ; preds = %120
  store i32 4, ptr %13, align 4
  br label %145

136:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %137 = load i64, ptr %11, align 8, !tbaa !14
  %138 = load i64, ptr %5, align 8, !tbaa !14
  %139 = mul i64 %137, %138
  store i64 %139, ptr %12, align 8, !tbaa !14
  %140 = load i64, ptr %6, align 8, !tbaa !14
  %141 = load i64, ptr %12, align 8, !tbaa !14
  %142 = call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef %140, i64 noundef %141) #8
  store i64 %142, ptr %6, align 8, !tbaa !14
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %143, i32 1
  store ptr %144, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  store i32 0, ptr %13, align 4
  br label %145

145:                                              ; preds = %136, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %146 = load i32, ptr %13, align 4
  switch i32 %146, label %153 [
    i32 0, label %147
  ]

147:                                              ; preds = %145
  br label %148

148:                                              ; preds = %147
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = icmp ne ptr %149, %150
  br i1 %151, label %120, label %152, !llvm.loop !23

152:                                              ; preds = %148
  store i32 0, ptr %13, align 4
  br label %153

153:                                              ; preds = %152, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  %154 = load i32, ptr %13, align 4
  switch i32 %154, label %233 [
    i32 0, label %155
  ]

155:                                              ; preds = %153
  br label %156

156:                                              ; preds = %155, %92
  %157 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %158 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %157)
  %159 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40) %158)
  %160 = icmp ne i64 0, %159
  br i1 %160, label %161, label %220

161:                                              ; preds = %156
  %162 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %163 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %162)
  %164 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %163)
  %165 = icmp ule i64 1, %164
  br i1 %165, label %168, label %166

166:                                              ; preds = %161
  call void @LogAssertFailure(i64 noundef 131, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef @.str.7)
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str, i32 noundef 131, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #7
  unreachable

167:                                              ; No predecessors!
  br label %168

168:                                              ; preds = %167, %161
  %169 = phi i1 [ true, %161 ], [ false, %167 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %170 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %171 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %170)
  %172 = call noundef ptr @_ZN14NAMESPACE_MAIN15DataSetBoosting10GetSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %171)
  store ptr %172, ptr %14, align 8, !tbaa !5
  %173 = load ptr, ptr %14, align 8, !tbaa !5
  %174 = icmp ne ptr null, %173
  br i1 %174, label %177, label %175

175:                                              ; preds = %168
  call void @LogAssertFailure(i64 noundef 133, ptr noundef @.str, ptr noundef @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef @.str.5)
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str, i32 noundef 133, ptr noundef @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #7
  unreachable

176:                                              ; No predecessors!
  br label %177

177:                                              ; preds = %176, %168
  %178 = phi i1 [ true, %168 ], [ false, %176 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  %180 = call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %22)
  %181 = call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %180)
  %182 = call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %181)
  %183 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %179, i64 %182
  store ptr %183, ptr %15, align 8, !tbaa !5
  br label %184

184:                                              ; preds = %212, %177
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %185)
  %187 = getelementptr inbounds %struct.ObjectiveWrapper, ptr %186, i32 0, i32 16
  %188 = load i64, ptr %187, align 8, !tbaa !19
  store i64 %188, ptr %16, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %189)
  %191 = getelementptr inbounds %struct.ObjectiveWrapper, ptr %190, i32 0, i32 17
  %192 = load i64, ptr %191, align 8, !tbaa !22
  store i64 %192, ptr %17, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %193 = load i64, ptr %17, align 8, !tbaa !14
  %194 = load i64, ptr %16, align 8, !tbaa !14
  %195 = mul i64 %193, %194
  store i64 %195, ptr %18, align 8, !tbaa !14
  %196 = load i64, ptr %18, align 8, !tbaa !14
  %197 = load i64, ptr %5, align 8, !tbaa !14
  %198 = call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %196, i64 noundef %197) #8
  br i1 %198, label %199, label %200

199:                                              ; preds = %184
  store i32 4, ptr %13, align 4
  br label %209

200:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %201 = load i64, ptr %18, align 8, !tbaa !14
  %202 = load i64, ptr %5, align 8, !tbaa !14
  %203 = mul i64 %201, %202
  store i64 %203, ptr %19, align 8, !tbaa !14
  %204 = load i64, ptr %6, align 8, !tbaa !14
  %205 = load i64, ptr %19, align 8, !tbaa !14
  %206 = call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef %204, i64 noundef %205) #8
  store i64 %206, ptr %6, align 8, !tbaa !14
  %207 = load ptr, ptr %14, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %207, i32 1
  store ptr %208, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  store i32 0, ptr %13, align 4
  br label %209

209:                                              ; preds = %200, %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %210 = load i32, ptr %13, align 4
  switch i32 %210, label %217 [
    i32 0, label %211
  ]

211:                                              ; preds = %209
  br label %212

212:                                              ; preds = %211
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = load ptr, ptr %14, align 8, !tbaa !5
  %215 = icmp ne ptr %213, %214
  br i1 %215, label %184, label %216, !llvm.loop !25

216:                                              ; preds = %212
  store i32 0, ptr %13, align 4
  br label %217

217:                                              ; preds = %216, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %218 = load i32, ptr %13, align 4
  switch i32 %218, label %233 [
    i32 0, label %219
  ]

219:                                              ; preds = %217
  br label %220

220:                                              ; preds = %219, %156
  %221 = load i64, ptr %6, align 8, !tbaa !14
  %222 = icmp ne i64 0, %221
  br i1 %222, label %223, label %232

223:                                              ; preds = %220
  %224 = load i64, ptr %6, align 8, !tbaa !14
  %225 = call ptr @AlignedAlloc(i64 noundef %224)
  %226 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 7
  store ptr %225, ptr %226, align 8, !tbaa !26
  %227 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 7
  %228 = load ptr, ptr %227, align 8, !tbaa !26
  %229 = icmp eq ptr null, %228
  br i1 %229, label %230, label %231

230:                                              ; preds = %223
  store i32 4, ptr %13, align 4
  br label %233

231:                                              ; preds = %223
  br label %232

232:                                              ; preds = %231, %220
  store i32 0, ptr %13, align 4
  br label %233

233:                                              ; preds = %232, %230, %217, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %234 = load i32, ptr %13, align 4
  switch i32 %234, label %289 [
    i32 0, label %235
    i32 4, label %281
  ]

235:                                              ; preds = %233
  br label %236

236:                                              ; preds = %235, %89
  %237 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !9
  %239 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520) %238)
  %240 = icmp ne i64 0, %239
  br i1 %240, label %241, label %252

241:                                              ; preds = %236
  %242 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %243 = load ptr, ptr %242, align 8, !tbaa !9
  %244 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520) %243)
  %245 = call ptr @AlignedAlloc(i64 noundef %244)
  %246 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 12
  store ptr %245, ptr %246, align 8, !tbaa !27
  %247 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 12
  %248 = load ptr, ptr %247, align 8, !tbaa !27
  %249 = icmp eq ptr null, %248
  br i1 %249, label %250, label %251

250:                                              ; preds = %241
  br label %281

251:                                              ; preds = %241
  br label %252

252:                                              ; preds = %251, %236
  %253 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !9
  %255 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %254)
  %256 = icmp ne i64 0, %255
  br i1 %256, label %257, label %272

257:                                              ; preds = %252
  %258 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %259 = load ptr, ptr %258, align 8, !tbaa !9
  %260 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %259)
  %261 = call ptr @AlignedAlloc(i64 noundef %260)
  %262 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 11
  store ptr %261, ptr %262, align 8, !tbaa !28
  %263 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 11
  %264 = load ptr, ptr %263, align 8, !tbaa !28
  %265 = icmp eq ptr null, %264
  br i1 %265, label %266, label %267

266:                                              ; preds = %257
  br label %281

267:                                              ; preds = %257
  %268 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 1
  %269 = load ptr, ptr %268, align 8, !tbaa !9
  %270 = call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %269)
  %271 = getelementptr inbounds %"class.NAMESPACE_MAIN::BoosterShell", ptr %22, i32 0, i32 10
  store i64 %270, ptr %271, align 8, !tbaa !29
  br label %272

272:                                              ; preds = %267, %252
  br label %273

273:                                              ; preds = %272, %35
  br label %274

274:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 3, ptr %20, align 4, !tbaa !12
  %275 = load i32, ptr @g_traceLevel, align 4, !tbaa !12
  %276 = icmp sle i32 3, %275
  br i1 %276, label %277, label %278

277:                                              ; preds = %274
  call void @InteralLogWithoutArguments(i32 noundef 3, ptr noundef @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_0)
  br label %278

278:                                              ; preds = %277, %274
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %279

279:                                              ; preds = %278
  br label %280

280:                                              ; preds = %279
  store i32 0, ptr %2, align 4
  store i32 1, ptr %13, align 4
  br label %289

281:                                              ; preds = %266, %250, %233, %87, %71, %56, %48
  br label %282

282:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 2, ptr %21, align 4, !tbaa !12
  %283 = load i32, ptr @g_traceLevel, align 4, !tbaa !12
  %284 = icmp sle i32 2, %283
  br i1 %284, label %285, label %286

285:                                              ; preds = %282
  call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_1)
  br label %286

286:                                              ; preds = %285, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %287

287:                                              ; preds = %286
  br label %288

288:                                              ; preds = %287
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %13, align 4
  br label %289

289:                                              ; preds = %288, %280, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  %290 = load i32, ptr %2, align 4
  ret i32 %290
}

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore14GetCountScoresEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

declare noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef, i64 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

declare ptr @AlignedAlloc(i64 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN14NAMESPACE_MAIN15DataSetBoosting10GetSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef, i64 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #4 = { inlinehint 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 #5 = { alwaysinline 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 #6 = { 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 #7 = { noreturn nounwind }
attributes #8 = { 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, !6, i64 8}
!10 = !{!"_ZTSN14NAMESPACE_MAIN12BoosterShellE", !11, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !11, i64 64, !6, i64 72, !11, i64 80, !6, i64 88, !6, i64 96, !6, i64 104}
!11 = !{!"long", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!11, !11, i64 0}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !6, i64 32}
!17 = !{!10, !6, i64 40}
!18 = !{!10, !6, i64 48}
!19 = !{!20, !11, i64 120}
!20 = !{!"_ZTS16ObjectiveWrapper", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !13, i64 40, !21, i64 48, !21, i64 56, !21, i64 64, !21, i64 72, !21, i64 80, !21, i64 88, !21, i64 96, !21, i64 104, !13, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !13, i64 144, !6, i64 152}
!21 = !{!"double", !7, i64 0}
!22 = !{!20, !11, i64 128}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!10, !6, i64 56}
!27 = !{!10, !6, i64 96}
!28 = !{!10, !6, i64 88}
!29 = !{!10, !11, i64 80}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.NAMESPACE_MAIN::DataSubsetBoosting" = type { i64, ptr, ptr, ptr, ptr, ptr, ptr }

@g_traceLevel = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [86 x i8], align 1
@__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv = external hidden unnamed_addr constant [57 x i8], align 1
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage = external hidden constant [38 x i8], align 16
@.str.3 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [62 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_0 = external hidden constant [37 x i8], align 16
@_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_1 = external hidden constant [69 x i8], align 16

declare void @InteralLogWithoutArguments(i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv(ptr noundef nonnull align 8 dereferenceable(112) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %1
  tail call void @LogAssertFailure(i64 noundef 78, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef nonnull @.str.1)
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str, i32 noundef 78, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #6
  unreachable

5:                                                ; preds = %1
  %6 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %7 = icmp sgt i32 %6, 2
  br i1 %7, label %8, label %9

8:                                                ; preds = %5
  tail call void @InteralLogWithoutArguments(i32 noundef 3, ptr noundef nonnull @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage)
  %.pre = load ptr, ptr %2, align 8, !tbaa !5
  br label %9

9:                                                ; preds = %8, %5
  %10 = phi ptr [ %.pre, %8 ], [ %3, %5 ]
  %11 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore14GetCountScoresEv(ptr noundef nonnull align 8 dereferenceable(520) %10)
  %.not58 = icmp eq i64 %11, 0
  br i1 %.not58, label %128, label %12

12:                                               ; preds = %9
  %13 = tail call noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef 30, i64 noundef %11)
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %13, ptr %14, align 8, !tbaa !13
  %15 = icmp eq ptr %13, null
  br i1 %15, label %.thread90, label %16

16:                                               ; preds = %12
  %17 = tail call noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef 30, i64 noundef %11)
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %17, ptr %18, align 8, !tbaa !14
  %19 = icmp eq ptr %17, null
  br i1 %19, label %.thread90, label %20

20:                                               ; preds = %16
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %21)
  %.not59 = icmp eq i64 %22, 0
  br i1 %.not59, label %29, label %23

23:                                               ; preds = %20
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %24)
  %26 = tail call ptr @AlignedAlloc(i64 noundef %25)
  %27 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %26, ptr %27, align 8, !tbaa !15
  %28 = icmp eq ptr %26, null
  br i1 %28, label %.thread90, label %29

29:                                               ; preds = %23, %20
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %30)
  %.not60 = icmp eq i64 %31, 0
  br i1 %.not60, label %38, label %32

32:                                               ; preds = %29
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520) %33)
  %35 = tail call ptr @AlignedAlloc(i64 noundef %34)
  %36 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %35, ptr %36, align 8, !tbaa !16
  %37 = icmp eq ptr %35, null
  br i1 %37, label %.thread90, label %38

38:                                               ; preds = %32, %29
  %.not61 = icmp eq i64 %11, 1
  br i1 %.not61, label %106, label %39

39:                                               ; preds = %38
  %40 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %41 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %40)
  %42 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40) %41)
  %.not62 = icmp eq i64 %42, 0
  br i1 %.not62, label %.thread77, label %43

43:                                               ; preds = %39
  %44 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %45 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %44)
  %46 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %45)
  %.not63 = icmp eq i64 %46, 0
  br i1 %.not63, label %47, label %48

47:                                               ; preds = %43
  tail call void @LogAssertFailure(i64 noundef 111, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef nonnull @.str.3)
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str, i32 noundef 111, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #6
  unreachable

48:                                               ; preds = %43
  %49 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %50 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %49)
  %51 = tail call noundef ptr @_ZN14NAMESPACE_MAIN15DataSetBoosting10GetSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %50)
  %.not64 = icmp eq ptr %51, null
  br i1 %.not64, label %52, label %53

52:                                               ; preds = %48
  tail call void @LogAssertFailure(i64 noundef 113, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef nonnull @.str.5)
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef 113, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #6
  unreachable

53:                                               ; preds = %48
  %54 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %55 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore14GetTrainingSetEv(ptr noundef nonnull align 8 dereferenceable(520) %54)
  %56 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %55)
  %57 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %51, i64 %56
  br label %58

58:                                               ; preds = %67, %53
  %.046 = phi ptr [ %51, %53 ], [ %70, %67 ]
  %.045 = phi i64 [ 0, %53 ], [ %69, %67 ]
  %59 = tail call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %.046)
  %60 = getelementptr inbounds i8, ptr %59, i64 120
  %61 = load i64, ptr %60, align 8, !tbaa !17
  %62 = tail call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %.046)
  %63 = getelementptr inbounds i8, ptr %62, i64 128
  %64 = load i64, ptr %63, align 8, !tbaa !20
  %65 = mul i64 %64, %61
  %66 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %65, i64 noundef %11) #7
  br i1 %66, label %.thread90, label %67

67:                                               ; preds = %58
  %68 = mul i64 %65, %11
  %69 = tail call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef %.045, i64 noundef %68) #7
  %70 = getelementptr inbounds i8, ptr %.046, i64 56
  %.not65 = icmp eq ptr %57, %70
  br i1 %.not65, label %.thread77, label %58, !llvm.loop !21

.thread77:                                        ; preds = %67, %39
  %.2 = phi i64 [ 0, %39 ], [ %69, %67 ]
  %71 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %72 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %71)
  %73 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40) %72)
  %.not66 = icmp eq i64 %73, 0
  br i1 %.not66, label %.thread86, label %74

74:                                               ; preds = %.thread77
  %75 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %76 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %75)
  %77 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %76)
  %.not67 = icmp eq i64 %77, 0
  br i1 %.not67, label %78, label %79

78:                                               ; preds = %74
  tail call void @LogAssertFailure(i64 noundef 131, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef nonnull @.str.7)
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str, i32 noundef 131, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #6
  unreachable

79:                                               ; preds = %74
  %80 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %81 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %80)
  %82 = tail call noundef ptr @_ZN14NAMESPACE_MAIN15DataSetBoosting10GetSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %81)
  %.not68 = icmp eq ptr %82, null
  br i1 %.not68, label %83, label %84

83:                                               ; preds = %79
  tail call void @LogAssertFailure(i64 noundef 133, ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv, ptr noundef nonnull @.str.5)
  tail call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef 133, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEv) #6
  unreachable

84:                                               ; preds = %79
  %85 = tail call noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112) %0)
  %86 = tail call noundef ptr @_ZN14NAMESPACE_MAIN11BoosterCore16GetValidationSetEv(ptr noundef nonnull align 8 dereferenceable(520) %85)
  %87 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40) %86)
  %88 = getelementptr inbounds %"struct.NAMESPACE_MAIN::DataSubsetBoosting", ptr %82, i64 %87
  br label %89

89:                                               ; preds = %98, %84
  %.053 = phi ptr [ %82, %84 ], [ %101, %98 ]
  %.3 = phi i64 [ %.2, %84 ], [ %100, %98 ]
  %90 = tail call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %.053)
  %91 = getelementptr inbounds i8, ptr %90, i64 120
  %92 = load i64, ptr %91, align 8, !tbaa !17
  %93 = tail call noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56) %.053)
  %94 = getelementptr inbounds i8, ptr %93, i64 128
  %95 = load i64, ptr %94, align 8, !tbaa !20
  %96 = mul i64 %95, %92
  %97 = tail call noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef %96, i64 noundef %11) #7
  br i1 %97, label %.thread90, label %98

98:                                               ; preds = %89
  %99 = mul i64 %96, %11
  %100 = tail call noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef %.3, i64 noundef %99) #7
  %101 = getelementptr inbounds i8, ptr %.053, i64 56
  %.not69 = icmp eq ptr %88, %101
  br i1 %.not69, label %.thread86, label %89, !llvm.loop !23

.thread86:                                        ; preds = %98, %.thread77
  %.5 = phi i64 [ %.2, %.thread77 ], [ %100, %98 ]
  %.not70 = icmp eq i64 %.5, 0
  br i1 %.not70, label %106, label %102

102:                                              ; preds = %.thread86
  %103 = tail call ptr @AlignedAlloc(i64 noundef %.5)
  %104 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %103, ptr %104, align 8, !tbaa !24
  %105 = icmp eq ptr %103, null
  br i1 %105, label %.thread90, label %106

106:                                              ; preds = %102, %.thread86, %38
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520) %107)
  %.not71 = icmp eq i64 %108, 0
  br i1 %.not71, label %115, label %109

109:                                              ; preds = %106
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520) %110)
  %112 = tail call ptr @AlignedAlloc(i64 noundef %111)
  %113 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %112, ptr %113, align 8, !tbaa !25
  %114 = icmp eq ptr %112, null
  br i1 %114, label %.thread90, label %115

115:                                              ; preds = %109, %106
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %116)
  %.not72 = icmp eq i64 %117, 0
  br i1 %.not72, label %128, label %118

118:                                              ; preds = %115
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %119)
  %121 = tail call ptr @AlignedAlloc(i64 noundef %120)
  %122 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %121, ptr %122, align 8, !tbaa !26
  %123 = icmp eq ptr %121, null
  br i1 %123, label %.thread90, label %124

124:                                              ; preds = %118
  %125 = load ptr, ptr %2, align 8, !tbaa !5
  %126 = tail call noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520) %125)
  %127 = getelementptr inbounds i8, ptr %0, i64 80
  store i64 %126, ptr %127, align 8, !tbaa !27
  br label %128

128:                                              ; preds = %9, %124, %115
  %129 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %130 = icmp sgt i32 %129, 2
  br i1 %130, label %131, label %135

131:                                              ; preds = %128
  tail call void @InteralLogWithoutArguments(i32 noundef 3, ptr noundef nonnull @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_0)
  br label %135

.thread90:                                        ; preds = %58, %89, %102, %12, %16, %23, %32, %109, %118
  %132 = load i32, ptr @g_traceLevel, align 4, !tbaa !11
  %133 = icmp sgt i32 %132, 1
  br i1 %133, label %134, label %135

134:                                              ; preds = %.thread90
  tail call void @InteralLogWithoutArguments(i32 noundef 2, ptr noundef nonnull @_ZZN14NAMESPACE_MAIN12BoosterShell15FillAllocationsEvE13LOG__sMessage_1)
  br label %135

135:                                              ; preds = %.thread90, %134, %128, %131
  %.0 = phi i32 [ 0, %131 ], [ 0, %128 ], [ -1, %134 ], [ -1, %.thread90 ]
  ret i32 %.0
}

declare void @LogAssertFailure(i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore14GetCountScoresEv(ptr noundef nonnull align 8 dereferenceable(520)) local_unnamed_addr #3 align 2

declare noundef ptr @_ZN14NAMESPACE_MAIN6Tensor8AllocateEmm(i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesFastBinsEv(ptr noundef nonnull align 8 dereferenceable(520)) local_unnamed_addr #3 align 2

declare ptr @AlignedAlloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore21GetCountBytesMainBinsEv(ptr noundef nonnull align 8 dereferenceable(520)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN14NAMESPACE_MAIN12BoosterShell14GetBoosterCoreEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSamplesEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN15DataSetBoosting15GetCountSubsetsEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZNK14NAMESPACE_MAIN18DataSubsetBoosting19GetObjectiveWrapperEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN14NAMESPACE_MAINL15IsMultiplyErrorImEEbT_S1_(i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZN14NAMESPACE_MAINL6EbmMaxImEET_S1_S1_(i64 noundef, i64 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore27GetCountBytesSplitPositionsEv(ptr noundef nonnull align 8 dereferenceable(520)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK14NAMESPACE_MAIN11BoosterCore22GetCountBytesTreeNodesEv(ptr noundef nonnull align 8 dereferenceable(520)) local_unnamed_addr #3 align 2

attributes #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 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 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { alwaysinline 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 = { 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 #6 = { noreturn nounwind }
attributes #7 = { 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, !10, i64 8}
!6 = !{!"_ZTSN14NAMESPACE_MAIN12BoosterShellE", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !8, i64 0}
!13 = !{!6, !10, i64 24}
!14 = !{!6, !10, i64 32}
!15 = !{!6, !10, i64 40}
!16 = !{!6, !10, i64 48}
!17 = !{!18, !7, i64 120}
!18 = !{!"_ZTS16ObjectiveWrapper", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !12, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !12, i64 144, !10, i64 152}
!19 = !{!"double", !8, i64 0}
!20 = !{!18, !7, i64 128}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!6, !10, i64 56}
!25 = !{!6, !10, i64 96}
!26 = !{!6, !10, i64 88}
!27 = !{!6, !7, i64 80}


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