; LLVM IR from stan-dev/math :: lib/tbb_2020.3/src/test/test_parallel_scan.ll (Z15TestAccumulatorii)

; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.Accumulator = type { ptr, ptr, %struct.Storage, i32, ptr }
%struct.Storage = type { i32, %"class.tbb::blocked_range" }
%"class.tbb::blocked_range" = type { i64, i64, i64 }
%"class.tbb::tick_count" = type { i64 }
%"class.tbb::simple_partitioner" = type { i8 }
%"class.tbb::auto_partitioner" = type { i8 }
%"class.tbb::tick_count::interval_t" = type { i64 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZL13AddendHistory = external hidden global [2000 x i8], align 16
@_ZL13ScanIsRunning = external hidden global i8, align 1
@__FUNCTION__._Z15TestAccumulatorii = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZL7Verbose = external hidden global i8, align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [86 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11ReportErrorPKciS0_S0_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9VerifySumilii(i32 noundef, i64 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z15TestAccumulatorii(i32 noundef %0, i32 noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca %class.Accumulator, align 8
  %16 = alloca %"class.tbb::tick_count", align 8
  %17 = alloca %"class.tbb::blocked_range", align 8
  %18 = alloca %"class.tbb::blocked_range", align 8
  %19 = alloca %"class.tbb::simple_partitioner", align 1
  %20 = alloca %"class.tbb::blocked_range", align 8
  %21 = alloca %"class.tbb::auto_partitioner", align 1
  %22 = alloca %"class.tbb::tick_count", align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca %"class.tbb::tick_count::interval_t", align 8
  %27 = alloca %"class.std::vector", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i64, align 8
  %30 = alloca i32, align 4
  %31 = alloca %"class.tbb::blocked_range", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca i64, align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.tbb::blocked_range", align 8
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca i64, align 8
  %40 = alloca i32, align 4
  %41 = alloca %"class.tbb::blocked_range", align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %42 unwind label %48

42:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %43 unwind label %52

43:                                               ; preds = %42
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %376, %43
  %45 = load i64, ptr %11, align 8, !tbaa !9
  %46 = icmp sle i64 %45, 2000
  br i1 %46, label %56, label %47

47:                                               ; preds = %44
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %392

48:                                               ; preds = %2
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %7, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  br label %394

52:                                               ; preds = %42
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %393

56:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %68, %56
  %58 = load i64, ptr %13, align 8, !tbaa !9
  %59 = icmp slt i64 %58, 2000
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %71

61:                                               ; preds = %57
  %62 = load i64, ptr %13, align 8, !tbaa !9
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %62) #4
  store i32 -1, ptr %63, align 4, !tbaa !5
  %64 = load i64, ptr %13, align 8, !tbaa !9
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %64) #4
  store i32 -2, ptr %65, align 4, !tbaa !5
  %66 = load i64, ptr %13, align 8, !tbaa !9
  %67 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %66
  store i8 0, ptr %67, align 1, !tbaa !11
  br label %68

68:                                               ; preds = %61
  %69 = load i64, ptr %13, align 8, !tbaa !9
  %70 = add nsw i64 %69, 1
  store i64 %70, ptr %13, align 8, !tbaa !9
  br label %57, !llvm.loop !12

71:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  store i64 0, ptr %14, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %82, %71
  %73 = load i64, ptr %14, align 8, !tbaa !9
  %74 = load i64, ptr %11, align 8, !tbaa !9
  %75 = icmp slt i64 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %85

77:                                               ; preds = %72
  %78 = load i64, ptr %14, align 8, !tbaa !9
  %79 = trunc i64 %78 to i32
  %80 = load i64, ptr %14, align 8, !tbaa !9
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %80) #4
  store i32 %79, ptr %81, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %77
  %83 = load i64, ptr %14, align 8, !tbaa !9
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %14, align 8, !tbaa !9
  br label %72, !llvm.loop !14

85:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 64, ptr %15) #4
  invoke void @_ZN11AccumulatorIiEC2EiRKSt6vectorIiSaIiEERS3_(ptr noundef nonnull align 8 dereferenceable(64) %15, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %86 unwind label %91

86:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %87 = invoke i64 @_ZN3tbb10tick_count3nowEv()
          to label %88 unwind label %95

88:                                               ; preds = %86
  %89 = getelementptr inbounds %"class.tbb::tick_count", ptr %16, i32 0, i32 0
  store i64 %87, ptr %89, align 8
  store volatile i8 1, ptr @_ZL13ScanIsRunning, align 1, !tbaa !15
  %90 = load i32, ptr %3, align 4, !tbaa !5
  switch i32 %90, label %135 [
    i32 0, label %99
    i32 1, label %107
    i32 2, label %121
  ]

91:                                               ; preds = %85
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %7, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %8, align 4
  br label %391

95:                                               ; preds = %135, %86
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %7, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %8, align 4
  br label %390

99:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #4
  %100 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef 0, i64 noundef %100, i64 noundef 1)
          to label %101 unwind label %103

