; LLVM IR from mitdbg/deneva :: system/txn.ll (ZN8TxnStats12commit_statsEmmmmm)

; 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.Stats = type { ptr, ptr, i64, i64, i64, i64 }
%class.TxnStats = type { i64, i64, i64, i64, i64, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, i64, double, double, double, double, double, double, double, double }
%class.Stats_thd = type { [64 x i8], ptr, ptr, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, double, i64, double, i64, double, i64, i64, double, double, double, double, double, double, double, double, i64, double, double, double, double, double, double, double, double, i64, i64, double, i64, double, i64, double, double, double, i64, i64, i64, double, double, double, double, double, double, double, double, double, i64, ptr, ptr, double, i64, i64, double, double, double, i64, i64, i64, i64, i64, i64, i64, double, double, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, double, double, double, double, double, i64, i64, double, double, i64, i64, i64, double, double, i64, i64, double, double, double, double, i64, i64, double, double, double, i64, i64, double, double, double, double, double, i64, double, double, double, double, double, double, double, double, i64, i64, i64, double, i64, double, double, i64, i64, i64, i64, i64, double, i64, i64, double, i64, double, double, i64, i64, i64, i64, i64, double, double, double, %class.StatsArr, %class.StatsArr, %class.StatsArr, %class.StatsArr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, [64 x i8] }
%class.StatsArr = type { ptr, i64, i64, i32, %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }

@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@simulation = external global ptr, align 8
@stats = external global %class.Stats, align 8
@__PRETTY_FUNCTION__._ZN8TxnStats12commit_statsEmmmmm = external hidden unnamed_addr constant [78 x i8], align 1
@g_node_cnt = external global i32, align 4
@g_node_id = external global i32, align 4

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

declare noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96)) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8TxnStats12commit_statsEmmmmm(ptr noundef nonnull align 8 dereferenceable(256) %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) #2 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store i64 %2, ptr %9, align 8, !tbaa !9
  store i64 %3, ptr %10, align 8, !tbaa !9
  store i64 %4, ptr %11, align 8, !tbaa !9
  store i64 %5, ptr %12, align 8, !tbaa !9
  %13 = load ptr, ptr %7, align 8
  %14 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 6
  %15 = load double, ptr %14, align 8, !tbaa !11
  %16 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 5
  %17 = load double, ptr %16, align 8, !tbaa !14
  %18 = fadd double %17, %15
  store double %18, ptr %16, align 8, !tbaa !14
  %19 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 8
  %20 = load double, ptr %19, align 8, !tbaa !15
  %21 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 7
  %22 = load double, ptr %21, align 8, !tbaa !16
  %23 = fadd double %22, %20
  store double %23, ptr %21, align 8, !tbaa !16
  %24 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 10
  %25 = load double, ptr %24, align 8, !tbaa !17
  %26 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 9
  %27 = load double, ptr %26, align 8, !tbaa !18
  %28 = fadd double %27, %25
  store double %28, ptr %26, align 8, !tbaa !18
  %29 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 12
  %30 = load double, ptr %29, align 8, !tbaa !19
  %31 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 11
  %32 = load double, ptr %31, align 8, !tbaa !20
  %33 = fadd double %32, %30
  store double %33, ptr %31, align 8, !tbaa !20
  %34 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 17
  %35 = load double, ptr %34, align 8, !tbaa !21
  %36 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 16
  %37 = load double, ptr %36, align 8, !tbaa !22
  %38 = fadd double %37, %35
  store double %38, ptr %36, align 8, !tbaa !22
  %39 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 15
  %40 = load double, ptr %39, align 8, !tbaa !23
  %41 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 14
  %42 = load double, ptr %41, align 8, !tbaa !24
  %43 = fadd double %42, %40
  store double %43, ptr %41, align 8, !tbaa !24
  %44 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 19
  %45 = load double, ptr %44, align 8, !tbaa !25
  %46 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 18
  %47 = load double, ptr %46, align 8, !tbaa !26
  %48 = fadd double %47, %45
  store double %48, ptr %46, align 8, !tbaa !26
  %49 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 21
  %50 = load double, ptr %49, align 8, !tbaa !27
  %51 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 20
  %52 = load double, ptr %51, align 8, !tbaa !28
  %53 = fadd double %52, %50
  store double %53, ptr %51, align 8, !tbaa !28
  %54 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 23
  %55 = load i64, ptr %54, align 8, !tbaa !29
  %56 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 22
  %57 = load i64, ptr %56, align 8, !tbaa !30
  %58 = add i64 %57, %55
  store i64 %58, ptr %56, align 8, !tbaa !30
  %59 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 5
  %60 = load double, ptr %59, align 8, !tbaa !14
  %61 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 6
  %62 = load double, ptr %61, align 8, !tbaa !11
  %63 = fcmp oge double %60, %62
  br i1 %63, label %64, label %65

64:                                               ; preds = %6
  br label %67

65:                                               ; preds = %6
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 135, ptr noundef @__PRETTY_FUNCTION__._ZN8TxnStats12commit_statsEmmmmm) #3
  unreachable

66:                                               ; No predecessors!
  br label %67

67:                                               ; preds = %66, %64
  %68 = load i64, ptr %9, align 8, !tbaa !9
  %69 = load i32, ptr @g_node_cnt, align 4, !tbaa !31
  %70 = zext i32 %69 to i64
  %71 = urem i64 %68, %70
  %72 = load i32, ptr @g_node_id, align 4, !tbaa !31
  %73 = zext i32 %72 to i64
  %74 = icmp eq i64 %71, %73
  br i1 %74, label %75, label %297

75:                                               ; preds = %67
  %76 = load ptr, ptr @simulation, align 8, !tbaa !5
  %77 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %76)
  br i1 %77, label %78, label %88

78:                                               ; preds = %75
  %79 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 16
  %80 = load double, ptr %79, align 8, !tbaa !22
  %81 = load ptr, ptr @stats, align 8, !tbaa !33
  %82 = load i64, ptr %8, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %81, i64 %82
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  %85 = getelementptr inbounds %class.Stats_thd, ptr %84, i32 0, i32 169
  %86 = load double, ptr %85, align 8, !tbaa !35
  %87 = fadd double %86, %80
  store double %87, ptr %85, align 8, !tbaa !35
  br label %88

88:                                               ; preds = %78, %75
  %89 = load ptr, ptr @simulation, align 8, !tbaa !5
  %90 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %89)
  br i1 %90, label %91, label %101

91:                                               ; preds = %88
  %92 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 14
  %93 = load double, ptr %92, align 8, !tbaa !24
  %94 = load ptr, ptr @stats, align 8, !tbaa !33
  %95 = load i64, ptr %8, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %94, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.Stats_thd, ptr %97, i32 0, i32 170
  %99 = load double, ptr %98, align 8, !tbaa !39
  %100 = fadd double %99, %93
  store double %100, ptr %98, align 8, !tbaa !39
  br label %101

101:                                              ; preds = %91, %88
  %102 = load ptr, ptr @simulation, align 8, !tbaa !5
  %103 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %102)
  br i1 %103, label %104, label %114

104:                                              ; preds = %101
  %105 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 18
  %106 = load double, ptr %105, align 8, !tbaa !26
  %107 = load ptr, ptr @stats, align 8, !tbaa !33
  %108 = load i64, ptr %8, align 8, !tbaa !9
  %109 = getelementptr inbounds ptr, ptr %107, i64 %108
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds %class.Stats_thd, ptr %110, i32 0, i32 171
  %112 = load double, ptr %111, align 8, !tbaa !40
  %113 = fadd double %112, %106
  store double %113, ptr %111, align 8, !tbaa !40
  br label %114

114:                                              ; preds = %104, %101
  %115 = load ptr, ptr @simulation, align 8, !tbaa !5
  %116 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %115)
  br i1 %116, label %117, label %127

117:                                              ; preds = %114
  %118 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 20
  %119 = load double, ptr %118, align 8, !tbaa !28
  %120 = load ptr, ptr @stats, align 8, !tbaa !33
  %121 = load i64, ptr %8, align 8, !tbaa !9
  %122 = getelementptr inbounds ptr, ptr %120, i64 %121
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = getelementptr inbounds %class.Stats_thd, ptr %123, i32 0, i32 172
  %125 = load double, ptr %124, align 8, !tbaa !41
  %126 = fadd double %125, %119
  store double %126, ptr %124, align 8, !tbaa !41
  br label %127

127:                                              ; preds = %117, %114
  %128 = load ptr, ptr @simulation, align 8, !tbaa !5
  %129 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %128)
  br i1 %129, label %130, label %140

130:                                              ; preds = %127
  %131 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 5
  %132 = load double, ptr %131, align 8, !tbaa !14
  %133 = load ptr, ptr @stats, align 8, !tbaa !33
  %134 = load i64, ptr %8, align 8, !tbaa !9
  %135 = getelementptr inbounds ptr, ptr %133, i64 %134
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  %137 = getelementptr inbounds %class.Stats_thd, ptr %136, i32 0, i32 173
  %138 = load double, ptr %137, align 8, !tbaa !42
  %139 = fadd double %138, %132
  store double %139, ptr %137, align 8, !tbaa !42
  br label %140

140:                                              ; preds = %130, %127
  %141 = load ptr, ptr @simulation, align 8, !tbaa !5
  %142 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %141)
  br i1 %142, label %143, label %153