101:                                              ; preds = %99
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %102 unwind label %103

102:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  br label %135

103:                                              ; preds = %101, %99
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %7, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #4
  br label %390

107:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #4
  %108 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0, i64 noundef %108, i64 noundef 1)
          to label %109 unwind label %112

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #4
  invoke void @_ZN3tbb18simple_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %110 unwind label %116

110:                                              ; preds = %109
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_18simple_partitionerE(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %111 unwind label %116

111:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  br label %135

112:                                              ; preds = %107
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %7, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %8, align 4
  br label %120

116:                                              ; preds = %110, %109
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %7, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  br label %120

120:                                              ; preds = %116, %112
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  br label %390

121:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #4
  %122 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0, i64 noundef %122, i64 noundef 1)
          to label %123 unwind label %126

123:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #4
  invoke void @_ZN3tbb16auto_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %124 unwind label %130

124:                                              ; preds = %123
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_16auto_partitionerE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %125 unwind label %130

125:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #4
  br label %135

126:                                              ; preds = %121
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  br label %134

130:                                              ; preds = %124, %123
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %7, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  br label %134

134:                                              ; preds = %130, %126
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #4
  br label %390

135:                                              ; preds = %125, %111, %102, %88
  store volatile i8 0, ptr @_ZL13ScanIsRunning, align 1, !tbaa !15
  invoke void @_ZL6Snoozeb(i1 noundef zeroext false)
          to label %136 unwind label %95

136:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %137 = invoke i64 @_ZN3tbb10tick_count3nowEv()
          to label %138 unwind label %145

138:                                              ; preds = %136
  %139 = getelementptr inbounds %"class.tbb::tick_count", ptr %22, i32 0, i32 0
  store i64 %137, ptr %139, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  store i64 0, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  store i64 0, ptr %24, align 8, !tbaa !9
  br label %140

140:                                              ; preds = %174, %138
  %141 = load i64, ptr %24, align 8, !tbaa !9
  %142 = load i64, ptr %11, align 8, !tbaa !9
  %143 = icmp slt i64 %141, %142
  br i1 %143, label %149, label %144

144:                                              ; preds = %140
  store i32 12, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %177

145:                                              ; preds = %136
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %7, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %8, align 4
  br label %389

149:                                              ; preds = %140
  %150 = load i64, ptr %24, align 8, !tbaa !9
  %151 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !11
  %153 = zext i8 %152 to i32
  %154 = and i32 %153, 2
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %173, label %156

156:                                              ; preds = %149
  %157 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 388, ptr noundef @__FUNCTION__._Z15TestAccumulatorii)
          to label %158 unwind label %169

158:                                              ; preds = %156
  %159 = load i64, ptr %24, align 8, !tbaa !9
  %160 = load i64, ptr %24, align 8, !tbaa !9
  %161 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %160
  %162 = load i8, ptr %161, align 1, !tbaa !11
  %163 = zext i8 %162 to i32
  %164 = and i32 %163, 1
  %165 = icmp ne i32 %164, 0
  %166 = zext i1 %165 to i64
  %167 = select i1 %165, ptr @.str.20, ptr @.str.21
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %157, ptr noundef @.str.19, i64 noundef %159, ptr noundef %167)
          to label %168 unwind label %169

168:                                              ; preds = %158
  br label %173

169:                                              ; preds = %158, %156
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %7, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  br label %388

173:                                              ; preds = %168, %149
  br label %174

174:                                              ; preds = %173
  %175 = load i64, ptr %24, align 8, !tbaa !9
  %176 = add nsw i64 %175, 1
  store i64 %176, ptr %24, align 8, !tbaa !9
  br label %140, !llvm.loop !17

177:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  store i64 0, ptr %25, align 8, !tbaa !9
  br label %178

178:                                              ; preds = %197, %177
  %179 = load i64, ptr %25, align 8, !tbaa !9
  %180 = load i64, ptr %11, align 8, !tbaa !9
  %181 = icmp slt i64 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 15, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %204

183:                                              ; preds = %178
  %184 = load i64, ptr %25, align 8, !tbaa !9
  %185 = load i64, ptr %25, align 8, !tbaa !9
  %186 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %185) #4
  %187 = load i32, ptr %186, align 4, !tbaa !5
  invoke void @_Z9VerifySumilii(i32 noundef 42, i64 noundef %184, i32 noundef %187, i32 noundef 391)
          to label %188 unwind label %200

188:                                              ; preds = %183
  %189 = load i64, ptr %25, align 8, !tbaa !9
  %190 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %189
  %191 = load i8, ptr %190, align 1, !tbaa !11
  %192 = zext i8 %191 to i32
  %193 = icmp eq i32 %192, 2
  %194 = zext i1 %193 to i64
  %195 = load i64, ptr %23, align 8, !tbaa !9
  %196 = add nsw i64 %195, %194
  store i64 %196, ptr %23, align 8, !tbaa !9
  br label %197

197:                                              ; preds = %188
  %198 = load i64, ptr %25, align 8, !tbaa !9
  %199 = add nsw i64 %198, 1
  store i64 %199, ptr %25, align 8, !tbaa !9
  br label %178, !llvm.loop !18

200:                                              ; preds = %183
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %7, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  br label %388

204:                                              ; preds = %182
  %205 = load i64, ptr %11, align 8, !tbaa !9
  %206 = icmp ne i64 %205, 0
  br i1 %206, label %207, label %223

207:                                              ; preds = %204
  %208 = invoke noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %209 unwind label %219

209:                                              ; preds = %207
  %210 = load i64, ptr %11, align 8, !tbaa !9
  %211 = sub nsw i64 %210, 1
  %212 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %211) #4
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = icmp eq i32 %208, %213
  br i1 %214, label %215, label %216

215:                                              ; preds = %209
  br label %218

216:                                              ; preds = %209
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 395, ptr noundef @.str.22, ptr noundef null)
          to label %217 unwind label %219

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217, %215
  br label %231

219:                                              ; preds = %235, %228, %223, %216, %207
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %7, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %8, align 4
  br label %388

223:                                              ; preds = %204
  %224 = invoke noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %225 unwind label %219

225:                                              ; preds = %223
  %226 = icmp eq i32 %224, 42
  br i1 %226, label %227, label %228

227:                                              ; preds = %225
  br label %230

228:                                              ; preds = %225
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 397, ptr noundef @.str.23, ptr noundef null)
          to label %229 unwind label %219

229:                                              ; preds = %228
  br label %230

230:                                              ; preds = %229, %227
  br label %231

231:                                              ; preds = %230, %218
  %232 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !15, !range !19, !noundef !20
  %233 = trunc i8 %232 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  br i1 %233, label %235, label %234

234:                                              ; preds = %231
  br label %258

235:                                              ; preds = %231
  %236 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.17, i64 noundef 398, ptr noundef @__FUNCTION__._Z15TestAccumulatorii)
          to label %237 unwind label %219

237:                                              ; preds = %235
  %238 = load i64, ptr %11, align 8, !tbaa !9
  %239 = invoke i64 @_ZN3tbbmiERKNS_10tick_countES2_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %240 unwind label %264

240:                                              ; preds = %237
  %241 = getelementptr inbounds %"class.tbb::tick_count::interval_t", ptr %26, i32 0, i32 0
  store i64 %239, ptr %241, align 8
  %242 = invoke noundef double @_ZNK3tbb10tick_count10interval_t7secondsEv(ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %243 unwind label %264

243:                                              ; preds = %240
  %244 = load i64, ptr %11, align 8, !tbaa !9
  %245 = icmp eq i64 %244, 0
  br i1 %245, label %246, label %247

246:                                              ; preds = %243
  br label %254

247:                                              ; preds = %243
  %248 = load i64, ptr %23, align 8, !tbaa !9
  %249 = sitofp i64 %248 to double
  %250 = fmul double 1.000000e+02, %249
  %251 = load i64, ptr %11, align 8, !tbaa !9
  %252 = sitofp i64 %251 to double
  %253 = fdiv double %250, %252
  br label %254

254:                                              ; preds = %247, %246
  %255 = phi double [ 0.000000e+00, %246 ], [ %253, %247 ]
  %256 = load i32, ptr %4, align 4, !tbaa !5
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %236, ptr noundef @.str.24, i64 noundef %238, double noundef %242, double noundef %255, i32 noundef %256)
          to label %257 unwind label %264

257:                                              ; preds = %254
  br label %258

258:                                              ; preds = %257, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %259 unwind label %268

259:                                              ; preds = %258
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %260

260:                                              ; preds = %275, %259
  %261 = load i64, ptr %29, align 8, !tbaa !9
  %262 = icmp slt i64 %261, 2000
  br i1 %262, label %272, label %263

263:                                              ; preds = %260
  store i32 18, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  br label %278

264:                                              ; preds = %254, %240, %237
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  br label %388

268:                                              ; preds = %258
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %7, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #4
  br label %387

272:                                              ; preds = %260
  %273 = load i64, ptr %29, align 8, !tbaa !9
  %274 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %273) #4
  store i32 -2, ptr %274, align 4, !tbaa !5
  br label %275

275:                                              ; preds = %272
  %276 = load i64, ptr %29, align 8, !tbaa !9
  %277 = add nsw i64 %276, 1
  store i64 %277, ptr %29, align 8, !tbaa !9
  br label %260, !llvm.loop !21

278:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #4
  %279 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0, i64 noundef %279, i64 noundef 1)
          to label %280 unwind label %303

280:                                              ; preds = %278
  %281 = load i32, ptr %3, align 4, !tbaa !5
  %282 = invoke noundef i32 @_Z27ParallelScanTemplateFunctorIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8 %31, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %27, i32 noundef %281)
          to label %283 unwind label %303

283:                                              ; preds = %280
  store i32 %282, ptr %30, align 4, !tbaa !5
  %284 = invoke noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %285 unwind label %303