143:                                              ; preds = %140
  %144 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 13
  %145 = load double, ptr %144, align 8, !tbaa !43
  %146 = load ptr, ptr @stats, align 8, !tbaa !33
  %147 = load i64, ptr %8, align 8, !tbaa !9
  %148 = getelementptr inbounds ptr, ptr %146, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !5
  %150 = getelementptr inbounds %class.Stats_thd, ptr %149, i32 0, i32 174
  %151 = load double, ptr %150, align 8, !tbaa !44
  %152 = fadd double %151, %145
  store double %152, ptr %150, align 8, !tbaa !44
  br label %153

153:                                              ; preds = %143, %140
  %154 = load ptr, ptr @simulation, align 8, !tbaa !5
  %155 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %154)
  br i1 %155, label %156, label %166

156:                                              ; preds = %153
  %157 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 17
  %158 = load double, ptr %157, align 8, !tbaa !21
  %159 = load ptr, ptr @stats, align 8, !tbaa !33
  %160 = load i64, ptr %8, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %159, i64 %160
  %162 = load ptr, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds %class.Stats_thd, ptr %162, i32 0, i32 175
  %164 = load double, ptr %163, align 8, !tbaa !45
  %165 = fadd double %164, %158
  store double %165, ptr %163, align 8, !tbaa !45
  br label %166

166:                                              ; preds = %156, %153
  %167 = load ptr, ptr @simulation, align 8, !tbaa !5
  %168 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %167)
  br i1 %168, label %169, label %179

169:                                              ; preds = %166
  %170 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 15
  %171 = load double, ptr %170, align 8, !tbaa !23
  %172 = load ptr, ptr @stats, align 8, !tbaa !33
  %173 = load i64, ptr %8, align 8, !tbaa !9
  %174 = getelementptr inbounds ptr, ptr %172, i64 %173
  %175 = load ptr, ptr %174, align 8, !tbaa !5
  %176 = getelementptr inbounds %class.Stats_thd, ptr %175, i32 0, i32 176
  %177 = load double, ptr %176, align 8, !tbaa !46
  %178 = fadd double %177, %171
  store double %178, ptr %176, align 8, !tbaa !46
  br label %179

179:                                              ; preds = %169, %166
  %180 = load ptr, ptr @simulation, align 8, !tbaa !5
  %181 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %180)
  br i1 %181, label %182, label %192

182:                                              ; preds = %179
  %183 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 19
  %184 = load double, ptr %183, align 8, !tbaa !25
  %185 = load ptr, ptr @stats, align 8, !tbaa !33
  %186 = load i64, ptr %8, align 8, !tbaa !9
  %187 = getelementptr inbounds ptr, ptr %185, i64 %186
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds %class.Stats_thd, ptr %188, i32 0, i32 177
  %190 = load double, ptr %189, align 8, !tbaa !47
  %191 = fadd double %190, %184
  store double %191, ptr %189, align 8, !tbaa !47
  br label %192

192:                                              ; preds = %182, %179
  %193 = load ptr, ptr @simulation, align 8, !tbaa !5
  %194 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %193)
  br i1 %194, label %195, label %205

195:                                              ; preds = %192
  %196 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 21
  %197 = load double, ptr %196, align 8, !tbaa !27
  %198 = load ptr, ptr @stats, align 8, !tbaa !33
  %199 = load i64, ptr %8, align 8, !tbaa !9
  %200 = getelementptr inbounds ptr, ptr %198, i64 %199
  %201 = load ptr, ptr %200, align 8, !tbaa !5
  %202 = getelementptr inbounds %class.Stats_thd, ptr %201, i32 0, i32 178
  %203 = load double, ptr %202, align 8, !tbaa !48
  %204 = fadd double %203, %197
  store double %204, ptr %202, align 8, !tbaa !48
  br label %205

205:                                              ; preds = %195, %192
  %206 = load ptr, ptr @simulation, align 8, !tbaa !5
  %207 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %206)
  br i1 %207, label %208, label %218

208:                                              ; preds = %205
  %209 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 6
  %210 = load double, ptr %209, align 8, !tbaa !11
  %211 = load ptr, ptr @stats, align 8, !tbaa !33
  %212 = load i64, ptr %8, align 8, !tbaa !9
  %213 = getelementptr inbounds ptr, ptr %211, i64 %212
  %214 = load ptr, ptr %213, align 8, !tbaa !5
  %215 = getelementptr inbounds %class.Stats_thd, ptr %214, i32 0, i32 179
  %216 = load double, ptr %215, align 8, !tbaa !49
  %217 = fadd double %216, %210
  store double %217, ptr %215, align 8, !tbaa !49
  br label %218

218:                                              ; preds = %208, %205
  %219 = load ptr, ptr @simulation, align 8, !tbaa !5
  %220 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %219)
  br i1 %220, label %221, label %231

221:                                              ; preds = %218
  %222 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 24
  %223 = load double, ptr %222, align 8, !tbaa !50
  %224 = load ptr, ptr @stats, align 8, !tbaa !33
  %225 = load i64, ptr %8, align 8, !tbaa !9
  %226 = getelementptr inbounds ptr, ptr %224, i64 %225
  %227 = load ptr, ptr %226, align 8, !tbaa !5
  %228 = getelementptr inbounds %class.Stats_thd, ptr %227, i32 0, i32 180
  %229 = load double, ptr %228, align 8, !tbaa !51
  %230 = fadd double %229, %223
  store double %230, ptr %228, align 8, !tbaa !51
  br label %231

231:                                              ; preds = %221, %218
  %232 = load ptr, ptr @simulation, align 8, !tbaa !5
  %233 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %232)
  br i1 %233, label %234, label %244

234:                                              ; preds = %231
  %235 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 27
  %236 = load double, ptr %235, align 8, !tbaa !52
  %237 = load ptr, ptr @stats, align 8, !tbaa !33
  %238 = load i64, ptr %8, align 8, !tbaa !9
  %239 = getelementptr inbounds ptr, ptr %237, i64 %238
  %240 = load ptr, ptr %239, align 8, !tbaa !5
  %241 = getelementptr inbounds %class.Stats_thd, ptr %240, i32 0, i32 181
  %242 = load double, ptr %241, align 8, !tbaa !53
  %243 = fadd double %242, %236
  store double %243, ptr %241, align 8, !tbaa !53
  br label %244

244:                                              ; preds = %234, %231
  %245 = load ptr, ptr @simulation, align 8, !tbaa !5
  %246 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %245)
  br i1 %246, label %247, label %257

247:                                              ; preds = %244
  %248 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 25
  %249 = load double, ptr %248, align 8, !tbaa !54
  %250 = load ptr, ptr @stats, align 8, !tbaa !33
  %251 = load i64, ptr %8, align 8, !tbaa !9
  %252 = getelementptr inbounds ptr, ptr %250, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !5
  %254 = getelementptr inbounds %class.Stats_thd, ptr %253, i32 0, i32 182
  %255 = load double, ptr %254, align 8, !tbaa !55
  %256 = fadd double %255, %249
  store double %256, ptr %254, align 8, !tbaa !55
  br label %257

257:                                              ; preds = %247, %244
  %258 = load ptr, ptr @simulation, align 8, !tbaa !5
  %259 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %258)
  br i1 %259, label %260, label %270

260:                                              ; preds = %257
  %261 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 26
  %262 = load double, ptr %261, align 8, !tbaa !56
  %263 = load ptr, ptr @stats, align 8, !tbaa !33
  %264 = load i64, ptr %8, align 8, !tbaa !9
  %265 = getelementptr inbounds ptr, ptr %263, i64 %264
  %266 = load ptr, ptr %265, align 8, !tbaa !5
  %267 = getelementptr inbounds %class.Stats_thd, ptr %266, i32 0, i32 183
  %268 = load double, ptr %267, align 8, !tbaa !57
  %269 = fadd double %268, %262
  store double %269, ptr %267, align 8, !tbaa !57
  br label %270

270:                                              ; preds = %260, %257
  %271 = load ptr, ptr @simulation, align 8, !tbaa !5
  %272 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %271)
  br i1 %272, label %273, label %283

273:                                              ; preds = %270
  %274 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 28
  %275 = load double, ptr %274, align 8, !tbaa !58
  %276 = load ptr, ptr @stats, align 8, !tbaa !33
  %277 = load i64, ptr %8, align 8, !tbaa !9
  %278 = getelementptr inbounds ptr, ptr %276, i64 %277
  %279 = load ptr, ptr %278, align 8, !tbaa !5
  %280 = getelementptr inbounds %class.Stats_thd, ptr %279, i32 0, i32 184
  %281 = load double, ptr %280, align 8, !tbaa !59
  %282 = fadd double %281, %275
  store double %282, ptr %280, align 8, !tbaa !59
  br label %283

283:                                              ; preds = %273, %270
  %284 = load ptr, ptr @simulation, align 8, !tbaa !5
  %285 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %284)
  br i1 %285, label %286, label %296

286:                                              ; preds = %283
  %287 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 29
  %288 = load double, ptr %287, align 8, !tbaa !60
  %289 = load ptr, ptr @stats, align 8, !tbaa !33
  %290 = load i64, ptr %8, align 8, !tbaa !9
  %291 = getelementptr inbounds ptr, ptr %289, i64 %290
  %292 = load ptr, ptr %291, align 8, !tbaa !5
  %293 = getelementptr inbounds %class.Stats_thd, ptr %292, i32 0, i32 185
  %294 = load double, ptr %293, align 8, !tbaa !61
  %295 = fadd double %294, %288
  store double %295, ptr %293, align 8, !tbaa !61
  br label %296

296:                                              ; preds = %286, %283
  br label %363

297:                                              ; preds = %67
  %298 = load ptr, ptr @simulation, align 8, !tbaa !5
  %299 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %298)
  br i1 %299, label %300, label %310

300:                                              ; preds = %297
  %301 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 16
  %302 = load double, ptr %301, align 8, !tbaa !22
  %303 = load ptr, ptr @stats, align 8, !tbaa !33
  %304 = load i64, ptr %8, align 8, !tbaa !9
  %305 = getelementptr inbounds ptr, ptr %303, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !5
  %307 = getelementptr inbounds %class.Stats_thd, ptr %306, i32 0, i32 187
  %308 = load double, ptr %307, align 8, !tbaa !62
  %309 = fadd double %308, %302
  store double %309, ptr %307, align 8, !tbaa !62
  br label %310

310:                                              ; preds = %300, %297
  %311 = load ptr, ptr @simulation, align 8, !tbaa !5
  %312 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %311)
  br i1 %312, label %313, label %323

313:                                              ; preds = %310
  %314 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 14
  %315 = load double, ptr %314, align 8, !tbaa !24
  %316 = load ptr, ptr @stats, align 8, !tbaa !33
  %317 = load i64, ptr %8, align 8, !tbaa !9
  %318 = getelementptr inbounds ptr, ptr %316, i64 %317
  %319 = load ptr, ptr %318, align 8, !tbaa !5
  %320 = getelementptr inbounds %class.Stats_thd, ptr %319, i32 0, i32 188
  %321 = load double, ptr %320, align 8, !tbaa !63
  %322 = fadd double %321, %315
  store double %322, ptr %320, align 8, !tbaa !63
  br label %323

323:                                              ; preds = %313, %310
  %324 = load ptr, ptr @simulation, align 8, !tbaa !5
  %325 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %324)
  br i1 %325, label %326, label %336

326:                                              ; preds = %323
  %327 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 18
  %328 = load double, ptr %327, align 8, !tbaa !26
  %329 = load ptr, ptr @stats, align 8, !tbaa !33
  %330 = load i64, ptr %8, align 8, !tbaa !9
  %331 = getelementptr inbounds ptr, ptr %329, i64 %330
  %332 = load ptr, ptr %331, align 8, !tbaa !5
  %333 = getelementptr inbounds %class.Stats_thd, ptr %332, i32 0, i32 189
  %334 = load double, ptr %333, align 8, !tbaa !64
  %335 = fadd double %334, %328
  store double %335, ptr %333, align 8, !tbaa !64
  br label %336

336:                                              ; preds = %326, %323
  %337 = load ptr, ptr @simulation, align 8, !tbaa !5
  %338 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %337)
  br i1 %338, label %339, label %349

339:                                              ; preds = %336
  %340 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 20
  %341 = load double, ptr %340, align 8, !tbaa !28
  %342 = load ptr, ptr @stats, align 8, !tbaa !33
  %343 = load i64, ptr %8, align 8, !tbaa !9
  %344 = getelementptr inbounds ptr, ptr %342, i64 %343
  %345 = load ptr, ptr %344, align 8, !tbaa !5
  %346 = getelementptr inbounds %class.Stats_thd, ptr %345, i32 0, i32 190
  %347 = load double, ptr %346, align 8, !tbaa !65
  %348 = fadd double %347, %341
  store double %348, ptr %346, align 8, !tbaa !65
  br label %349

349:                                              ; preds = %339, %336
  %350 = load ptr, ptr @simulation, align 8, !tbaa !5
  %351 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %350)
  br i1 %351, label %352, label %362

352:                                              ; preds = %349
  %353 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 5
  %354 = load double, ptr %353, align 8, !tbaa !14
  %355 = load ptr, ptr @stats, align 8, !tbaa !33
  %356 = load i64, ptr %8, align 8, !tbaa !9
  %357 = getelementptr inbounds ptr, ptr %355, i64 %356
  %358 = load ptr, ptr %357, align 8, !tbaa !5
  %359 = getelementptr inbounds %class.Stats_thd, ptr %358, i32 0, i32 191
  %360 = load double, ptr %359, align 8, !tbaa !66
  %361 = fadd double %360, %354
  store double %361, ptr %359, align 8, !tbaa !66
  br label %362

362:                                              ; preds = %352, %349
  br label %363

363:                                              ; preds = %362, %296
  %364 = load i64, ptr %9, align 8, !tbaa !9
  %365 = load i32, ptr @g_node_cnt, align 4, !tbaa !31
  %366 = zext i32 %365 to i64
  %367 = urem i64 %364, %366
  %368 = load i32, ptr @g_node_id, align 4, !tbaa !31
  %369 = zext i32 %368 to i64
  %370 = icmp eq i64 %367, %369
  br i1 %370, label %371, label %372

371:                                              ; preds = %363
  br label %373

372:                                              ; preds = %363
  br label %373

373:                                              ; preds = %372, %371
  %374 = load i64, ptr %9, align 8, !tbaa !9
  %375 = load i32, ptr @g_node_cnt, align 4, !tbaa !31
  %376 = zext i32 %375 to i64
  %377 = urem i64 %374, %376
  %378 = load i32, ptr @g_node_id, align 4, !tbaa !31
  %379 = zext i32 %378 to i64
  %380 = icmp eq i64 %377, %379
  br i1 %380, label %382, label %381

381:                                              ; preds = %373
  br label %518

382:                                              ; preds = %373
  %383 = load ptr, ptr @simulation, align 8, !tbaa !5
  %384 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %383)
  br i1 %384, label %385, label %395

385:                                              ; preds = %382
  %386 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 5
  %387 = load double, ptr %386, align 8, !tbaa !14
  %388 = load ptr, ptr @stats, align 8, !tbaa !33
  %389 = load i64, ptr %8, align 8, !tbaa !9
  %390 = getelementptr inbounds ptr, ptr %388, i64 %389
  %391 = load ptr, ptr %390, align 8, !tbaa !5
  %392 = getelementptr inbounds %class.Stats_thd, ptr %391, i32 0, i32 23
  %393 = load double, ptr %392, align 8, !tbaa !67
  %394 = fadd double %393, %387
  store double %394, ptr %392, align 8, !tbaa !67
  br label %395

395:                                              ; preds = %385, %382
  %396 = load ptr, ptr @simulation, align 8, !tbaa !5
  %397 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %396)
  br i1 %397, label %398, label %408

398:                                              ; preds = %395
  %399 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 6
  %400 = load double, ptr %399, align 8, !tbaa !11
  %401 = load ptr, ptr @stats, align 8, !tbaa !33
  %402 = load i64, ptr %8, align 8, !tbaa !9
  %403 = getelementptr inbounds ptr, ptr %401, i64 %402
  %404 = load ptr, ptr %403, align 8, !tbaa !5
  %405 = getelementptr inbounds %class.Stats_thd, ptr %404, i32 0, i32 24
  %406 = load double, ptr %405, align 8, !tbaa !68
  %407 = fadd double %406, %400
  store double %407, ptr %405, align 8, !tbaa !68
  br label %408

408:                                              ; preds = %398, %395
  %409 = load ptr, ptr @simulation, align 8, !tbaa !5
  %410 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %409)
  br i1 %410, label %411, label %421

411:                                              ; preds = %408
  %412 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 7
  %413 = load double, ptr %412, align 8, !tbaa !16
  %414 = load ptr, ptr @stats, align 8, !tbaa !33
  %415 = load i64, ptr %8, align 8, !tbaa !9
  %416 = getelementptr inbounds ptr, ptr %414, i64 %415
  %417 = load ptr, ptr %416, align 8, !tbaa !5
  %418 = getelementptr inbounds %class.Stats_thd, ptr %417, i32 0, i32 25
  %419 = load double, ptr %418, align 8, !tbaa !69
  %420 = fadd double %419, %413
  store double %420, ptr %418, align 8, !tbaa !69
  br label %421

421:                                              ; preds = %411, %408
  %422 = load ptr, ptr @simulation, align 8, !tbaa !5
  %423 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %422)
  br i1 %423, label %424, label %434

424:                                              ; preds = %421
  %425 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 8
  %426 = load double, ptr %425, align 8, !tbaa !15
  %427 = load ptr, ptr @stats, align 8, !tbaa !33
  %428 = load i64, ptr %8, align 8, !tbaa !9
  %429 = getelementptr inbounds ptr, ptr %427, i64 %428
  %430 = load ptr, ptr %429, align 8, !tbaa !5
  %431 = getelementptr inbounds %class.Stats_thd, ptr %430, i32 0, i32 26
  %432 = load double, ptr %431, align 8, !tbaa !70
  %433 = fadd double %432, %426
  store double %433, ptr %431, align 8, !tbaa !70
  br label %434

434:                                              ; preds = %424, %421
  %435 = load ptr, ptr @simulation, align 8, !tbaa !5
  %436 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %435)
  br i1 %436, label %437, label %447