285:                                              ; preds = %283
  %286 = load i32, ptr %30, align 4, !tbaa !5
  %287 = icmp eq i32 %284, %286
  br i1 %287, label %288, label %289

288:                                              ; preds = %285
  br label %291

289:                                              ; preds = %285
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 406, ptr noundef @.str.25, ptr noundef @.str.26)
          to label %290 unwind label %303

290:                                              ; preds = %289
  br label %291

291:                                              ; preds = %290, %288
  %292 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %293 unwind label %303

293:                                              ; preds = %291
  br i1 %292, label %294, label %295

294:                                              ; preds = %293
  br label %297

295:                                              ; preds = %293
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 407, ptr noundef @.str.27, ptr noundef @.str.28)
          to label %296 unwind label %303

296:                                              ; preds = %295
  br label %297

297:                                              ; preds = %296, %294
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %298 unwind label %307

298:                                              ; preds = %297
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  store i64 0, ptr %34, align 8, !tbaa !9
  br label %299

299:                                              ; preds = %314, %298
  %300 = load i64, ptr %34, align 8, !tbaa !9
  %301 = icmp slt i64 %300, 2000
  br i1 %301, label %311, label %302

302:                                              ; preds = %299
  store i32 21, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  br label %317

303:                                              ; preds = %295, %291, %289, %283, %280, %278
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %7, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %8, align 4
  br label %386

307:                                              ; preds = %297
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %7, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  br label %385

311:                                              ; preds = %299
  %312 = load i64, ptr %34, align 8, !tbaa !9
  %313 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %312) #4
  store i32 -2, ptr %313, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %311
  %315 = load i64, ptr %34, align 8, !tbaa !9
  %316 = add nsw i64 %315, 1
  store i64 %316, ptr %34, align 8, !tbaa !9
  br label %299, !llvm.loop !22

317:                                              ; preds = %302
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  %318 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef 0, i64 noundef %318, i64 noundef 1)
          to label %319 unwind label %342

319:                                              ; preds = %317
  %320 = load i32, ptr %3, align 4, !tbaa !5
  %321 = invoke noundef i32 @_Z18ParallelScanLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8 %36, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %32, i32 noundef %320)
          to label %322 unwind label %342

322:                                              ; preds = %319
  store i32 %321, ptr %35, align 4, !tbaa !5
  %323 = invoke noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %324 unwind label %342

324:                                              ; preds = %322
  %325 = load i32, ptr %35, align 4, !tbaa !5
  %326 = icmp eq i32 %323, %325
  br i1 %326, label %327, label %328

327:                                              ; preds = %324
  br label %330

328:                                              ; preds = %324
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 415, ptr noundef @.str.29, ptr noundef @.str.26)
          to label %329 unwind label %342

329:                                              ; preds = %328
  br label %330

330:                                              ; preds = %329, %327
  %331 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %332 unwind label %342

332:                                              ; preds = %330
  br i1 %331, label %333, label %334

333:                                              ; preds = %332
  br label %336

334:                                              ; preds = %332
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 416, ptr noundef @.str.30, ptr noundef @.str.28)
          to label %335 unwind label %342

335:                                              ; preds = %334
  br label %336

336:                                              ; preds = %335, %333
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %337 unwind label %346

337:                                              ; preds = %336
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #4
  store i64 0, ptr %39, align 8, !tbaa !9
  br label %338

338:                                              ; preds = %353, %337
  %339 = load i64, ptr %39, align 8, !tbaa !9
  %340 = icmp slt i64 %339, 2000
  br i1 %340, label %350, label %341

341:                                              ; preds = %338
  store i32 24, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #4
  br label %356

342:                                              ; preds = %334, %330, %328, %322, %319, %317
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %7, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %8, align 4
  br label %384

346:                                              ; preds = %336
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %7, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #4
  br label %383

350:                                              ; preds = %338
  %351 = load i64, ptr %39, align 8, !tbaa !9
  %352 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %351) #4
  store i32 -2, ptr %352, align 4, !tbaa !5
  br label %353

353:                                              ; preds = %350
  %354 = load i64, ptr %39, align 8, !tbaa !9
  %355 = add nsw i64 %354, 1
  store i64 %355, ptr %39, align 8, !tbaa !9
  br label %338, !llvm.loop !23

356:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #4
  %357 = load i64, ptr %11, align 8, !tbaa !9
  invoke void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 0, i64 noundef %357, i64 noundef 1)
          to label %358 unwind label %379

358:                                              ; preds = %356
  %359 = load i32, ptr %3, align 4, !tbaa !5
  %360 = invoke noundef i32 @_Z25ParallelScanGenericLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8 %41, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef %359)
          to label %361 unwind label %379

361:                                              ; preds = %358
  store i32 %360, ptr %40, align 4, !tbaa !5
  %362 = invoke noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %15)
          to label %363 unwind label %379

363:                                              ; preds = %361
  %364 = load i32, ptr %40, align 4, !tbaa !5
  %365 = icmp eq i32 %362, %364
  br i1 %365, label %366, label %367