437:                                              ; preds = %434
  %438 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 9
  %439 = load double, ptr %438, align 8, !tbaa !18
  %440 = load ptr, ptr @stats, align 8, !tbaa !33
  %441 = load i64, ptr %8, align 8, !tbaa !9
  %442 = getelementptr inbounds ptr, ptr %440, i64 %441
  %443 = load ptr, ptr %442, align 8, !tbaa !5
  %444 = getelementptr inbounds %class.Stats_thd, ptr %443, i32 0, i32 27
  %445 = load double, ptr %444, align 8, !tbaa !71
  %446 = fadd double %445, %439
  store double %446, ptr %444, align 8, !tbaa !71
  br label %447

447:                                              ; preds = %437, %434
  %448 = load ptr, ptr @simulation, align 8, !tbaa !5
  %449 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %448)
  br i1 %449, label %450, label %460

450:                                              ; preds = %447
  %451 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 10
  %452 = load double, ptr %451, align 8, !tbaa !17
  %453 = load ptr, ptr @stats, align 8, !tbaa !33
  %454 = load i64, ptr %8, align 8, !tbaa !9
  %455 = getelementptr inbounds ptr, ptr %453, i64 %454
  %456 = load ptr, ptr %455, align 8, !tbaa !5
  %457 = getelementptr inbounds %class.Stats_thd, ptr %456, i32 0, i32 28
  %458 = load double, ptr %457, align 8, !tbaa !72
  %459 = fadd double %458, %452
  store double %459, ptr %457, align 8, !tbaa !72
  br label %460

460:                                              ; preds = %450, %447
  %461 = load ptr, ptr @simulation, align 8, !tbaa !5
  %462 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %461)
  br i1 %462, label %463, label %473

463:                                              ; preds = %460
  %464 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 11
  %465 = load double, ptr %464, align 8, !tbaa !20
  %466 = load ptr, ptr @stats, align 8, !tbaa !33
  %467 = load i64, ptr %8, align 8, !tbaa !9
  %468 = getelementptr inbounds ptr, ptr %466, i64 %467
  %469 = load ptr, ptr %468, align 8, !tbaa !5
  %470 = getelementptr inbounds %class.Stats_thd, ptr %469, i32 0, i32 29
  %471 = load double, ptr %470, align 8, !tbaa !73
  %472 = fadd double %471, %465
  store double %472, ptr %470, align 8, !tbaa !73
  br label %473

473:                                              ; preds = %463, %460
  %474 = load ptr, ptr @simulation, align 8, !tbaa !5
  %475 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %474)
  br i1 %475, label %476, label %486

476:                                              ; preds = %473
  %477 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 12
  %478 = load double, ptr %477, align 8, !tbaa !19
  %479 = load ptr, ptr @stats, align 8, !tbaa !33
  %480 = load i64, ptr %8, align 8, !tbaa !9
  %481 = getelementptr inbounds ptr, ptr %479, i64 %480
  %482 = load ptr, ptr %481, align 8, !tbaa !5
  %483 = getelementptr inbounds %class.Stats_thd, ptr %482, i32 0, i32 30
  %484 = load double, ptr %483, align 8, !tbaa !74
  %485 = fadd double %484, %478
  store double %485, ptr %483, align 8, !tbaa !74
  br label %486

486:                                              ; preds = %476, %473
  %487 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 3
  %488 = load i64, ptr %487, align 8, !tbaa !75
  %489 = icmp ugt i64 %488, 0
  br i1 %489, label %490, label %502

490:                                              ; preds = %486
  %491 = load ptr, ptr @simulation, align 8, !tbaa !5
  %492 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %491)
  br i1 %492, label %493, label %501

493:                                              ; preds = %490
  %494 = load ptr, ptr @stats, align 8, !tbaa !33
  %495 = load i64, ptr %8, align 8, !tbaa !9
  %496 = getelementptr inbounds ptr, ptr %494, i64 %495
  %497 = load ptr, ptr %496, align 8, !tbaa !5
  %498 = getelementptr inbounds %class.Stats_thd, ptr %497, i32 0, i32 21
  %499 = load i64, ptr %498, align 8, !tbaa !76
  %500 = add i64 %499, 1
  store i64 %500, ptr %498, align 8, !tbaa !76
  br label %501

501:                                              ; preds = %493, %490
  br label %502

502:                                              ; preds = %501, %486
  %503 = getelementptr inbounds %class.TxnStats, ptr %13, i32 0, i32 4
  %504 = load i64, ptr %503, align 8, !tbaa !77
  %505 = icmp ugt i64 %504, 0
  br i1 %505, label %506, label %518

506:                                              ; preds = %502
  %507 = load ptr, ptr @simulation, align 8, !tbaa !5
  %508 = call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %507)
  br i1 %508, label %509, label %517

509:                                              ; preds = %506
  %510 = load ptr, ptr @stats, align 8, !tbaa !33
  %511 = load i64, ptr %8, align 8, !tbaa !9
  %512 = getelementptr inbounds ptr, ptr %510, i64 %511
  %513 = load ptr, ptr %512, align 8, !tbaa !5
  %514 = getelementptr inbounds %class.Stats_thd, ptr %513, i32 0, i32 13
  %515 = load i64, ptr %514, align 8, !tbaa !78
  %516 = add i64 %515, 1
  store i64 %516, ptr %514, align 8, !tbaa !78
  br label %517

517:                                              ; preds = %509, %506
  br label %518