366:                                              ; preds = %363
  br label %369

367:                                              ; preds = %363
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 424, ptr noundef @.str.31, ptr noundef @.str.32)
          to label %368 unwind label %379

368:                                              ; preds = %367
  br label %369

369:                                              ; preds = %368, %366
  %370 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %371 unwind label %379

371:                                              ; preds = %369
  br i1 %370, label %372, label %373

372:                                              ; preds = %371
  br label %375

373:                                              ; preds = %371
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.17, i32 noundef 425, ptr noundef @.str.33, ptr noundef @.str.34)
          to label %374 unwind label %379

374:                                              ; preds = %373
  br label %375

375:                                              ; preds = %374, %372
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #4
  br label %376

376:                                              ; preds = %375
  %377 = load i64, ptr %11, align 8, !tbaa !9
  %378 = add nsw i64 %377, 1
  store i64 %378, ptr %11, align 8, !tbaa !9
  br label %44, !llvm.loop !24

379:                                              ; preds = %373, %369, %367, %361, %358, %356
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %7, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #4
  br label %383

383:                                              ; preds = %379, %346
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #4
  br label %384

384:                                              ; preds = %383, %342
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #4
  br label %385

385:                                              ; preds = %384, %307
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #4
  br label %386

386:                                              ; preds = %385, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #4
  br label %387

387:                                              ; preds = %386, %268
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #4
  br label %388

388:                                              ; preds = %387, %264, %219, %200, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  br label %389

389:                                              ; preds = %388, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %390

390:                                              ; preds = %389, %134, %120, %103, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %15) #4
  br label %391