518:                                              ; preds = %517, %502, %381
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 48}
!12 = !{!"_ZTS8TxnStats", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !10, i64 176, !10, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !13, i64 40}
!15 = !{!12, !13, i64 64}
!16 = !{!12, !13, i64 56}
!17 = !{!12, !13, i64 80}
!18 = !{!12, !13, i64 72}
!19 = !{!12, !13, i64 96}
!20 = !{!12, !13, i64 88}
!21 = !{!12, !13, i64 136}
!22 = !{!12, !13, i64 128}
!23 = !{!12, !13, i64 120}
!24 = !{!12, !13, i64 112}
!25 = !{!12, !13, i64 152}
!26 = !{!12, !13, i64 144}
!27 = !{!12, !13, i64 168}
!28 = !{!12, !13, i64 160}
!29 = !{!12, !10, i64 184}
!30 = !{!12, !10, i64 176}
!31 = !{!32, !32, i64 0}
!32 = !{!"int", !7, i64 0}
!33 = !{!34, !6, i64 0}
!34 = !{!"_ZTS5Stats", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!35 = !{!36, !13, i64 1664}
!36 = !{!"_ZTS9Stats_thd", !7, i64 0, !6, i64 64, !6, i64 72, !13, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !13, i64 184, !10, i64 192, !13, i64 200, !10, i64 208, !13, i64 216, !10, i64 224, !10, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !10, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !13, i64 352, !13, i64 360, !13, i64 368, !10, i64 376, !10, i64 384, !13, i64 392, !10, i64 400, !13, i64 408, !10, i64 416, !13, i64 424, !13, i64 432, !13, i64 440, !10, i64 448, !10, i64 456, !10, i64 464, !13, i64 472, !13, i64 480, !13, i64 488, !13, i64 496, !13, i64 504, !13, i64 512, !13, i64 520, !13, i64 528, !13, i64 536, !10, i64 544, !6, i64 552, !6, i64 560, !13, i64 568, !10, i64 576, !10, i64 584, !13, i64 592, !13, i64 600, !13, i64 608, !10, i64 616, !10, i64 624, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !13, i64 672, !13, i64 680, !13, i64 688, !10, i64 696, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !10, i64 760, !13, i64 768, !13, i64 776, !13, i64 784, !13, i64 792, !13, i64 800, !10, i64 808, !10, i64 816, !13, i64 824, !13, i64 832, !10, i64 840, !10, i64 848, !10, i64 856, !13, i64 864, !13, i64 872, !10, i64 880, !10, i64 888, !13, i64 896, !13, i64 904, !13, i64 912, !13, i64 920, !10, i64 928, !10, i64 936, !13, i64 944, !13, i64 952, !13, i64 960, !10, i64 968, !10, i64 976, !13, i64 984, !13, i64 992, !13, i64 1000, !13, i64 1008, !13, i64 1016, !10, i64 1024, !13, i64 1032, !13, i64 1040, !13, i64 1048, !13, i64 1056, !13, i64 1064, !13, i64 1072, !13, i64 1080, !13, i64 1088, !10, i64 1096, !10, i64 1104, !10, i64 1112, !13, i64 1120, !10, i64 1128, !13, i64 1136, !13, i64 1144, !10, i64 1152, !10, i64 1160, !10, i64 1168, !10, i64 1176, !10, i64 1184, !13, i64 1192, !10, i64 1200, !10, i64 1208, !13, i64 1216, !10, i64 1224, !13, i64 1232, !13, i64 1240, !10, i64 1248, !10, i64 1256, !10, i64 1264, !10, i64 1272, !10, i64 1280, !13, i64 1288, !13, i64 1296, !13, i64 1304, !37, i64 1312, !37, i64 1384, !37, i64 1456, !37, i64 1528, !13, i64 1600, !13, i64 1608, !13, i64 1616, !13, i64 1624, !13, i64 1632, !13, i64 1640, !13, i64 1648, !13, i64 1656, !13, i64 1664, !13, i64 1672, !13, i64 1680, !13, i64 1688, !13, i64 1696, !13, i64 1704, !13, i64 1712, !13, i64 1720, !13, i64 1728, !13, i64 1736, !13, i64 1744, !13, i64 1752, !13, i64 1760, !13, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !13, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !13, i64 1872, !13, i64 1880, !6, i64 1888, !7, i64 1896}
!37 = !{!"_ZTS8StatsArr", !6, i64 0, !10, i64 8, !10, i64 16, !38, i64 24, !7, i64 32}
!38 = !{!"_ZTS12StatsArrType", !7, i64 0}
!39 = !{!36, !13, i64 1672}
!40 = !{!36, !13, i64 1680}
!41 = !{!36, !13, i64 1688}
!42 = !{!36, !13, i64 1696}
!43 = !{!12, !13, i64 104}
!44 = !{!36, !13, i64 1704}
!45 = !{!36, !13, i64 1712}
!46 = !{!36, !13, i64 1720}
!47 = !{!36, !13, i64 1728}
!48 = !{!36, !13, i64 1736}
!49 = !{!36, !13, i64 1744}
!50 = !{!12, !13, i64 192}
!51 = !{!36, !13, i64 1752}
!52 = !{!12, !13, i64 216}
!53 = !{!36, !13, i64 1760}
!54 = !{!12, !13, i64 200}
!55 = !{!36, !13, i64 1768}
!56 = !{!12, !13, i64 208}
!57 = !{!36, !13, i64 1776}
!58 = !{!12, !13, i64 224}
!59 = !{!36, !13, i64 1784}
!60 = !{!12, !13, i64 232}
!61 = !{!36, !13, i64 1792}
!62 = !{!36, !13, i64 1808}
!63 = !{!36, !13, i64 1816}
!64 = !{!36, !13, i64 1824}
!65 = !{!36, !13, i64 1832}
!66 = !{!36, !13, i64 1840}
!67 = !{!36, !13, i64 240}
!68 = !{!36, !13, i64 248}
!69 = !{!36, !13, i64 256}
!70 = !{!36, !13, i64 264}
!71 = !{!36, !13, i64 272}
!72 = !{!36, !13, i64 280}
!73 = !{!36, !13, i64 288}
!74 = !{!36, !13, i64 296}
!75 = !{!12, !10, i64 24}
!76 = !{!36, !10, i64 224}
!77 = !{!12, !10, i64 32}
!78 = !{!36, !10, i64 160}


; 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"

%class.Stats = type { ptr, ptr, i64, i64, i64, i64 }

@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [62 x i8], align 1
@simulation = external local_unnamed_addr global ptr, align 8
@stats = external local_unnamed_addr global %class.Stats, align 8
@__PRETTY_FUNCTION__._ZN8TxnStats12commit_statsEmmmmm = external hidden unnamed_addr constant [78 x i8], align 1
@g_node_cnt = external local_unnamed_addr global i32, align 4
@g_node_id = external local_unnamed_addr global i32, align 4

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

declare noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8TxnStats12commit_statsEmmmmm(ptr nocapture noundef nonnull align 8 dereferenceable(256) %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #2 align 2 {
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 40
  %10 = load double, ptr %9, align 8, !tbaa !11
  %11 = fadd double %8, %10
  store double %11, ptr %9, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 64
  %13 = load double, ptr %12, align 8, !tbaa !12
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  %15 = load double, ptr %14, align 8, !tbaa !13
  %16 = fadd double %13, %15
  store double %16, ptr %14, align 8, !tbaa !13
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  %18 = load double, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %0, i64 72
  %20 = load double, ptr %19, align 8, !tbaa !15
  %21 = fadd double %18, %20
  store double %21, ptr %19, align 8, !tbaa !15
  %22 = getelementptr inbounds i8, ptr %0, i64 96
  %23 = load double, ptr %22, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %0, i64 88
  %25 = load double, ptr %24, align 8, !tbaa !17
  %26 = fadd double %23, %25
  store double %26, ptr %24, align 8, !tbaa !17
  %27 = getelementptr inbounds i8, ptr %0, i64 136
  %28 = load double, ptr %27, align 8, !tbaa !18
  %29 = getelementptr inbounds i8, ptr %0, i64 128
  %30 = load double, ptr %29, align 8, !tbaa !19
  %31 = fadd double %28, %30
  store double %31, ptr %29, align 8, !tbaa !19
  %32 = getelementptr inbounds i8, ptr %0, i64 120
  %33 = load double, ptr %32, align 8, !tbaa !20
  %34 = getelementptr inbounds i8, ptr %0, i64 112
  %35 = load double, ptr %34, align 8, !tbaa !21
  %36 = fadd double %33, %35
  store double %36, ptr %34, align 8, !tbaa !21
  %37 = getelementptr inbounds i8, ptr %0, i64 152
  %38 = load double, ptr %37, align 8, !tbaa !22
  %39 = getelementptr inbounds i8, ptr %0, i64 144
  %40 = load double, ptr %39, align 8, !tbaa !23
  %41 = fadd double %38, %40
  store double %41, ptr %39, align 8, !tbaa !23
  %42 = getelementptr inbounds i8, ptr %0, i64 168
  %43 = load double, ptr %42, align 8, !tbaa !24
  %44 = getelementptr inbounds i8, ptr %0, i64 160
  %45 = load double, ptr %44, align 8, !tbaa !25
  %46 = fadd double %43, %45
  store double %46, ptr %44, align 8, !tbaa !25
  %47 = getelementptr inbounds i8, ptr %0, i64 184
  %48 = load i64, ptr %47, align 8, !tbaa !26
  %49 = getelementptr inbounds i8, ptr %0, i64 176
  %50 = load i64, ptr %49, align 8, !tbaa !27
  %51 = add i64 %50, %48
  store i64 %51, ptr %49, align 8, !tbaa !27
  %52 = fcmp ult double %11, %8
  br i1 %52, label %53, label %54

53:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 135, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN8TxnStats12commit_statsEmmmmm) #3
  unreachable

54:                                               ; preds = %6
  %55 = load i32, ptr @g_node_cnt, align 4, !tbaa !28
  %56 = zext i32 %55 to i64
  %57 = urem i64 %2, %56
  %58 = load i32, ptr @g_node_id, align 4, !tbaa !28
  %59 = zext i32 %58 to i64
  %60 = icmp eq i64 %57, %59
  %61 = load ptr, ptr @simulation, align 8, !tbaa !30
  %62 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %61)
  br i1 %60, label %63, label %248

63:                                               ; preds = %54
  br i1 %62, label %64, label %72

64:                                               ; preds = %63
  %65 = load double, ptr %29, align 8, !tbaa !19
  %66 = load ptr, ptr @stats, align 8, !tbaa !32
  %67 = getelementptr inbounds ptr, ptr %66, i64 %1
  %68 = load ptr, ptr %67, align 8, !tbaa !30
  %69 = getelementptr inbounds i8, ptr %68, i64 1664
  %70 = load double, ptr %69, align 8, !tbaa !34
  %71 = fadd double %65, %70
  store double %71, ptr %69, align 8, !tbaa !34
  br label %72

72:                                               ; preds = %64, %63
  %73 = load ptr, ptr @simulation, align 8, !tbaa !30
  %74 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %73)
  br i1 %74, label %75, label %83

75:                                               ; preds = %72
  %76 = load double, ptr %34, align 8, !tbaa !21
  %77 = load ptr, ptr @stats, align 8, !tbaa !32
  %78 = getelementptr inbounds ptr, ptr %77, i64 %1
  %79 = load ptr, ptr %78, align 8, !tbaa !30
  %80 = getelementptr inbounds i8, ptr %79, i64 1672
  %81 = load double, ptr %80, align 8, !tbaa !38
  %82 = fadd double %76, %81
  store double %82, ptr %80, align 8, !tbaa !38
  br label %83

83:                                               ; preds = %75, %72
  %84 = load ptr, ptr @simulation, align 8, !tbaa !30
  %85 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %84)
  br i1 %85, label %86, label %94

86:                                               ; preds = %83
  %87 = load double, ptr %39, align 8, !tbaa !23
  %88 = load ptr, ptr @stats, align 8, !tbaa !32
  %89 = getelementptr inbounds ptr, ptr %88, i64 %1
  %90 = load ptr, ptr %89, align 8, !tbaa !30
  %91 = getelementptr inbounds i8, ptr %90, i64 1680
  %92 = load double, ptr %91, align 8, !tbaa !39
  %93 = fadd double %87, %92
  store double %93, ptr %91, align 8, !tbaa !39
  br label %94

94:                                               ; preds = %86, %83
  %95 = load ptr, ptr @simulation, align 8, !tbaa !30
  %96 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %95)
  br i1 %96, label %97, label %105

97:                                               ; preds = %94
  %98 = load double, ptr %44, align 8, !tbaa !25
  %99 = load ptr, ptr @stats, align 8, !tbaa !32
  %100 = getelementptr inbounds ptr, ptr %99, i64 %1
  %101 = load ptr, ptr %100, align 8, !tbaa !30
  %102 = getelementptr inbounds i8, ptr %101, i64 1688
  %103 = load double, ptr %102, align 8, !tbaa !40
  %104 = fadd double %98, %103
  store double %104, ptr %102, align 8, !tbaa !40
  br label %105

105:                                              ; preds = %97, %94
  %106 = load ptr, ptr @simulation, align 8, !tbaa !30
  %107 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %106)
  br i1 %107, label %108, label %116

108:                                              ; preds = %105
  %109 = load double, ptr %9, align 8, !tbaa !11
  %110 = load ptr, ptr @stats, align 8, !tbaa !32
  %111 = getelementptr inbounds ptr, ptr %110, i64 %1
  %112 = load ptr, ptr %111, align 8, !tbaa !30
  %113 = getelementptr inbounds i8, ptr %112, i64 1696
  %114 = load double, ptr %113, align 8, !tbaa !41
  %115 = fadd double %109, %114
  store double %115, ptr %113, align 8, !tbaa !41
  br label %116

116:                                              ; preds = %108, %105
  %117 = load ptr, ptr @simulation, align 8, !tbaa !30
  %118 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %117)
  br i1 %118, label %119, label %128

119:                                              ; preds = %116
  %120 = getelementptr inbounds i8, ptr %0, i64 104
  %121 = load double, ptr %120, align 8, !tbaa !42
  %122 = load ptr, ptr @stats, align 8, !tbaa !32
  %123 = getelementptr inbounds ptr, ptr %122, i64 %1
  %124 = load ptr, ptr %123, align 8, !tbaa !30
  %125 = getelementptr inbounds i8, ptr %124, i64 1704
  %126 = load double, ptr %125, align 8, !tbaa !43
  %127 = fadd double %121, %126
  store double %127, ptr %125, align 8, !tbaa !43
  br label %128

128:                                              ; preds = %119, %116
  %129 = load ptr, ptr @simulation, align 8, !tbaa !30
  %130 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %129)
  br i1 %130, label %131, label %139

131:                                              ; preds = %128
  %132 = load double, ptr %27, align 8, !tbaa !18
  %133 = load ptr, ptr @stats, align 8, !tbaa !32
  %134 = getelementptr inbounds ptr, ptr %133, i64 %1
  %135 = load ptr, ptr %134, align 8, !tbaa !30
  %136 = getelementptr inbounds i8, ptr %135, i64 1712
  %137 = load double, ptr %136, align 8, !tbaa !44
  %138 = fadd double %132, %137
  store double %138, ptr %136, align 8, !tbaa !44
  br label %139

139:                                              ; preds = %131, %128
  %140 = load ptr, ptr @simulation, align 8, !tbaa !30
  %141 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %140)
  br i1 %141, label %142, label %150

142:                                              ; preds = %139
  %143 = load double, ptr %32, align 8, !tbaa !20
  %144 = load ptr, ptr @stats, align 8, !tbaa !32
  %145 = getelementptr inbounds ptr, ptr %144, i64 %1
  %146 = load ptr, ptr %145, align 8, !tbaa !30
  %147 = getelementptr inbounds i8, ptr %146, i64 1720
  %148 = load double, ptr %147, align 8, !tbaa !45
  %149 = fadd double %143, %148
  store double %149, ptr %147, align 8, !tbaa !45
  br label %150

150:                                              ; preds = %142, %139
  %151 = load ptr, ptr @simulation, align 8, !tbaa !30
  %152 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %151)
  br i1 %152, label %153, label %161

153:                                              ; preds = %150
  %154 = load double, ptr %37, align 8, !tbaa !22
  %155 = load ptr, ptr @stats, align 8, !tbaa !32
  %156 = getelementptr inbounds ptr, ptr %155, i64 %1
  %157 = load ptr, ptr %156, align 8, !tbaa !30
  %158 = getelementptr inbounds i8, ptr %157, i64 1728
  %159 = load double, ptr %158, align 8, !tbaa !46
  %160 = fadd double %154, %159
  store double %160, ptr %158, align 8, !tbaa !46
  br label %161

161:                                              ; preds = %153, %150
  %162 = load ptr, ptr @simulation, align 8, !tbaa !30
  %163 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %162)
  br i1 %163, label %164, label %172

164:                                              ; preds = %161
  %165 = load double, ptr %42, align 8, !tbaa !24
  %166 = load ptr, ptr @stats, align 8, !tbaa !32
  %167 = getelementptr inbounds ptr, ptr %166, i64 %1
  %168 = load ptr, ptr %167, align 8, !tbaa !30
  %169 = getelementptr inbounds i8, ptr %168, i64 1736
  %170 = load double, ptr %169, align 8, !tbaa !47
  %171 = fadd double %165, %170
  store double %171, ptr %169, align 8, !tbaa !47
  br label %172

172:                                              ; preds = %164, %161
  %173 = load ptr, ptr @simulation, align 8, !tbaa !30
  %174 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %173)
  br i1 %174, label %175, label %183

175:                                              ; preds = %172
  %176 = load double, ptr %7, align 8, !tbaa !5
  %177 = load ptr, ptr @stats, align 8, !tbaa !32
  %178 = getelementptr inbounds ptr, ptr %177, i64 %1
  %179 = load ptr, ptr %178, align 8, !tbaa !30
  %180 = getelementptr inbounds i8, ptr %179, i64 1744
  %181 = load double, ptr %180, align 8, !tbaa !48
  %182 = fadd double %176, %181
  store double %182, ptr %180, align 8, !tbaa !48
  br label %183

183:                                              ; preds = %175, %172
  %184 = load ptr, ptr @simulation, align 8, !tbaa !30
  %185 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %184)
  br i1 %185, label %186, label %195

186:                                              ; preds = %183
  %187 = getelementptr inbounds i8, ptr %0, i64 192
  %188 = load double, ptr %187, align 8, !tbaa !49
  %189 = load ptr, ptr @stats, align 8, !tbaa !32
  %190 = getelementptr inbounds ptr, ptr %189, i64 %1
  %191 = load ptr, ptr %190, align 8, !tbaa !30
  %192 = getelementptr inbounds i8, ptr %191, i64 1752
  %193 = load double, ptr %192, align 8, !tbaa !50
  %194 = fadd double %188, %193
  store double %194, ptr %192, align 8, !tbaa !50
  br label %195

195:                                              ; preds = %186, %183
  %196 = load ptr, ptr @simulation, align 8, !tbaa !30
  %197 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %196)
  br i1 %197, label %198, label %207

198:                                              ; preds = %195
  %199 = getelementptr inbounds i8, ptr %0, i64 216
  %200 = load double, ptr %199, align 8, !tbaa !51
  %201 = load ptr, ptr @stats, align 8, !tbaa !32
  %202 = getelementptr inbounds ptr, ptr %201, i64 %1
  %203 = load ptr, ptr %202, align 8, !tbaa !30
  %204 = getelementptr inbounds i8, ptr %203, i64 1760
  %205 = load double, ptr %204, align 8, !tbaa !52
  %206 = fadd double %200, %205
  store double %206, ptr %204, align 8, !tbaa !52
  br label %207

207:                                              ; preds = %198, %195
  %208 = load ptr, ptr @simulation, align 8, !tbaa !30
  %209 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %208)
  br i1 %209, label %210, label %219

210:                                              ; preds = %207
  %211 = getelementptr inbounds i8, ptr %0, i64 200
  %212 = load double, ptr %211, align 8, !tbaa !53
  %213 = load ptr, ptr @stats, align 8, !tbaa !32
  %214 = getelementptr inbounds ptr, ptr %213, i64 %1
  %215 = load ptr, ptr %214, align 8, !tbaa !30
  %216 = getelementptr inbounds i8, ptr %215, i64 1768
  %217 = load double, ptr %216, align 8, !tbaa !54
  %218 = fadd double %212, %217
  store double %218, ptr %216, align 8, !tbaa !54
  br label %219

219:                                              ; preds = %210, %207
  %220 = load ptr, ptr @simulation, align 8, !tbaa !30
  %221 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %220)
  br i1 %221, label %222, label %231

222:                                              ; preds = %219
  %223 = getelementptr inbounds i8, ptr %0, i64 208
  %224 = load double, ptr %223, align 8, !tbaa !55
  %225 = load ptr, ptr @stats, align 8, !tbaa !32
  %226 = getelementptr inbounds ptr, ptr %225, i64 %1
  %227 = load ptr, ptr %226, align 8, !tbaa !30
  %228 = getelementptr inbounds i8, ptr %227, i64 1776
  %229 = load double, ptr %228, align 8, !tbaa !56
  %230 = fadd double %224, %229
  store double %230, ptr %228, align 8, !tbaa !56
  br label %231

231:                                              ; preds = %222, %219
  %232 = load ptr, ptr @simulation, align 8, !tbaa !30
  %233 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %232)
  br i1 %233, label %234, label %243

234:                                              ; preds = %231
  %235 = getelementptr inbounds i8, ptr %0, i64 224
  %236 = load double, ptr %235, align 8, !tbaa !57
  %237 = load ptr, ptr @stats, align 8, !tbaa !32
  %238 = getelementptr inbounds ptr, ptr %237, i64 %1
  %239 = load ptr, ptr %238, align 8, !tbaa !30
  %240 = getelementptr inbounds i8, ptr %239, i64 1784
  %241 = load double, ptr %240, align 8, !tbaa !58
  %242 = fadd double %236, %241
  store double %242, ptr %240, align 8, !tbaa !58
  br label %243