391:                                              ; preds = %390, %91
  call void @llvm.lifetime.end.p0(i64 64, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  br label %393

392:                                              ; preds = %47
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #4
  ret void

393:                                              ; preds = %391, %52
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %394

394:                                              ; preds = %393, %48
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #4
  br label %395

395:                                              ; preds = %394
  %396 = load ptr, ptr %7, align 8
  %397 = load i32, ptr %8, align 4
  %398 = insertvalue { ptr, i32 } poison, ptr %396, 0
  %399 = insertvalue { ptr, i32 } %398, i32 %397, 1
  resume { ptr, i32 } %399
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11AccumulatorIiEC2EiRKSt6vectorIiSaIiEERS3_(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i64 @_ZN3tbb10tick_count3nowEv() #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_18simple_partitionerE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb18simple_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_16auto_partitionerE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb16auto_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6Snoozeb(i1 noundef zeroext) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i64 @_ZN3tbbmiERKNS_10tick_countES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK3tbb10tick_count10interval_t7secondsEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z27ParallelScanTemplateFunctorIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18ParallelScanLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z25ParallelScanGenericLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}


; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.Accumulator = type { ptr, ptr, %struct.Storage, i32, ptr }
%struct.Storage = type { i32, %"class.tbb::blocked_range" }
%"class.tbb::blocked_range" = type { i64, i64, i64 }
%"class.tbb::tick_count" = type { i64 }
%"class.tbb::simple_partitioner" = type { i8 }
%"class.tbb::auto_partitioner" = type { i8 }
%"class.tbb::tick_count::interval_t" = type { i64 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.17 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZL13AddendHistory = external hidden local_unnamed_addr global [2000 x i8], align 16
@_ZL13ScanIsRunning = external hidden global i8, align 1
@__FUNCTION__._Z15TestAccumulatorii = external hidden unnamed_addr constant [16 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZL7Verbose = external hidden local_unnamed_addr global i8, align 1
@.str.24 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [86 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z11ReportErrorPKciS0_S0_(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9VerifySumilii(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z15TestAccumulatorii(i32 noundef %0, i32 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %class.Accumulator, align 8
  %8 = alloca %"class.tbb::tick_count", align 8
  %9 = alloca %"class.tbb::blocked_range", align 8
  %10 = alloca %"class.tbb::blocked_range", align 8
  %11 = alloca %"class.tbb::simple_partitioner", align 1
  %12 = alloca %"class.tbb::blocked_range", align 8
  %13 = alloca %"class.tbb::auto_partitioner", align 1
  %14 = alloca %"class.tbb::tick_count", align 8
  %15 = alloca %"class.tbb::tick_count::interval_t", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.tbb::blocked_range", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.tbb::blocked_range", align 8
  %22 = alloca %"class.std::vector", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"class.tbb::blocked_range", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %25 unwind label %28

25:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %26 unwind label %30

26:                                               ; preds = %25
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  br label %.preheader90

.preheader90:                                     ; preds = %26, %171
  %.068104 = phi i64 [ 0, %26 ], [ %172, %171 ]
  br label %32

27:                                               ; preds = %171
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  ret void

28:                                               ; preds = %2
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  br label %184

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  br label %183

.preheader89:                                     ; preds = %32
  %.not105 = icmp eq i64 %.068104, 0
  br i1 %.not105, label %._crit_edge, label %.lr.ph

32:                                               ; preds = %.preheader90, %32
  %.07492 = phi i64 [ 0, %.preheader90 ], [ %36, %32 ]
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.07492) #4
  store i32 -1, ptr %33, align 4, !tbaa !5
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.07492) #4
  store i32 -2, ptr %34, align 4, !tbaa !5
  %35 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %.07492
  store i8 0, ptr %35, align 1, !tbaa !9
  %36 = add nuw nsw i64 %.07492, 1
  %exitcond.not = icmp eq i64 %36, 2000
  br i1 %exitcond.not, label %.preheader89, label %32, !llvm.loop !10

._crit_edge:                                      ; preds = %.lr.ph, %.preheader89
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #4
  invoke void @_ZN11AccumulatorIiEC2EiRKSt6vectorIiSaIiEERS3_(ptr noundef nonnull align 8 dereferenceable(64) %7, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %40 unwind label %43

.lr.ph:                                           ; preds = %.preheader89, %.lr.ph
  %.07393 = phi i64 [ %39, %.lr.ph ], [ 0, %.preheader89 ]
  %37 = trunc i64 %.07393 to i32
  %38 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.07393) #4
  store i32 %37, ptr %38, align 4, !tbaa !5
  %39 = add nuw nsw i64 %.07393, 1
  %exitcond108.not = icmp eq i64 %39, %.068104
  br i1 %exitcond108.not, label %._crit_edge, label %.lr.ph, !llvm.loop !12

40:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %41 = invoke i64 @_ZN3tbb10tick_count3nowEv()
          to label %42 unwind label %45

42:                                               ; preds = %40
  store i64 %41, ptr %8, align 8
  store volatile i8 1, ptr @_ZL13ScanIsRunning, align 1, !tbaa !13
  switch i32 %0, label %59 [
    i32 0, label %47
    i32 1, label %51
    i32 2, label %55
  ]

43:                                               ; preds = %._crit_edge
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %182

45:                                               ; preds = %59, %40
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %181

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %48 unwind label %49

48:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  br label %59

49:                                               ; preds = %47
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  br label %181

51:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  call void @_ZN3tbb18simple_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11)
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_18simple_partitionerE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %52 unwind label %53

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  br label %59

53:                                               ; preds = %51
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  br label %181

55:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #4
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #4
  call void @_ZN3tbb16auto_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13)
  invoke void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_16auto_partitionerE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %56 unwind label %57

56:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  br label %59

57:                                               ; preds = %55
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #4
  br label %181

59:                                               ; preds = %56, %52, %48, %42
  store volatile i8 0, ptr @_ZL13ScanIsRunning, align 1, !tbaa !13
  invoke void @_ZL6Snoozeb(i1 noundef zeroext false)
          to label %60 unwind label %45

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #4
  %61 = invoke i64 @_ZN3tbb10tick_count3nowEv()
          to label %62 unwind label %63

62:                                               ; preds = %60
  store i64 %61, ptr %14, align 8
  br i1 %.not105, label %96, label %.lr.ph96

63:                                               ; preds = %60
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %180

.lr.ph96:                                         ; preds = %62, %75
  %.07194 = phi i64 [ %76, %75 ], [ 0, %62 ]
  %65 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %.07194
  %66 = load i8, ptr %65, align 1, !tbaa !9
  %67 = and i8 %66, 2
  %.not80 = icmp eq i8 %67, 0
  br i1 %.not80, label %68, label %75

68:                                               ; preds = %.lr.ph96
  %69 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 388, ptr noundef nonnull @__FUNCTION__._Z15TestAccumulatorii)
  %70 = load i8, ptr %65, align 1, !tbaa !9
  %71 = and i8 %70, 1
  %.not81 = icmp eq i8 %71, 0
  %72 = select i1 %.not81, ptr @.str.21, ptr @.str.20
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %69, ptr noundef nonnull @.str.19, i64 noundef %.07194, ptr noundef nonnull %72)
          to label %75 unwind label %73

73:                                               ; preds = %68
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %180

75:                                               ; preds = %.lr.ph96, %68
  %76 = add nuw nsw i64 %.07194, 1
  %exitcond109.not = icmp eq i64 %76, %.068104
  br i1 %exitcond109.not, label %.lr.ph99, label %.lr.ph96, !llvm.loop !15

.lr.ph99:                                         ; preds = %75, %79
  %.07098 = phi i64 [ %85, %79 ], [ 0, %75 ]
  %.07297 = phi i64 [ %84, %79 ], [ 0, %75 ]
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.07098) #4
  %78 = load i32, ptr %77, align 4, !tbaa !5
  invoke void @_Z9VerifySumilii(i32 noundef 42, i64 noundef %.07098, i32 noundef %78, i32 noundef 391)
          to label %79 unwind label %86

79:                                               ; preds = %.lr.ph99
  %80 = getelementptr inbounds [2000 x i8], ptr @_ZL13AddendHistory, i64 0, i64 %.07098
  %81 = load i8, ptr %80, align 1, !tbaa !9
  %82 = icmp eq i8 %81, 2
  %83 = zext i1 %82 to i64
  %84 = add nuw nsw i64 %.07297, %83
  %85 = add nuw nsw i64 %.07098, 1
  %exitcond110.not = icmp eq i64 %85, %.068104
  br i1 %exitcond110.not, label %._crit_edge100, label %.lr.ph99, !llvm.loop !16

86:                                               ; preds = %.lr.ph99
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %180

._crit_edge100:                                   ; preds = %79
  %88 = call noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %89 = add nsw i64 %.068104, -1
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %89) #4
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = icmp eq i32 %88, %91
  br i1 %92, label %100, label %93

93:                                               ; preds = %._crit_edge100
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 395, ptr noundef nonnull @.str.22, ptr noundef null)
          to label %100 unwind label %94

94:                                               ; preds = %99, %93
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %180

96:                                               ; preds = %62
  %97 = call noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %98 = icmp eq i32 %97, 42
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 397, ptr noundef nonnull @.str.23, ptr noundef null)
          to label %100 unwind label %94

100:                                              ; preds = %96, %99, %._crit_edge100, %93
  %.072.lcssa116 = phi i64 [ 0, %96 ], [ 0, %99 ], [ %84, %._crit_edge100 ], [ %84, %93 ]
  %101 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !13, !range !17, !noundef !18
  %102 = trunc nuw i8 %101 to i1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #4
  br i1 %102, label %103, label %114

103:                                              ; preds = %100
  %104 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.17, i64 noundef 398, ptr noundef nonnull @__FUNCTION__._Z15TestAccumulatorii)
  %105 = invoke i64 @_ZN3tbbmiERKNS_10tick_countES2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %106 unwind label %118

106:                                              ; preds = %103
  store i64 %105, ptr %15, align 8
  %107 = invoke noundef double @_ZNK3tbb10tick_count10interval_t7secondsEv(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %108 unwind label %118

108:                                              ; preds = %106
  %109 = uitofp nneg i64 %.072.lcssa116 to double
  %110 = fmul double %109, 1.000000e+02
  %111 = uitofp nneg i64 %.068104 to double
  %112 = fdiv double %110, %111
  %113 = select i1 %.not105, double 0.000000e+00, double %112
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %104, ptr noundef nonnull @.str.24, i64 noundef %.068104, double noundef %107, double noundef %113, i32 noundef %1)
          to label %114 unwind label %118

114:                                              ; preds = %108, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %115 unwind label %120

115:                                              ; preds = %114
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %122

116:                                              ; preds = %122
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  %117 = invoke noundef i32 @_Z27ParallelScanTemplateFunctorIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef nonnull byval(%"class.tbb::blocked_range") align 8 %18, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef %0)
          to label %125 unwind label %137

118:                                              ; preds = %108, %106, %103
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #4
  br label %180

120:                                              ; preds = %114
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #4
  br label %179

122:                                              ; preds = %115, %122
  %.069101 = phi i64 [ 0, %115 ], [ %124, %122 ]
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %.069101) #4
  store i32 -2, ptr %123, align 4, !tbaa !5
  %124 = add nuw nsw i64 %.069101, 1
  %exitcond111.not = icmp eq i64 %124, 2000
  br i1 %exitcond111.not, label %116, label %122, !llvm.loop !19

125:                                              ; preds = %116
  %126 = call noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %127 = icmp eq i32 %126, %117
  br i1 %127, label %129, label %128

128:                                              ; preds = %125
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 406, ptr noundef nonnull @.str.25, ptr noundef nonnull @.str.26)
          to label %129 unwind label %137

129:                                              ; preds = %128, %125
  %130 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %131 unwind label %137

131:                                              ; preds = %129
  br i1 %130, label %133, label %132

132:                                              ; preds = %131
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 407, ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.28)
          to label %133 unwind label %137

133:                                              ; preds = %132, %131
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %134 unwind label %139

134:                                              ; preds = %133
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  br label %141

135:                                              ; preds = %141
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %21, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  %136 = invoke noundef i32 @_Z18ParallelScanLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef nonnull byval(%"class.tbb::blocked_range") align 8 %21, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %19, i32 noundef %0)
          to label %144 unwind label %156

137:                                              ; preds = %132, %129, %128, %116
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %178

139:                                              ; preds = %133
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  br label %177

141:                                              ; preds = %134, %141
  %.067102 = phi i64 [ 0, %134 ], [ %143, %141 ]
  %142 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.067102) #4
  store i32 -2, ptr %142, align 4, !tbaa !5
  %143 = add nuw nsw i64 %.067102, 1
  %exitcond112.not = icmp eq i64 %143, 2000
  br i1 %exitcond112.not, label %135, label %141, !llvm.loop !20

144:                                              ; preds = %135
  %145 = call noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %146 = icmp eq i32 %145, %136
  br i1 %146, label %148, label %147