243:                                              ; preds = %234, %231
  %244 = load ptr, ptr @simulation, align 8, !tbaa !30
  %245 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %244)
  br i1 %245, label %246, label %300

246:                                              ; preds = %243
  %247 = getelementptr inbounds i8, ptr %0, i64 232
  br label %.sink.split

248:                                              ; preds = %54
  br i1 %62, label %249, label %257

249:                                              ; preds = %248
  %250 = load double, ptr %29, align 8, !tbaa !19
  %251 = load ptr, ptr @stats, align 8, !tbaa !32
  %252 = getelementptr inbounds ptr, ptr %251, i64 %1
  %253 = load ptr, ptr %252, align 8, !tbaa !30
  %254 = getelementptr inbounds i8, ptr %253, i64 1808
  %255 = load double, ptr %254, align 8, !tbaa !59
  %256 = fadd double %250, %255
  store double %256, ptr %254, align 8, !tbaa !59
  br label %257

257:                                              ; preds = %249, %248
  %258 = load ptr, ptr @simulation, align 8, !tbaa !30
  %259 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %258)
  br i1 %259, label %260, label %268

260:                                              ; preds = %257
  %261 = load double, ptr %34, align 8, !tbaa !21
  %262 = load ptr, ptr @stats, align 8, !tbaa !32
  %263 = getelementptr inbounds ptr, ptr %262, i64 %1
  %264 = load ptr, ptr %263, align 8, !tbaa !30
  %265 = getelementptr inbounds i8, ptr %264, i64 1816
  %266 = load double, ptr %265, align 8, !tbaa !60
  %267 = fadd double %261, %266
  store double %267, ptr %265, align 8, !tbaa !60
  br label %268

268:                                              ; preds = %260, %257
  %269 = load ptr, ptr @simulation, align 8, !tbaa !30
  %270 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %269)
  br i1 %270, label %271, label %279

271:                                              ; preds = %268
  %272 = load double, ptr %39, align 8, !tbaa !23
  %273 = load ptr, ptr @stats, align 8, !tbaa !32
  %274 = getelementptr inbounds ptr, ptr %273, i64 %1
  %275 = load ptr, ptr %274, align 8, !tbaa !30
  %276 = getelementptr inbounds i8, ptr %275, i64 1824
  %277 = load double, ptr %276, align 8, !tbaa !61
  %278 = fadd double %272, %277
  store double %278, ptr %276, align 8, !tbaa !61
  br label %279

279:                                              ; preds = %271, %268
  %280 = load ptr, ptr @simulation, align 8, !tbaa !30
  %281 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %280)
  br i1 %281, label %282, label %290

282:                                              ; preds = %279
  %283 = load double, ptr %44, align 8, !tbaa !25
  %284 = load ptr, ptr @stats, align 8, !tbaa !32
  %285 = getelementptr inbounds ptr, ptr %284, i64 %1
  %286 = load ptr, ptr %285, align 8, !tbaa !30
  %287 = getelementptr inbounds i8, ptr %286, i64 1832
  %288 = load double, ptr %287, align 8, !tbaa !62
  %289 = fadd double %283, %288
  store double %289, ptr %287, align 8, !tbaa !62
  br label %290

290:                                              ; preds = %282, %279
  %291 = load ptr, ptr @simulation, align 8, !tbaa !30
  %292 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %291)
  br i1 %292, label %.sink.split, label %300

.sink.split:                                      ; preds = %290, %246
  %.sink = phi ptr [ %247, %246 ], [ %9, %290 ]
  %.sink39 = phi i64 [ 1792, %246 ], [ 1840, %290 ]
  %293 = load double, ptr %.sink, align 8, !tbaa !63
  %294 = load ptr, ptr @stats, align 8, !tbaa !32
  %295 = getelementptr inbounds ptr, ptr %294, i64 %1
  %296 = load ptr, ptr %295, align 8, !tbaa !30
  %297 = getelementptr inbounds i8, ptr %296, i64 %.sink39
  %298 = load double, ptr %297, align 8, !tbaa !63
  %299 = fadd double %293, %298
  store double %299, ptr %297, align 8, !tbaa !63
  br label %300

300:                                              ; preds = %.sink.split, %243, %290
  %301 = load i32, ptr @g_node_cnt, align 4, !tbaa !28
  %302 = zext i32 %301 to i64
  %303 = urem i64 %2, %302
  %304 = load i32, ptr @g_node_id, align 4, !tbaa !28
  %305 = zext i32 %304 to i64
  %306 = icmp eq i64 %303, %305
  br i1 %306, label %307, label %421

307:                                              ; preds = %300
  %308 = load ptr, ptr @simulation, align 8, !tbaa !30
  %309 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %308)
  br i1 %309, label %310, label %318

310:                                              ; preds = %307
  %311 = load double, ptr %9, align 8, !tbaa !11
  %312 = load ptr, ptr @stats, align 8, !tbaa !32
  %313 = getelementptr inbounds ptr, ptr %312, i64 %1
  %314 = load ptr, ptr %313, align 8, !tbaa !30
  %315 = getelementptr inbounds i8, ptr %314, i64 240
  %316 = load double, ptr %315, align 8, !tbaa !64
  %317 = fadd double %311, %316
  store double %317, ptr %315, align 8, !tbaa !64
  br label %318

318:                                              ; preds = %310, %307
  %319 = load ptr, ptr @simulation, align 8, !tbaa !30
  %320 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %319)
  br i1 %320, label %321, label %329

321:                                              ; preds = %318
  %322 = load double, ptr %7, align 8, !tbaa !5
  %323 = load ptr, ptr @stats, align 8, !tbaa !32
  %324 = getelementptr inbounds ptr, ptr %323, i64 %1
  %325 = load ptr, ptr %324, align 8, !tbaa !30
  %326 = getelementptr inbounds i8, ptr %325, i64 248
  %327 = load double, ptr %326, align 8, !tbaa !65
  %328 = fadd double %322, %327
  store double %328, ptr %326, align 8, !tbaa !65
  br label %329

329:                                              ; preds = %321, %318
  %330 = load ptr, ptr @simulation, align 8, !tbaa !30
  %331 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %330)
  br i1 %331, label %332, label %340

332:                                              ; preds = %329
  %333 = load double, ptr %14, align 8, !tbaa !13
  %334 = load ptr, ptr @stats, align 8, !tbaa !32
  %335 = getelementptr inbounds ptr, ptr %334, i64 %1
  %336 = load ptr, ptr %335, align 8, !tbaa !30
  %337 = getelementptr inbounds i8, ptr %336, i64 256
  %338 = load double, ptr %337, align 8, !tbaa !66
  %339 = fadd double %333, %338
  store double %339, ptr %337, align 8, !tbaa !66
  br label %340

340:                                              ; preds = %332, %329
  %341 = load ptr, ptr @simulation, align 8, !tbaa !30
  %342 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %341)
  br i1 %342, label %343, label %351

343:                                              ; preds = %340
  %344 = load double, ptr %12, align 8, !tbaa !12
  %345 = load ptr, ptr @stats, align 8, !tbaa !32
  %346 = getelementptr inbounds ptr, ptr %345, i64 %1
  %347 = load ptr, ptr %346, align 8, !tbaa !30
  %348 = getelementptr inbounds i8, ptr %347, i64 264
  %349 = load double, ptr %348, align 8, !tbaa !67
  %350 = fadd double %344, %349
  store double %350, ptr %348, align 8, !tbaa !67
  br label %351

351:                                              ; preds = %343, %340
  %352 = load ptr, ptr @simulation, align 8, !tbaa !30
  %353 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %352)
  br i1 %353, label %354, label %362

354:                                              ; preds = %351
  %355 = load double, ptr %19, align 8, !tbaa !15
  %356 = load ptr, ptr @stats, align 8, !tbaa !32
  %357 = getelementptr inbounds ptr, ptr %356, i64 %1
  %358 = load ptr, ptr %357, align 8, !tbaa !30
  %359 = getelementptr inbounds i8, ptr %358, i64 272
  %360 = load double, ptr %359, align 8, !tbaa !68
  %361 = fadd double %355, %360
  store double %361, ptr %359, align 8, !tbaa !68
  br label %362

362:                                              ; preds = %354, %351
  %363 = load ptr, ptr @simulation, align 8, !tbaa !30
  %364 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %363)
  br i1 %364, label %365, label %373

365:                                              ; preds = %362
  %366 = load double, ptr %17, align 8, !tbaa !14
  %367 = load ptr, ptr @stats, align 8, !tbaa !32
  %368 = getelementptr inbounds ptr, ptr %367, i64 %1
  %369 = load ptr, ptr %368, align 8, !tbaa !30
  %370 = getelementptr inbounds i8, ptr %369, i64 280
  %371 = load double, ptr %370, align 8, !tbaa !69
  %372 = fadd double %366, %371
  store double %372, ptr %370, align 8, !tbaa !69
  br label %373

373:                                              ; preds = %365, %362
  %374 = load ptr, ptr @simulation, align 8, !tbaa !30
  %375 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %374)
  br i1 %375, label %376, label %384

376:                                              ; preds = %373
  %377 = load double, ptr %24, align 8, !tbaa !17
  %378 = load ptr, ptr @stats, align 8, !tbaa !32
  %379 = getelementptr inbounds ptr, ptr %378, i64 %1
  %380 = load ptr, ptr %379, align 8, !tbaa !30
  %381 = getelementptr inbounds i8, ptr %380, i64 288
  %382 = load double, ptr %381, align 8, !tbaa !70
  %383 = fadd double %377, %382
  store double %383, ptr %381, align 8, !tbaa !70
  br label %384

384:                                              ; preds = %376, %373
  %385 = load ptr, ptr @simulation, align 8, !tbaa !30
  %386 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %385)
  br i1 %386, label %387, label %395

387:                                              ; preds = %384
  %388 = load double, ptr %22, align 8, !tbaa !16
  %389 = load ptr, ptr @stats, align 8, !tbaa !32
  %390 = getelementptr inbounds ptr, ptr %389, i64 %1
  %391 = load ptr, ptr %390, align 8, !tbaa !30
  %392 = getelementptr inbounds i8, ptr %391, i64 296
  %393 = load double, ptr %392, align 8, !tbaa !71
  %394 = fadd double %388, %393
  store double %394, ptr %392, align 8, !tbaa !71
  br label %395

395:                                              ; preds = %387, %384
  %396 = getelementptr inbounds i8, ptr %0, i64 24
  %397 = load i64, ptr %396, align 8, !tbaa !72
  %.not = icmp eq i64 %397, 0
  br i1 %.not, label %408, label %398

398:                                              ; preds = %395
  %399 = load ptr, ptr @simulation, align 8, !tbaa !30
  %400 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %399)
  br i1 %400, label %401, label %408

401:                                              ; preds = %398
  %402 = load ptr, ptr @stats, align 8, !tbaa !32
  %403 = getelementptr inbounds ptr, ptr %402, i64 %1
  %404 = load ptr, ptr %403, align 8, !tbaa !30
  %405 = getelementptr inbounds i8, ptr %404, i64 224
  %406 = load i64, ptr %405, align 8, !tbaa !73
  %407 = add i64 %406, 1
  store i64 %407, ptr %405, align 8, !tbaa !73
  br label %408

408:                                              ; preds = %398, %401, %395
  %409 = getelementptr inbounds i8, ptr %0, i64 32
  %410 = load i64, ptr %409, align 8, !tbaa !74
  %.not34 = icmp eq i64 %410, 0
  br i1 %.not34, label %421, label %411

411:                                              ; preds = %408
  %412 = load ptr, ptr @simulation, align 8, !tbaa !30
  %413 = tail call noundef zeroext i1 @_ZN10SimManager14is_warmup_doneEv(ptr noundef nonnull align 8 dereferenceable(96) %412)
  br i1 %413, label %414, label %421

414:                                              ; preds = %411
  %415 = load ptr, ptr @stats, align 8, !tbaa !32
  %416 = getelementptr inbounds ptr, ptr %415, i64 %1
  %417 = load ptr, ptr %416, align 8, !tbaa !30
  %418 = getelementptr inbounds i8, ptr %417, i64 160
  %419 = load i64, ptr %418, align 8, !tbaa !75
  %420 = add i64 %419, 1
  store i64 %420, ptr %418, align 8, !tbaa !75
  br label %421

421:                                              ; preds = %411, %414, %300, %408
  ret void
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "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 }

!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 48}
!6 = !{!"_ZTS8TxnStats", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!6, !10, i64 40}
!12 = !{!6, !10, i64 64}
!13 = !{!6, !10, i64 56}
!14 = !{!6, !10, i64 80}
!15 = !{!6, !10, i64 72}
!16 = !{!6, !10, i64 96}
!17 = !{!6, !10, i64 88}
!18 = !{!6, !10, i64 136}
!19 = !{!6, !10, i64 128}
!20 = !{!6, !10, i64 120}
!21 = !{!6, !10, i64 112}
!22 = !{!6, !10, i64 152}
!23 = !{!6, !10, i64 144}
!24 = !{!6, !10, i64 168}
!25 = !{!6, !10, i64 160}
!26 = !{!6, !7, i64 184}
!27 = !{!6, !7, i64 176}
!28 = !{!29, !29, i64 0}
!29 = !{!"int", !8, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"any pointer", !8, i64 0}
!32 = !{!33, !31, i64 0}
!33 = !{!"_ZTS5Stats", !31, i64 0, !31, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!34 = !{!35, !10, i64 1664}
!35 = !{!"_ZTS9Stats_thd", !8, i64 0, !31, i64 64, !31, i64 72, !10, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !10, i64 184, !7, i64 192, !10, i64 200, !7, i64 208, !10, i64 216, !7, i64 224, !7, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !7, i64 304, !10, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !10, i64 344, !10, i64 352, !10, i64 360, !10, i64 368, !7, i64 376, !7, i64 384, !10, i64 392, !7, i64 400, !10, i64 408, !7, i64 416, !10, i64 424, !10, i64 432, !10, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !10, i64 520, !10, i64 528, !10, i64 536, !7, i64 544, !31, i64 552, !31, i64 560, !10, i64 568, !7, i64 576, !7, i64 584, !10, i64 592, !10, i64 600, !10, i64 608, !7, i64 616, !7, i64 624, !7, i64 632, !7, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !10, i64 672, !10, i64 680, !10, i64 688, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !7, i64 760, !10, i64 768, !10, i64 776, !10, i64 784, !10, i64 792, !10, i64 800, !7, i64 808, !7, i64 816, !10, i64 824, !10, i64 832, !7, i64 840, !7, i64 848, !7, i64 856, !10, i64 864, !10, i64 872, !7, i64 880, !7, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !10, i64 920, !7, i64 928, !7, i64 936, !10, i64 944, !10, i64 952, !10, i64 960, !7, i64 968, !7, i64 976, !10, i64 984, !10, i64 992, !10, i64 1000, !10, i64 1008, !10, i64 1016, !7, i64 1024, !10, i64 1032, !10, i64 1040, !10, i64 1048, !10, i64 1056, !10, i64 1064, !10, i64 1072, !10, i64 1080, !10, i64 1088, !7, i64 1096, !7, i64 1104, !7, i64 1112, !10, i64 1120, !7, i64 1128, !10, i64 1136, !10, i64 1144, !7, i64 1152, !7, i64 1160, !7, i64 1168, !7, i64 1176, !7, i64 1184, !10, i64 1192, !7, i64 1200, !7, i64 1208, !10, i64 1216, !7, i64 1224, !10, i64 1232, !10, i64 1240, !7, i64 1248, !7, i64 1256, !7, i64 1264, !7, i64 1272, !7, i64 1280, !10, i64 1288, !10, i64 1296, !10, i64 1304, !36, i64 1312, !36, i64 1384, !36, i64 1456, !36, i64 1528, !10, i64 1600, !10, i64 1608, !10, i64 1616, !10, i64 1624, !10, i64 1632, !10, i64 1640, !10, i64 1648, !10, i64 1656, !10, i64 1664, !10, i64 1672, !10, i64 1680, !10, i64 1688, !10, i64 1696, !10, i64 1704, !10, i64 1712, !10, i64 1720, !10, i64 1728, !10, i64 1736, !10, i64 1744, !10, i64 1752, !10, i64 1760, !10, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !10, i64 1872, !10, i64 1880, !31, i64 1888, !8, i64 1896}
!36 = !{!"_ZTS8StatsArr", !31, i64 0, !7, i64 8, !7, i64 16, !37, i64 24, !8, i64 32}
!37 = !{!"_ZTS12StatsArrType", !8, i64 0}
!38 = !{!35, !10, i64 1672}
!39 = !{!35, !10, i64 1680}
!40 = !{!35, !10, i64 1688}
!41 = !{!35, !10, i64 1696}
!42 = !{!6, !10, i64 104}
!43 = !{!35, !10, i64 1704}
!44 = !{!35, !10, i64 1712}
!45 = !{!35, !10, i64 1720}
!46 = !{!35, !10, i64 1728}
!47 = !{!35, !10, i64 1736}
!48 = !{!35, !10, i64 1744}
!49 = !{!6, !10, i64 192}
!50 = !{!35, !10, i64 1752}
!51 = !{!6, !10, i64 216}
!52 = !{!35, !10, i64 1760}
!53 = !{!6, !10, i64 200}
!54 = !{!35, !10, i64 1768}
!55 = !{!6, !10, i64 208}
!56 = !{!35, !10, i64 1776}
!57 = !{!6, !10, i64 224}
!58 = !{!35, !10, i64 1784}
!59 = !{!35, !10, i64 1808}
!60 = !{!35, !10, i64 1816}
!61 = !{!35, !10, i64 1824}
!62 = !{!35, !10, i64 1832}
!63 = !{!10, !10, i64 0}
!64 = !{!35, !10, i64 240}
!65 = !{!35, !10, i64 248}
!66 = !{!35, !10, i64 256}
!67 = !{!35, !10, i64 264}
!68 = !{!35, !10, i64 272}
!69 = !{!35, !10, i64 280}
!70 = !{!35, !10, i64 288}
!71 = !{!35, !10, i64 296}
!72 = !{!6, !7, i64 24}
!73 = !{!35, !7, i64 224}
!74 = !{!6, !7, i64 32}
!75 = !{!35, !7, i64 160}


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