147:                                              ; preds = %144
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 415, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.26)
          to label %148 unwind label %156

148:                                              ; preds = %147, %144
  %149 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %150 unwind label %156

150:                                              ; preds = %148
  br i1 %149, label %152, label %151

151:                                              ; preds = %150
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 416, ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.28)
          to label %152 unwind label %156

152:                                              ; preds = %151, %150
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #4
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #4
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 2000, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %153 unwind label %158

153:                                              ; preds = %152
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #4
  br label %160

154:                                              ; preds = %160
  call void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0, i64 noundef %.068104, i64 noundef 1)
  %155 = invoke noundef i32 @_Z25ParallelScanGenericLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef nonnull byval(%"class.tbb::blocked_range") align 8 %24, i32 noundef 42, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %22, i32 noundef %0)
          to label %163 unwind label %173

156:                                              ; preds = %151, %148, %147, %135
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %176

158:                                              ; preds = %152
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #4
  br label %175

160:                                              ; preds = %153, %160
  %.055103 = phi i64 [ 0, %153 ], [ %162, %160 ]
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %.055103) #4
  store i32 -2, ptr %161, align 4, !tbaa !5
  %162 = add nuw nsw i64 %.055103, 1
  %exitcond113.not = icmp eq i64 %162, 2000
  br i1 %exitcond113.not, label %154, label %160, !llvm.loop !21

163:                                              ; preds = %154
  %164 = call noundef i32 @_ZN11AccumulatorIiE9get_totalEv(ptr noundef nonnull align 8 dereferenceable(64) %7)
  %165 = icmp eq i32 %164, %155
  br i1 %165, label %167, label %166

166:                                              ; preds = %163
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 424, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.32)
          to label %167 unwind label %173

167:                                              ; preds = %166, %163
  %168 = invoke noundef zeroext i1 @_ZSteqIiSaIiEEbRKSt6vectorIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %169 unwind label %173

169:                                              ; preds = %167
  br i1 %168, label %171, label %170

170:                                              ; preds = %169
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.17, i32 noundef 425, ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.34)
          to label %171 unwind label %173

171:                                              ; preds = %170, %169
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
  %172 = add nuw nsw i64 %.068104, 1
  %exitcond114.not = icmp eq i64 %172, 2001
  br i1 %exitcond114.not, label %27, label %.preheader90, !llvm.loop !22

173:                                              ; preds = %170, %167, %166, %154
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  br label %175

175:                                              ; preds = %173, %158
  %.pn = phi { ptr, i32 } [ %174, %173 ], [ %159, %158 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #4
  br label %176

176:                                              ; preds = %175, %156
  %.pn.pn = phi { ptr, i32 } [ %.pn, %175 ], [ %157, %156 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  br label %177

177:                                              ; preds = %176, %139
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %176 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #4
  br label %178

178:                                              ; preds = %177, %137
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %177 ], [ %138, %137 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  br label %179

179:                                              ; preds = %178, %120
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %178 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #4
  br label %180

180:                                              ; preds = %73, %86, %94, %118, %179, %63
  %.pn82.pn = phi { ptr, i32 } [ %64, %63 ], [ %74, %73 ], [ %87, %86 ], [ %.pn.pn.pn.pn.pn, %179 ], [ %119, %118 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #4
  br label %181

181:                                              ; preds = %180, %57, %53, %49, %45
  %.pn82.pn.pn = phi { ptr, i32 } [ %.pn82.pn, %180 ], [ %46, %45 ], [ %58, %57 ], [ %54, %53 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %7) #4
  br label %182

182:                                              ; preds = %181, %43
  %.pn82.pn.pn.pn = phi { ptr, i32 } [ %.pn82.pn.pn, %181 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %183

183:                                              ; preds = %182, %30
  %.pn82.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn82.pn.pn.pn, %182 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #4
  br label %184

184:                                              ; preds = %183, %28
  %.pn82.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn82.pn.pn.pn.pn, %183 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #4
  resume { ptr, i32 } %.pn82.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11AccumulatorIiEC2EiRKSt6vectorIiSaIiEERS3_(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i64 @_ZN3tbb10tick_count3nowEv() local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb13blocked_rangeIlEC2Ellm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_18simple_partitionerE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb18simple_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3tbb13parallel_scanINS_13blocked_rangeIlEE11AccumulatorIiEEEvRKT_RT0_RKNS_16auto_partitionerE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb16auto_partitionerC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL6Snoozeb(i1 noundef zeroext) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local i64 @_ZN3tbbmiERKNS_10tick_countES2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z27ParallelScanTemplateFunctorIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z18ParallelScanLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z25ParallelScanGenericLambdaIiET_N3tbb13blocked_rangeIlEES0_RKSt6vectorIS0_SaIS0_EERS6_i(ptr noundef byval(%"class.tbb::blocked_range") align 8, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11AccumulatorIiED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = distinct !{!15, !11}
!16 = distinct !{!16, !11}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !11}
!21 = distinct !{!21, !11}
!22 = distinct !{!22, !11}


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