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

; 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] }>
%"struct.tbb::atomic.3" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic" }
%"struct.tbb::internal::atomic_impl_with_arithmetic" = type { %"struct.tbb::internal::atomic_impl.4" }
%"struct.tbb::internal::atomic_impl.4" = type { %"struct.tbb::internal::aligned_storage.5" }
%"struct.tbb::internal::aligned_storage.5" = type { i32 }
%"struct.tbb::atomic.0" = type { %"struct.tbb::internal::atomic_impl.1" }
%"struct.tbb::internal::atomic_impl.1" = type { %"struct.tbb::internal::aligned_storage.2" }
%"struct.tbb::internal::aligned_storage.2" = type { i8 }
%"class.tbb::task_scheduler_init" = type { ptr }
%"class.tbb::internal::allocate_root_proxy" = type { i8 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.21 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZL7Verbose = external hidden global i8, align 1
@_ZN16test_propagation7g_treesE = external dso_local global [2 x [8 x ptr]], align 16
@_ZN16test_propagation9g_barrierE = external dso_local global %"struct.tbb::atomic.3", align 4
@_ZN16test_propagation11is_finishedE = external dso_local global %"struct.tbb::atomic.0", align 1
@__FUNCTION__._ZN16test_propagation15TestSetPriorityEv = external hidden unnamed_addr constant [16 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [28 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) #4

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

; Function Attrs: nounwind
declare void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #6

; Function Attrs: nounwind
declare i32 @sched_yield() #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16test_propagation15TestSetPriorityEv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.tbb::task_scheduler_init", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.tbb::internal::allocate_root_proxy", align 1
  %8 = alloca %"class.tbb::internal::allocate_root_proxy", align 1
  %9 = alloca [2 x [8 x i32]], align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [2 x [8 x i32]], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %18 = trunc i8 %17 to i1
  br i1 %18, label %20, label %19

19:                                               ; preds = %0
  br label %22

20:                                               ; preds = %0
  %21 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 527, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %21, ptr noundef @.str.41)
  br label %22

22:                                               ; preds = %20, %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #9
  store i32 15, ptr %1, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #9
  %23 = call noundef i32 @_ZN3tbb19task_scheduler_init19default_num_threadsEv()
  %24 = mul nsw i32 4, %23
  store i32 %24, ptr %2, align 4, !tbaa !11
  %25 = load i32, ptr %2, align 4, !tbaa !11
  %26 = icmp sgt i32 16, %25
  br i1 %26, label %27, label %30

27:                                               ; preds = %22
  %28 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 531, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  %29 = load i32, ptr %2, align 4, !tbaa !11
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %28, ptr noundef @.str.42, i32 noundef 16, i32 noundef %29)
  store i32 1, ptr %3, align 4
  br label %294

30:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 16, i64 noundef 0)
  %31 = invoke noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE, i32 noundef 15)
          to label %32 unwind label %46

32:                                               ; preds = %30
  %33 = invoke noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) @_ZN16test_propagation11is_finishedE, i1 noundef zeroext false)
          to label %34 unwind label %46

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #9
  invoke void @_ZN3tbb4task13allocate_rootEv()
          to label %35 unwind label %50

35:                                               ; preds = %34
  %36 = invoke noundef ptr @_ZnwmRKN3tbb8internal19allocate_root_proxyE(i64 noundef 16, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %37 unwind label %50

37:                                               ; preds = %35
  invoke void @_ZN16test_propagation19TestSetPriorityTaskC2Eii(ptr noundef nonnull align 8 dereferenceable(16) %36, i32 noundef 0, i32 noundef 0)
          to label %38 unwind label %54

38:                                               ; preds = %37
  invoke void @_ZN3tbb10interface58internal9task_base5spawnERNS_4taskE(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %39 unwind label %50

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  br label %40

40:                                               ; preds = %44, %39
  %41 = invoke noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE)
          to label %42 unwind label %46

42:                                               ; preds = %40
  %43 = icmp ne i32 %41, 0
  br i1 %43, label %44, label %59

44:                                               ; preds = %42
  %45 = call i32 @sched_yield() #9
  br label %40, !llvm.loop !13

46:                                               ; preds = %63, %61, %59, %40, %32, %30
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %5, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %6, align 4
  br label %299

50:                                               ; preds = %38, %35, %34
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %5, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %6, align 4
  br label %58

54:                                               ; preds = %37
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %5, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %6, align 4
  call void @_ZdlPvRKN3tbb8internal19allocate_root_proxyE(ptr noundef %36, ptr noundef nonnull align 1 dereferenceable(1) %7) #9
  br label %58

58:                                               ; preds = %54, %50
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #9
  br label %299

59:                                               ; preds = %42
  %60 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 2), align 16, !tbaa !15
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %60, i32 noundef 1610612733)
          to label %61 unwind label %46

61:                                               ; preds = %59
  %62 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 4), align 16, !tbaa !15
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %62, i32 noundef 1073741822)
          to label %63 unwind label %46

63:                                               ; preds = %61
  %64 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr getelementptr inbounds ([2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 1), i64 0, i64 3), align 8, !tbaa !15
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %64, i32 noundef 1610612733)
          to label %65 unwind label %46

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #9
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 64, i1 false)
  %66 = getelementptr inbounds [2 x [8 x i32]], ptr %9, i32 0, i32 0
  %67 = getelementptr inbounds [8 x i32], ptr %66, i32 0, i32 2
  store i32 1, ptr %67, align 8
  %68 = getelementptr inbounds [8 x i32], ptr %66, i32 0, i32 5
  store i32 1, ptr %68, align 4
  %69 = getelementptr inbounds [2 x [8 x i32]], ptr %9, i32 0, i32 1
  %70 = getelementptr inbounds [8 x i32], ptr %69, i32 0, i32 3
  store i32 1, ptr %70, align 4
  %71 = getelementptr inbounds [8 x i32], ptr %69, i32 0, i32 6
  store i32 1, ptr %71, align 8
  %72 = getelementptr inbounds [8 x i32], ptr %69, i32 0, i32 7
  store i32 1, ptr %72, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %73

73:                                               ; preds = %132, %65
  %74 = load i32, ptr %10, align 4, !tbaa !11
  %75 = icmp slt i32 %74, 2
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 4, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %135

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 1, ptr %11, align 4, !tbaa !11
  br label %78

78:                                               ; preds = %124, %77
  %79 = load i32, ptr %11, align 4, !tbaa !11
  %80 = icmp sle i32 %79, 7
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 7, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %131

82:                                               ; preds = %78
  %83 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %84 = trunc i8 %83 to i1
  br i1 %84, label %86, label %85

85:                                               ; preds = %82
  br label %91

86:                                               ; preds = %82
  %87 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 547, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %88 unwind label %127

88:                                               ; preds = %86
  %89 = load i32, ptr %11, align 4, !tbaa !11
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %87, ptr noundef @.str.43, i32 noundef %89)
          to label %90 unwind label %127

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %90, %85
  %92 = load i32, ptr %10, align 4, !tbaa !11
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %93
  %95 = load i32, ptr %11, align 4, !tbaa !11
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [8 x ptr], ptr %94, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !15
  %99 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %98)
          to label %100 unwind label %127

100:                                              ; preds = %91
  %101 = load i32, ptr %10, align 4, !tbaa !11
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [2 x [8 x i32]], ptr %9, i64 0, i64 %102
  %104 = load i32, ptr %11, align 4, !tbaa !11
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [8 x i32], ptr %103, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !11
  %108 = icmp ne i32 %107, 0
  %109 = zext i1 %108 to i64
  %110 = select i1 %108, i32 1610612733, i32 1073741822
  %111 = icmp eq i32 %99, %110
  br i1 %111, label %112, label %113

112:                                              ; preds = %100
  br label %115

113:                                              ; preds = %100
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.21, i32 noundef 548, ptr noundef @.str.44, ptr noundef null)
          to label %114 unwind label %127

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114, %112
  %116 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %117 = trunc i8 %116 to i1
  br i1 %117, label %119, label %118

118:                                              ; preds = %115
  br label %123

119:                                              ; preds = %115
  %120 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 549, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %121 unwind label %127

121:                                              ; preds = %119
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %120, ptr noundef @.str.45)
          to label %122 unwind label %127

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122, %118
  br label %124

124:                                              ; preds = %123
  %125 = load i32, ptr %11, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %11, align 4, !tbaa !11
  br label %78, !llvm.loop !17

127:                                              ; preds = %121, %119, %113, %91, %88, %86
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %5, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %298

131:                                              ; preds = %81
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %10, align 4, !tbaa !11
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %10, align 4, !tbaa !11
  br label %73, !llvm.loop !18

135:                                              ; preds = %76
  %136 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %137 = trunc i8 %136 to i1
  br i1 %137, label %139, label %138

138:                                              ; preds = %135
  br label %143

139:                                              ; preds = %135
  %140 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 551, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %141 unwind label %172

141:                                              ; preds = %139
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %140, ptr noundef @.str.46)
          to label %142 unwind label %172

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142, %138
  %144 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %145 = trunc i8 %144 to i1
  br i1 %145, label %147, label %146

146:                                              ; preds = %143
  br label %151

147:                                              ; preds = %143
  %148 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 552, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %149 unwind label %172

149:                                              ; preds = %147
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %148, ptr noundef @.str.47)
          to label %150 unwind label %172

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150, %146
  %152 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 4), align 16, !tbaa !15
  %153 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %152)
          to label %154 unwind label %172

154:                                              ; preds = %151
  %155 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 5), align 8, !tbaa !15
  %156 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %155)
          to label %157 unwind label %172

157:                                              ; preds = %154
  %158 = load ptr, ptr getelementptr inbounds ([8 x ptr], ptr getelementptr inbounds ([2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 1), i64 0, i64 3), align 8, !tbaa !15
  %159 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %158)
          to label %160 unwind label %172

160:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #9
  call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 64, i1 false)
  %161 = getelementptr inbounds [2 x [8 x i32]], ptr %12, i32 0, i32 0
  %162 = getelementptr inbounds [8 x i32], ptr %161, i32 0, i32 4
  store i32 1, ptr %162, align 16
  %163 = getelementptr inbounds [8 x i32], ptr %161, i32 0, i32 5
  store i32 1, ptr %163, align 4
  %164 = getelementptr inbounds [2 x [8 x i32]], ptr %12, i32 0, i32 1
  %165 = getelementptr inbounds [8 x i32], ptr %164, i32 0, i32 3
  store i32 1, ptr %165, align 4
  %166 = getelementptr inbounds [8 x i32], ptr %164, i32 0, i32 6
  store i32 1, ptr %166, align 8
  %167 = getelementptr inbounds [8 x i32], ptr %164, i32 0, i32 7
  store i32 1, ptr %167, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %168

168:                                              ; preds = %231, %160
  %169 = load i32, ptr %13, align 4, !tbaa !11
  %170 = icmp slt i32 %169, 2
  br i1 %170, label %176, label %171

171:                                              ; preds = %168
  store i32 10, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %234

172:                                              ; preds = %157, %154, %151, %149, %147, %141, %139
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %5, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %6, align 4
  br label %298

176:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 1, ptr %14, align 4, !tbaa !11
  br label %177

177:                                              ; preds = %223, %176
  %178 = load i32, ptr %14, align 4, !tbaa !11
  %179 = icmp sle i32 %178, 7
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  store i32 13, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %230

181:                                              ; preds = %177
  %182 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %183 = trunc i8 %182 to i1
  br i1 %183, label %185, label %184

184:                                              ; preds = %181
  br label %190

185:                                              ; preds = %181
  %186 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 561, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %187 unwind label %226

187:                                              ; preds = %185
  %188 = load i32, ptr %14, align 4, !tbaa !11
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %186, ptr noundef @.str.43, i32 noundef %188)
          to label %189 unwind label %226

189:                                              ; preds = %187
  br label %190

190:                                              ; preds = %189, %184
  %191 = load i32, ptr %13, align 4, !tbaa !11
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %192
  %194 = load i32, ptr %14, align 4, !tbaa !11
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [8 x ptr], ptr %193, i64 0, i64 %195
  %197 = load ptr, ptr %196, align 8, !tbaa !15
  %198 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %197)
          to label %199 unwind label %226

199:                                              ; preds = %190
  %200 = zext i1 %198 to i32
  %201 = load i32, ptr %13, align 4, !tbaa !11
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [2 x [8 x i32]], ptr %12, i64 0, i64 %202
  %204 = load i32, ptr %14, align 4, !tbaa !11
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [8 x i32], ptr %203, i64 0, i64 %205
  %207 = load i32, ptr %206, align 4, !tbaa !11
  %208 = icmp eq i32 %207, 1
  %209 = zext i1 %208 to i32
  %210 = icmp eq i32 %200, %209
  br i1 %210, label %211, label %212

211:                                              ; preds = %199
  br label %214

212:                                              ; preds = %199
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef @.str.21, i32 noundef 562, ptr noundef @.str.48, ptr noundef null)
          to label %213 unwind label %226

213:                                              ; preds = %212
  br label %214

214:                                              ; preds = %213, %211
  %215 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %216 = trunc i8 %215 to i1
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  br label %222

218:                                              ; preds = %214
  %219 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 563, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %220 unwind label %226

220:                                              ; preds = %218
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %219, ptr noundef @.str.45)
          to label %221 unwind label %226

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221, %217
  br label %223

223:                                              ; preds = %222
  %224 = load i32, ptr %14, align 4, !tbaa !11
  %225 = add nsw i32 %224, 1
  store i32 %225, ptr %14, align 4, !tbaa !11
  br label %177, !llvm.loop !19

226:                                              ; preds = %220, %218, %212, %190, %187, %185
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %5, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %297

230:                                              ; preds = %180
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %13, align 4, !tbaa !11
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %13, align 4, !tbaa !11
  br label %168, !llvm.loop !20

234:                                              ; preds = %171
  %235 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %236 = trunc i8 %235 to i1
  br i1 %236, label %238, label %237

237:                                              ; preds = %234
  br label %242

238:                                              ; preds = %234
  %239 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 565, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %240 unwind label %261

240:                                              ; preds = %238
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %239, ptr noundef @.str.46)
          to label %241 unwind label %261

241:                                              ; preds = %240
  br label %242

242:                                              ; preds = %241, %237
  %243 = invoke noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE, i32 noundef 15)
          to label %244 unwind label %261

244:                                              ; preds = %242
  %245 = invoke noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) @_ZN16test_propagation11is_finishedE, i1 noundef zeroext true)
          to label %246 unwind label %261

246:                                              ; preds = %244
  %247 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %248 = trunc i8 %247 to i1
  br i1 %248, label %250, label %249

249:                                              ; preds = %246
  br label %254

250:                                              ; preds = %246
  %251 = invoke noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str.21, i64 noundef 568, ptr noundef @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
          to label %252 unwind label %261

252:                                              ; preds = %250
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %251, ptr noundef @.str.49)
          to label %253 unwind label %261

253:                                              ; preds = %252
  br label %254

254:                                              ; preds = %253, %249
  br label %255

255:                                              ; preds = %259, %254
  %256 = invoke noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE)
          to label %257 unwind label %261

257:                                              ; preds = %255
  %258 = icmp ne i32 %256, 0
  br i1 %258, label %259, label %265

259:                                              ; preds = %257
  %260 = call i32 @sched_yield() #9
  br label %255, !llvm.loop !21

261:                                              ; preds = %255, %252, %250, %244, %242, %240, %238
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %5, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %6, align 4
  br label %297

265:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %266

266:                                              ; preds = %290, %265
  %267 = load i32, ptr %15, align 4, !tbaa !11
  %268 = icmp slt i32 %267, 2
  br i1 %268, label %270, label %269

269:                                              ; preds = %266
  store i32 18, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %293

270:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 1, ptr %16, align 4, !tbaa !11
  br label %271

271:                                              ; preds = %286, %270
  %272 = load i32, ptr %16, align 4, !tbaa !11
  %273 = icmp sle i32 %272, 7
  br i1 %273, label %275, label %274

274:                                              ; preds = %271
  store i32 21, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %289

275:                                              ; preds = %271
  %276 = load i32, ptr %15, align 4, !tbaa !11
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %277
  %279 = load i32, ptr %16, align 4, !tbaa !11
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds [8 x ptr], ptr %278, i64 0, i64 %280
  %282 = load ptr, ptr %281, align 8, !tbaa !15
  %283 = icmp eq ptr %282, null
  br i1 %283, label %285, label %284

284:                                              ; preds = %275
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %282) #9
  call void @_ZdlPvm(ptr noundef %282, i64 noundef 256) #10
  br label %285

285:                                              ; preds = %284, %275
  br label %286

286:                                              ; preds = %285
  %287 = load i32, ptr %16, align 4, !tbaa !11
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %16, align 4, !tbaa !11
  br label %271, !llvm.loop !22

289:                                              ; preds = %274
  br label %290

290:                                              ; preds = %289
  %291 = load i32, ptr %15, align 4, !tbaa !11
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %15, align 4, !tbaa !11
  br label %266, !llvm.loop !23

293:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #9
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  store i32 0, ptr %3, align 4
  br label %294

294:                                              ; preds = %293, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #9
  %295 = load i32, ptr %3, align 4
  switch i32 %295, label %305 [
    i32 0, label %296
    i32 1, label %296
  ]

296:                                              ; preds = %294, %294
  ret void

297:                                              ; preds = %261, %226
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #9
  br label %298

298:                                              ; preds = %297, %172, %127
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #9
  br label %299

299:                                              ; preds = %298, %58, %46
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #9
  br label %300

300:                                              ; preds = %299
  %301 = load ptr, ptr %5, align 8
  %302 = load i32, ptr %6, align 4
  %303 = insertvalue { ptr, i32 } poison, ptr %301, 0
  %304 = insertvalue { ptr, i32 } %303, i32 %302, 1
  resume { ptr, i32 } %304

305:                                              ; preds = %294
  unreachable
}

declare noundef i32 @_ZN3tbb19task_scheduler_init19default_num_threadsEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb4task13allocate_rootEv() #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZnwmRKN3tbb8internal19allocate_root_proxyE(i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZdlPvRKN3tbb8internal19allocate_root_proxyE(ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) #7

declare noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256)) #4

declare noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256)) #4

declare noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256)) #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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


; 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] }>
%"struct.tbb::atomic.3" = type { %"struct.tbb::internal::atomic_impl_with_arithmetic" }
%"struct.tbb::internal::atomic_impl_with_arithmetic" = type { %"struct.tbb::internal::atomic_impl.4" }
%"struct.tbb::internal::atomic_impl.4" = type { %"struct.tbb::internal::aligned_storage.5" }
%"struct.tbb::internal::aligned_storage.5" = type { i32 }
%"struct.tbb::atomic.0" = type { %"struct.tbb::internal::atomic_impl.1" }
%"struct.tbb::internal::atomic_impl.1" = type { %"struct.tbb::internal::aligned_storage.2" }
%"struct.tbb::internal::aligned_storage.2" = type { i8 }
%"class.tbb::task_scheduler_init" = type { ptr }
%"class.tbb::internal::allocate_root_proxy" = type { i8 }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str.21 = external hidden unnamed_addr constant [94 x i8], align 1
@_ZL7Verbose = external hidden local_unnamed_addr global i8, align 1
@_ZN16test_propagation7g_treesE = external dso_local local_unnamed_addr global [2 x [8 x ptr]], align 16
@_ZN16test_propagation9g_barrierE = external dso_local global %"struct.tbb::atomic.3", align 4
@_ZN16test_propagation11is_finishedE = external dso_local global %"struct.tbb::atomic.0", align 1
@__FUNCTION__._ZN16test_propagation15TestSetPriorityEv = external hidden unnamed_addr constant [16 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [28 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 @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i64 noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256), i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3tbb10interface58internal9task_base5spawnERNS_4taskE(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #5

; Function Attrs: nounwind
declare i32 @sched_yield() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1), i1 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16test_propagation15TestSetPriorityEv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.tbb::task_scheduler_init", align 8
  %2 = alloca %"class.tbb::internal::allocate_root_proxy", align 1
  %.sroa.4139 = alloca i32, align 4
  %.sroa.5140 = alloca i32, align 8
  %.sroa.7141 = alloca i32, align 4
  %.sroa.8 = alloca i32, align 16
  %.sroa.9142 = alloca i32, align 4
  %.sroa.11143 = alloca i32, align 8
  %.sroa.12144 = alloca i32, align 4
  %.sroa.13146 = alloca i32, align 4
  %.sroa.14147 = alloca i32, align 8
  %.sroa.15148 = alloca i32, align 4
  %.sroa.17149 = alloca i32, align 16
  %.sroa.18150 = alloca i32, align 4
  %.sroa.19151 = alloca i32, align 8
  %.sroa.21152 = alloca i32, align 4
  %.sroa.4 = alloca i32, align 4
  %.sroa.5 = alloca i32, align 8
  %.sroa.6 = alloca i32, align 4
  %.sroa.7 = alloca i32, align 16
  %.sroa.9 = alloca i32, align 4
  %.sroa.11 = alloca i32, align 8
  %.sroa.12 = alloca i32, align 4
  %.sroa.13118 = alloca i32, align 4
  %.sroa.14 = alloca i32, align 8
  %.sroa.15 = alloca i32, align 4
  %.sroa.17 = alloca i32, align 16
  %.sroa.18 = alloca i32, align 4
  %.sroa.19 = alloca i32, align 8
  %.sroa.21 = alloca i32, align 4
  %3 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %5, label %7

5:                                                ; preds = %0
  %6 = tail call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 527, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  tail call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull @.str.41)
  br label %7

7:                                                ; preds = %0, %5
  %8 = tail call noundef i32 @_ZN3tbb19task_scheduler_init19default_num_threadsEv()
  %9 = icmp slt i32 %8, 4
  br i1 %9, label %10, label %13

10:                                               ; preds = %7
  %11 = shl nsw i32 %8, 2
  %12 = tail call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 531, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  tail call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %12, ptr noundef nonnull @.str.42, i32 noundef 16, i32 noundef %11)
  br label %407

13:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  call void @_ZN3tbb19task_scheduler_initC2Eim(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef 16, i64 noundef 0)
  %14 = invoke noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE, i32 noundef 15)
          to label %15 unwind label %.loopexit.split-lp51

15:                                               ; preds = %13
  %16 = invoke noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) @_ZN16test_propagation11is_finishedE, i1 noundef zeroext false)
          to label %17 unwind label %.loopexit.split-lp51

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #8
  call void @_ZN3tbb4task13allocate_rootEv()
  %18 = invoke noundef ptr @_ZnwmRKN3tbb8internal19allocate_root_proxyE(i64 noundef 16, ptr noundef nonnull align 1 dereferenceable(1) %2)
          to label %19 unwind label %27

19:                                               ; preds = %17
  invoke void @_ZN16test_propagation19TestSetPriorityTaskC2Eii(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef 0, i32 noundef 0)
          to label %20 unwind label %29

20:                                               ; preds = %19
  invoke void @_ZN3tbb10interface58internal9task_base5spawnERNS_4taskE(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %21 unwind label %27

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  br label %22

22:                                               ; preds = %25, %21
  %23 = invoke noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE)
          to label %24 unwind label %.loopexit50

24:                                               ; preds = %22
  %.not = icmp eq i32 %23, 0
  br i1 %.not, label %32, label %25

25:                                               ; preds = %24
  %26 = call i32 @sched_yield() #8
  br label %22, !llvm.loop !11

.loopexit50:                                      ; preds = %22
  %lpad.loopexit52 = landingpad { ptr, i32 }
          cleanup
  br label %410

.loopexit.split-lp51:                             ; preds = %13, %15, %32, %34, %36
  %lpad.loopexit.split-lp53 = landingpad { ptr, i32 }
          cleanup
  br label %410

27:                                               ; preds = %20, %17
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %31

29:                                               ; preds = %19
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvRKN3tbb8internal19allocate_root_proxyE(ptr noundef %18, ptr noundef nonnull align 1 dereferenceable(1) %2) #8
  br label %31

31:                                               ; preds = %29, %27
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #8
  br label %410

32:                                               ; preds = %24
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 16), align 16, !tbaa !13
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %33, i32 noundef 1610612733)
          to label %34 unwind label %.loopexit.split-lp51

34:                                               ; preds = %32
  %35 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 32), align 16, !tbaa !13
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %35, i32 noundef 1073741822)
          to label %36 unwind label %.loopexit.split-lp51

36:                                               ; preds = %34
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 88), align 8, !tbaa !13
  invoke void @_ZN3tbb18task_group_context12set_priorityENS_10priority_tE(ptr noundef nonnull align 8 dereferenceable(256) %37, i32 noundef 1610612733)
          to label %38 unwind label %.loopexit.split-lp51

38:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.4139)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.5140)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.7141)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.8)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.9142)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.11143)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.12144)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.13146)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.14147)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.15148)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.17149)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.18150)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.19151)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.21152)
  store i32 0, ptr %.sroa.4139, align 4
  store i32 0, ptr %.sroa.5140, align 8
  store i32 0, ptr %.sroa.7141, align 4
  store i32 0, ptr %.sroa.8, align 16
  store i32 0, ptr %.sroa.9142, align 4
  store i32 0, ptr %.sroa.11143, align 8
  store i32 0, ptr %.sroa.12144, align 4
  store i32 0, ptr %.sroa.13146, align 4
  store i32 0, ptr %.sroa.14147, align 8
  store i32 0, ptr %.sroa.15148, align 4
  store i32 0, ptr %.sroa.17149, align 16
  store i32 0, ptr %.sroa.18150, align 4
  store i32 0, ptr %.sroa.19151, align 8
  store i32 0, ptr %.sroa.21152, align 4
  store i32 1, ptr %.sroa.5140, align 8
  store i32 1, ptr %.sroa.9142, align 4
  store i32 1, ptr %.sroa.15148, align 4
  store i32 1, ptr %.sroa.19151, align 8
  store i32 1, ptr %.sroa.21152, align 4
  br label %.preheader49

.preheader49:                                     ; preds = %38, %175
  %39 = phi i1 [ true, %38 ], [ false, %175 ]
  %indvars.iv.sroa.phi = phi ptr [ %.sroa.4139, %38 ], [ %.sroa.13146, %175 ]
  %indvars.iv.sroa.phi120 = phi ptr [ %.sroa.5140, %38 ], [ %.sroa.14147, %175 ]
  %indvars.iv.sroa.phi123 = phi ptr [ %.sroa.7141, %38 ], [ %.sroa.15148, %175 ]
  %indvars.iv.sroa.phi126 = phi ptr [ %.sroa.8, %38 ], [ %.sroa.17149, %175 ]
  %indvars.iv.sroa.phi129 = phi ptr [ %.sroa.9142, %38 ], [ %.sroa.18150, %175 ]
  %indvars.iv.sroa.phi132 = phi ptr [ %.sroa.11143, %38 ], [ %.sroa.19151, %175 ]
  %indvars.iv.sroa.phi135 = phi ptr [ %.sroa.12144, %38 ], [ %.sroa.21152, %175 ]
  %indvars.iv = phi i64 [ 0, %38 ], [ 1, %175 ]
  %40 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %41 = trunc nuw i8 %40 to i1
  br i1 %41, label %45, label %47

42:                                               ; preds = %175
  %43 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %44 = trunc nuw i8 %43 to i1
  br i1 %44, label %178, label %180

45:                                               ; preds = %.preheader49
  %46 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %46, ptr noundef nonnull @.str.43, i32 noundef 1)
          to label %47 unwind label %176

47:                                               ; preds = %45, %.preheader49
  %48 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 1
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  %50 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %49)
          to label %51 unwind label %176

51:                                               ; preds = %47
  %52 = load i32, ptr %indvars.iv.sroa.phi, align 4, !tbaa !15
  %.not43 = icmp eq i32 %52, 0
  %53 = select i1 %.not43, i32 1073741822, i32 1610612733
  %54 = icmp eq i32 %50, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %51
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %56 unwind label %176

56:                                               ; preds = %55, %51
  %57 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %59, label %61

59:                                               ; preds = %56
  %60 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %60, ptr noundef nonnull @.str.45)
          to label %._crit_edge unwind label %176

._crit_edge:                                      ; preds = %59
  %.pre = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %61

61:                                               ; preds = %._crit_edge, %56
  %62 = phi i8 [ %.pre, %._crit_edge ], [ %57, %56 ]
  %63 = trunc nuw i8 %62 to i1
  br i1 %63, label %64, label %66

64:                                               ; preds = %61
  %65 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %65, ptr noundef nonnull @.str.43, i32 noundef 2)
          to label %66 unwind label %176

66:                                               ; preds = %64, %61
  %67 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 2
  %68 = load ptr, ptr %67, align 16, !tbaa !13
  %69 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %68)
          to label %70 unwind label %176

70:                                               ; preds = %66
  %71 = load i32, ptr %indvars.iv.sroa.phi120, align 8, !tbaa !15
  %.not43.1 = icmp eq i32 %71, 0
  %72 = select i1 %.not43.1, i32 1073741822, i32 1610612733
  %73 = icmp eq i32 %69, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %75 unwind label %176

75:                                               ; preds = %74, %70
  %76 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %77 = trunc nuw i8 %76 to i1
  br i1 %77, label %78, label %80

78:                                               ; preds = %75
  %79 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %79, ptr noundef nonnull @.str.45)
          to label %._crit_edge75 unwind label %176

._crit_edge75:                                    ; preds = %78
  %.pre76 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %80

80:                                               ; preds = %._crit_edge75, %75
  %81 = phi i8 [ %.pre76, %._crit_edge75 ], [ %76, %75 ]
  %82 = trunc nuw i8 %81 to i1
  br i1 %82, label %83, label %85

83:                                               ; preds = %80
  %84 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %84, ptr noundef nonnull @.str.43, i32 noundef 3)
          to label %85 unwind label %176

85:                                               ; preds = %83, %80
  %86 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 3
  %87 = load ptr, ptr %86, align 8, !tbaa !13
  %88 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %87)
          to label %89 unwind label %176

89:                                               ; preds = %85
  %90 = load i32, ptr %indvars.iv.sroa.phi123, align 4, !tbaa !15
  %.not43.2 = icmp eq i32 %90, 0
  %91 = select i1 %.not43.2, i32 1073741822, i32 1610612733
  %92 = icmp eq i32 %88, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %94 unwind label %176

94:                                               ; preds = %93, %89
  %95 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %96 = trunc nuw i8 %95 to i1
  br i1 %96, label %97, label %99

97:                                               ; preds = %94
  %98 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %98, ptr noundef nonnull @.str.45)
          to label %._crit_edge77 unwind label %176

._crit_edge77:                                    ; preds = %97
  %.pre78 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %99

99:                                               ; preds = %._crit_edge77, %94
  %100 = phi i8 [ %.pre78, %._crit_edge77 ], [ %95, %94 ]
  %101 = trunc nuw i8 %100 to i1
  br i1 %101, label %102, label %104

102:                                              ; preds = %99
  %103 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %103, ptr noundef nonnull @.str.43, i32 noundef 4)
          to label %104 unwind label %176

104:                                              ; preds = %102, %99
  %105 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 4
  %106 = load ptr, ptr %105, align 16, !tbaa !13
  %107 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %106)
          to label %108 unwind label %176

108:                                              ; preds = %104
  %109 = load i32, ptr %indvars.iv.sroa.phi126, align 16, !tbaa !15
  %.not43.3 = icmp eq i32 %109, 0
  %110 = select i1 %.not43.3, i32 1073741822, i32 1610612733
  %111 = icmp eq i32 %107, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %108
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %113 unwind label %176

113:                                              ; preds = %112, %108
  %114 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %115 = trunc nuw i8 %114 to i1
  br i1 %115, label %116, label %118

116:                                              ; preds = %113
  %117 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %117, ptr noundef nonnull @.str.45)
          to label %._crit_edge79 unwind label %176

._crit_edge79:                                    ; preds = %116
  %.pre80 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %118

118:                                              ; preds = %._crit_edge79, %113
  %119 = phi i8 [ %.pre80, %._crit_edge79 ], [ %114, %113 ]
  %120 = trunc nuw i8 %119 to i1
  br i1 %120, label %121, label %123

121:                                              ; preds = %118
  %122 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %122, ptr noundef nonnull @.str.43, i32 noundef 5)
          to label %123 unwind label %176

123:                                              ; preds = %121, %118
  %124 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 5
  %125 = load ptr, ptr %124, align 8, !tbaa !13
  %126 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %125)
          to label %127 unwind label %176

127:                                              ; preds = %123
  %128 = load i32, ptr %indvars.iv.sroa.phi129, align 4, !tbaa !15
  %.not43.4 = icmp eq i32 %128, 0
  %129 = select i1 %.not43.4, i32 1073741822, i32 1610612733
  %130 = icmp eq i32 %126, %129
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %132 unwind label %176

132:                                              ; preds = %131, %127
  %133 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %134 = trunc nuw i8 %133 to i1
  br i1 %134, label %135, label %137

135:                                              ; preds = %132
  %136 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %136, ptr noundef nonnull @.str.45)
          to label %._crit_edge81 unwind label %176

._crit_edge81:                                    ; preds = %135
  %.pre82 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %137

137:                                              ; preds = %._crit_edge81, %132
  %138 = phi i8 [ %.pre82, %._crit_edge81 ], [ %133, %132 ]
  %139 = trunc nuw i8 %138 to i1
  br i1 %139, label %140, label %142

140:                                              ; preds = %137
  %141 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %141, ptr noundef nonnull @.str.43, i32 noundef 6)
          to label %142 unwind label %176

142:                                              ; preds = %140, %137
  %143 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 6
  %144 = load ptr, ptr %143, align 16, !tbaa !13
  %145 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %144)
          to label %146 unwind label %176

146:                                              ; preds = %142
  %147 = load i32, ptr %indvars.iv.sroa.phi132, align 8, !tbaa !15
  %.not43.5 = icmp eq i32 %147, 0
  %148 = select i1 %.not43.5, i32 1073741822, i32 1610612733
  %149 = icmp eq i32 %145, %148
  br i1 %149, label %151, label %150

150:                                              ; preds = %146
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %151 unwind label %176

151:                                              ; preds = %150, %146
  %152 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %153 = trunc nuw i8 %152 to i1
  br i1 %153, label %154, label %156

154:                                              ; preds = %151
  %155 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %155, ptr noundef nonnull @.str.45)
          to label %._crit_edge83 unwind label %176

._crit_edge83:                                    ; preds = %154
  %.pre84 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %156

156:                                              ; preds = %._crit_edge83, %151
  %157 = phi i8 [ %.pre84, %._crit_edge83 ], [ %152, %151 ]
  %158 = trunc nuw i8 %157 to i1
  br i1 %158, label %159, label %161

159:                                              ; preds = %156
  %160 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 547, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %160, ptr noundef nonnull @.str.43, i32 noundef 7)
          to label %161 unwind label %176

161:                                              ; preds = %159, %156
  %162 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv, i64 7
  %163 = load ptr, ptr %162, align 8, !tbaa !13
  %164 = invoke noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256) %163)
          to label %165 unwind label %176

165:                                              ; preds = %161
  %166 = load i32, ptr %indvars.iv.sroa.phi135, align 4, !tbaa !15
  %.not43.6 = icmp eq i32 %166, 0
  %167 = select i1 %.not43.6, i32 1073741822, i32 1610612733
  %168 = icmp eq i32 %164, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %165
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 548, ptr noundef nonnull @.str.44, ptr noundef null)
          to label %170 unwind label %176

170:                                              ; preds = %169, %165
  %171 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %172 = trunc nuw i8 %171 to i1
  br i1 %172, label %173, label %175

173:                                              ; preds = %170
  %174 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 549, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %174, ptr noundef nonnull @.str.45)
          to label %175 unwind label %176

175:                                              ; preds = %173, %170
  br i1 %39, label %.preheader49, label %42, !llvm.loop !17

176:                                              ; preds = %173, %169, %161, %159, %154, %150, %142, %140, %135, %131, %123, %121, %116, %112, %104, %102, %97, %93, %85, %83, %78, %74, %66, %64, %59, %55, %47, %45
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %409

178:                                              ; preds = %42
  %179 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 551, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %179, ptr noundef nonnull @.str.46)
          to label %._crit_edge85 unwind label %201

._crit_edge85:                                    ; preds = %178
  %.pre86 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %180

180:                                              ; preds = %._crit_edge85, %42
  %181 = phi i8 [ %.pre86, %._crit_edge85 ], [ %43, %42 ]
  %182 = trunc nuw i8 %181 to i1
  br i1 %182, label %183, label %185

183:                                              ; preds = %180
  %184 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 552, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %184, ptr noundef nonnull @.str.47)
          to label %185 unwind label %201

185:                                              ; preds = %183, %180
  %186 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 32), align 16, !tbaa !13
  %187 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %186)
          to label %188 unwind label %201

188:                                              ; preds = %185
  %189 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 40), align 8, !tbaa !13
  %190 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %189)
          to label %191 unwind label %201

191:                                              ; preds = %188
  %192 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 88), align 8, !tbaa !13
  %193 = invoke noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256) %192)
          to label %194 unwind label %201

194:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.9)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.13118)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.17)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.18)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.19)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %.sroa.21)
  store i32 0, ptr %.sroa.4, align 4
  store i32 0, ptr %.sroa.5, align 8
  store i32 0, ptr %.sroa.6, align 4
  store i32 0, ptr %.sroa.7, align 16
  store i32 0, ptr %.sroa.9, align 4
  store i32 0, ptr %.sroa.11, align 8
  store i32 0, ptr %.sroa.12, align 4
  store i32 0, ptr %.sroa.13118, align 4
  store i32 0, ptr %.sroa.14, align 8
  store i32 0, ptr %.sroa.15, align 4
  store i32 0, ptr %.sroa.17, align 16
  store i32 0, ptr %.sroa.18, align 4
  store i32 0, ptr %.sroa.19, align 8
  store i32 0, ptr %.sroa.21, align 4
  store i32 1, ptr %.sroa.7, align 16
  store i32 1, ptr %.sroa.9, align 4
  store i32 1, ptr %.sroa.15, align 4
  store i32 1, ptr %.sroa.19, align 8
  store i32 1, ptr %.sroa.21, align 4
  br label %.preheader48

.preheader48:                                     ; preds = %194, %333
  %195 = phi i1 [ true, %194 ], [ false, %333 ]
  %indvars.iv66.sroa.phi = phi ptr [ %.sroa.4, %194 ], [ %.sroa.13118, %333 ]
  %indvars.iv66.sroa.phi100 = phi ptr [ %.sroa.5, %194 ], [ %.sroa.14, %333 ]
  %indvars.iv66.sroa.phi103 = phi ptr [ %.sroa.6, %194 ], [ %.sroa.15, %333 ]
  %indvars.iv66.sroa.phi106 = phi ptr [ %.sroa.7, %194 ], [ %.sroa.17, %333 ]
  %indvars.iv66.sroa.phi109 = phi ptr [ %.sroa.9, %194 ], [ %.sroa.18, %333 ]
  %indvars.iv66.sroa.phi112 = phi ptr [ %.sroa.11, %194 ], [ %.sroa.19, %333 ]
  %indvars.iv66.sroa.phi115 = phi ptr [ %.sroa.12, %194 ], [ %.sroa.21, %333 ]
  %indvars.iv66 = phi i64 [ 0, %194 ], [ 1, %333 ]
  %196 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %197 = trunc nuw i8 %196 to i1
  br i1 %197, label %203, label %205

198:                                              ; preds = %333
  %199 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %200 = trunc nuw i8 %199 to i1
  br i1 %200, label %336, label %338

201:                                              ; preds = %191, %188, %185, %183, %178
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %409

203:                                              ; preds = %.preheader48
  %204 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %204, ptr noundef nonnull @.str.43, i32 noundef 1)
          to label %205 unwind label %334

205:                                              ; preds = %203, %.preheader48
  %206 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 1
  %207 = load ptr, ptr %206, align 8, !tbaa !13
  %208 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %207)
          to label %209 unwind label %334

209:                                              ; preds = %205
  %210 = load i32, ptr %indvars.iv66.sroa.phi, align 4, !tbaa !15
  %211 = icmp ne i32 %210, 1
  %212 = xor i1 %208, %211
  br i1 %212, label %214, label %213

213:                                              ; preds = %209
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %214 unwind label %334

214:                                              ; preds = %213, %209
  %215 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %216 = trunc nuw i8 %215 to i1
  br i1 %216, label %217, label %219

217:                                              ; preds = %214
  %218 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %218, ptr noundef nonnull @.str.45)
          to label %._crit_edge87 unwind label %334

._crit_edge87:                                    ; preds = %217
  %.pre88 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %219

219:                                              ; preds = %._crit_edge87, %214
  %220 = phi i8 [ %.pre88, %._crit_edge87 ], [ %215, %214 ]
  %221 = trunc nuw i8 %220 to i1
  br i1 %221, label %222, label %224

222:                                              ; preds = %219
  %223 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %223, ptr noundef nonnull @.str.43, i32 noundef 2)
          to label %224 unwind label %334

224:                                              ; preds = %222, %219
  %225 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 2
  %226 = load ptr, ptr %225, align 16, !tbaa !13
  %227 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %226)
          to label %228 unwind label %334

228:                                              ; preds = %224
  %229 = load i32, ptr %indvars.iv66.sroa.phi100, align 8, !tbaa !15
  %230 = icmp ne i32 %229, 1
  %231 = xor i1 %227, %230
  br i1 %231, label %233, label %232

232:                                              ; preds = %228
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %233 unwind label %334

233:                                              ; preds = %232, %228
  %234 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %235 = trunc nuw i8 %234 to i1
  br i1 %235, label %236, label %238

236:                                              ; preds = %233
  %237 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %237, ptr noundef nonnull @.str.45)
          to label %._crit_edge89 unwind label %334

._crit_edge89:                                    ; preds = %236
  %.pre90 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %238

238:                                              ; preds = %._crit_edge89, %233
  %239 = phi i8 [ %.pre90, %._crit_edge89 ], [ %234, %233 ]
  %240 = trunc nuw i8 %239 to i1
  br i1 %240, label %241, label %243

241:                                              ; preds = %238
  %242 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %242, ptr noundef nonnull @.str.43, i32 noundef 3)
          to label %243 unwind label %334

243:                                              ; preds = %241, %238
  %244 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 3
  %245 = load ptr, ptr %244, align 8, !tbaa !13
  %246 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %245)
          to label %247 unwind label %334

247:                                              ; preds = %243
  %248 = load i32, ptr %indvars.iv66.sroa.phi103, align 4, !tbaa !15
  %249 = icmp ne i32 %248, 1
  %250 = xor i1 %246, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %247
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %252 unwind label %334

252:                                              ; preds = %251, %247
  %253 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %254 = trunc nuw i8 %253 to i1
  br i1 %254, label %255, label %257

255:                                              ; preds = %252
  %256 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %256, ptr noundef nonnull @.str.45)
          to label %._crit_edge91 unwind label %334

._crit_edge91:                                    ; preds = %255
  %.pre92 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %257

257:                                              ; preds = %._crit_edge91, %252
  %258 = phi i8 [ %.pre92, %._crit_edge91 ], [ %253, %252 ]
  %259 = trunc nuw i8 %258 to i1
  br i1 %259, label %260, label %262

260:                                              ; preds = %257
  %261 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %261, ptr noundef nonnull @.str.43, i32 noundef 4)
          to label %262 unwind label %334

262:                                              ; preds = %260, %257
  %263 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 4
  %264 = load ptr, ptr %263, align 16, !tbaa !13
  %265 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %264)
          to label %266 unwind label %334

266:                                              ; preds = %262
  %267 = load i32, ptr %indvars.iv66.sroa.phi106, align 16, !tbaa !15
  %268 = icmp ne i32 %267, 1
  %269 = xor i1 %265, %268
  br i1 %269, label %271, label %270

270:                                              ; preds = %266
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %271 unwind label %334

271:                                              ; preds = %270, %266
  %272 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %273 = trunc nuw i8 %272 to i1
  br i1 %273, label %274, label %276

274:                                              ; preds = %271
  %275 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %275, ptr noundef nonnull @.str.45)
          to label %._crit_edge93 unwind label %334

._crit_edge93:                                    ; preds = %274
  %.pre94 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %276

276:                                              ; preds = %._crit_edge93, %271
  %277 = phi i8 [ %.pre94, %._crit_edge93 ], [ %272, %271 ]
  %278 = trunc nuw i8 %277 to i1
  br i1 %278, label %279, label %281

279:                                              ; preds = %276
  %280 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %280, ptr noundef nonnull @.str.43, i32 noundef 5)
          to label %281 unwind label %334

281:                                              ; preds = %279, %276
  %282 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 5
  %283 = load ptr, ptr %282, align 8, !tbaa !13
  %284 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %283)
          to label %285 unwind label %334

285:                                              ; preds = %281
  %286 = load i32, ptr %indvars.iv66.sroa.phi109, align 4, !tbaa !15
  %287 = icmp ne i32 %286, 1
  %288 = xor i1 %284, %287
  br i1 %288, label %290, label %289

289:                                              ; preds = %285
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %290 unwind label %334

290:                                              ; preds = %289, %285
  %291 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %292 = trunc nuw i8 %291 to i1
  br i1 %292, label %293, label %295

293:                                              ; preds = %290
  %294 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %294, ptr noundef nonnull @.str.45)
          to label %._crit_edge95 unwind label %334

._crit_edge95:                                    ; preds = %293
  %.pre96 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %295

295:                                              ; preds = %._crit_edge95, %290
  %296 = phi i8 [ %.pre96, %._crit_edge95 ], [ %291, %290 ]
  %297 = trunc nuw i8 %296 to i1
  br i1 %297, label %298, label %300

298:                                              ; preds = %295
  %299 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %299, ptr noundef nonnull @.str.43, i32 noundef 6)
          to label %300 unwind label %334

300:                                              ; preds = %298, %295
  %301 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 6
  %302 = load ptr, ptr %301, align 16, !tbaa !13
  %303 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %302)
          to label %304 unwind label %334

304:                                              ; preds = %300
  %305 = load i32, ptr %indvars.iv66.sroa.phi112, align 8, !tbaa !15
  %306 = icmp ne i32 %305, 1
  %307 = xor i1 %303, %306
  br i1 %307, label %309, label %308

308:                                              ; preds = %304
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %309 unwind label %334

309:                                              ; preds = %308, %304
  %310 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %311 = trunc nuw i8 %310 to i1
  br i1 %311, label %312, label %314

312:                                              ; preds = %309
  %313 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %313, ptr noundef nonnull @.str.45)
          to label %._crit_edge97 unwind label %334

._crit_edge97:                                    ; preds = %312
  %.pre98 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9
  br label %314

314:                                              ; preds = %._crit_edge97, %309
  %315 = phi i8 [ %.pre98, %._crit_edge97 ], [ %310, %309 ]
  %316 = trunc nuw i8 %315 to i1
  br i1 %316, label %317, label %319

317:                                              ; preds = %314
  %318 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 561, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %318, ptr noundef nonnull @.str.43, i32 noundef 7)
          to label %319 unwind label %334

319:                                              ; preds = %317, %314
  %320 = getelementptr inbounds [2 x [8 x ptr]], ptr @_ZN16test_propagation7g_treesE, i64 0, i64 %indvars.iv66, i64 7
  %321 = load ptr, ptr %320, align 8, !tbaa !13
  %322 = invoke noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256) %321)
          to label %323 unwind label %334

323:                                              ; preds = %319
  %324 = load i32, ptr %indvars.iv66.sroa.phi115, align 4, !tbaa !15
  %325 = icmp ne i32 %324, 1
  %326 = xor i1 %322, %325
  br i1 %326, label %328, label %327

327:                                              ; preds = %323
  invoke void @_Z11ReportErrorPKciS0_S0_(ptr noundef nonnull @.str.21, i32 noundef 562, ptr noundef nonnull @.str.48, ptr noundef null)
          to label %328 unwind label %334

328:                                              ; preds = %327, %323
  %329 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %330 = trunc nuw i8 %329 to i1
  br i1 %330, label %331, label %333

331:                                              ; preds = %328
  %332 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 563, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %332, ptr noundef nonnull @.str.45)
          to label %333 unwind label %334

333:                                              ; preds = %331, %328
  br i1 %195, label %.preheader48, label %198, !llvm.loop !18

334:                                              ; preds = %331, %327, %319, %317, %312, %308, %300, %298, %293, %289, %281, %279, %274, %270, %262, %260, %255, %251, %243, %241, %236, %232, %224, %222, %217, %213, %205, %203
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %408

336:                                              ; preds = %198
  %337 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 565, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %337, ptr noundef nonnull @.str.46)
          to label %338 unwind label %.loopexit.split-lp

338:                                              ; preds = %336, %198
  %339 = invoke noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE, i32 noundef 15)
          to label %340 unwind label %.loopexit.split-lp

340:                                              ; preds = %338
  %341 = invoke noundef zeroext i1 @_ZN3tbb6atomicIbEaSEb(ptr noundef nonnull align 1 dereferenceable(1) @_ZN16test_propagation11is_finishedE, i1 noundef zeroext true)
          to label %342 unwind label %.loopexit.split-lp

342:                                              ; preds = %340
  %343 = load i8, ptr @_ZL7Verbose, align 1, !tbaa !5, !range !9, !noundef !10
  %344 = trunc nuw i8 %343 to i1
  br i1 %344, label %345, label %.preheader

345:                                              ; preds = %342
  %346 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str.21, i64 noundef 568, ptr noundef nonnull @__FUNCTION__._ZN16test_propagation15TestSetPriorityEv)
  invoke void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %346, ptr noundef nonnull @.str.49)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %345, %342
  br label %347

347:                                              ; preds = %.preheader, %352
  %348 = invoke noundef i32 @_ZNVK3tbb8internal11atomic_implIiEcviEv(ptr noundef nonnull align 4 dereferenceable(4) @_ZN16test_propagation9g_barrierE)
          to label %349 unwind label %.loopexit

349:                                              ; preds = %347
  %.not40 = icmp eq i32 %348, 0
  br i1 %.not40, label %.preheader.preheader, label %352

.preheader.preheader:                             ; preds = %349
  %350 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 8), align 8, !tbaa !13
  %351 = icmp eq ptr %350, null
  br i1 %351, label %355, label %354

352:                                              ; preds = %349
  %353 = call i32 @sched_yield() #8
  br label %347, !llvm.loop !19

.loopexit:                                        ; preds = %347
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %408

.loopexit.split-lp:                               ; preds = %336, %338, %340, %345
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %408

354:                                              ; preds = %.preheader.preheader
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %350) #8
  call void @_ZdlPvm(ptr noundef nonnull %350, i64 noundef 256) #9
  br label %355

355:                                              ; preds = %.preheader.preheader, %354
  %356 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 16), align 16, !tbaa !13
  %357 = icmp eq ptr %356, null
  br i1 %357, label %359, label %358

358:                                              ; preds = %355
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %356) #8
  call void @_ZdlPvm(ptr noundef nonnull %356, i64 noundef 256) #9
  br label %359

359:                                              ; preds = %358, %355
  %360 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 24), align 8, !tbaa !13
  %361 = icmp eq ptr %360, null
  br i1 %361, label %363, label %362

362:                                              ; preds = %359
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %360) #8
  call void @_ZdlPvm(ptr noundef nonnull %360, i64 noundef 256) #9
  br label %363

363:                                              ; preds = %362, %359
  %364 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 32), align 16, !tbaa !13
  %365 = icmp eq ptr %364, null
  br i1 %365, label %367, label %366

366:                                              ; preds = %363
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %364) #8
  call void @_ZdlPvm(ptr noundef nonnull %364, i64 noundef 256) #9
  br label %367

367:                                              ; preds = %366, %363
  %368 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 40), align 8, !tbaa !13
  %369 = icmp eq ptr %368, null
  br i1 %369, label %371, label %370

370:                                              ; preds = %367
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %368) #8
  call void @_ZdlPvm(ptr noundef nonnull %368, i64 noundef 256) #9
  br label %371

371:                                              ; preds = %370, %367
  %372 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 48), align 16, !tbaa !13
  %373 = icmp eq ptr %372, null
  br i1 %373, label %375, label %374

374:                                              ; preds = %371
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %372) #8
  call void @_ZdlPvm(ptr noundef nonnull %372, i64 noundef 256) #9
  br label %375

375:                                              ; preds = %374, %371
  %376 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 56), align 8, !tbaa !13
  %377 = icmp eq ptr %376, null
  br i1 %377, label %.preheader.1, label %378

378:                                              ; preds = %375
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %376) #8
  call void @_ZdlPvm(ptr noundef nonnull %376, i64 noundef 256) #9
  br label %.preheader.1

.preheader.1:                                     ; preds = %378, %375
  %379 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 72), align 8, !tbaa !13
  %380 = icmp eq ptr %379, null
  br i1 %380, label %382, label %381

381:                                              ; preds = %.preheader.1
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %379) #8
  call void @_ZdlPvm(ptr noundef nonnull %379, i64 noundef 256) #9
  br label %382

382:                                              ; preds = %381, %.preheader.1
  %383 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 80), align 16, !tbaa !13
  %384 = icmp eq ptr %383, null
  br i1 %384, label %386, label %385

385:                                              ; preds = %382
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %383) #8
  call void @_ZdlPvm(ptr noundef nonnull %383, i64 noundef 256) #9
  br label %386

386:                                              ; preds = %385, %382
  %387 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 88), align 8, !tbaa !13
  %388 = icmp eq ptr %387, null
  br i1 %388, label %390, label %389

389:                                              ; preds = %386
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %387) #8
  call void @_ZdlPvm(ptr noundef nonnull %387, i64 noundef 256) #9
  br label %390

390:                                              ; preds = %389, %386
  %391 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 96), align 16, !tbaa !13
  %392 = icmp eq ptr %391, null
  br i1 %392, label %394, label %393

393:                                              ; preds = %390
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %391) #8
  call void @_ZdlPvm(ptr noundef nonnull %391, i64 noundef 256) #9
  br label %394

394:                                              ; preds = %393, %390
  %395 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 104), align 8, !tbaa !13
  %396 = icmp eq ptr %395, null
  br i1 %396, label %398, label %397

397:                                              ; preds = %394
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %395) #8
  call void @_ZdlPvm(ptr noundef nonnull %395, i64 noundef 256) #9
  br label %398

398:                                              ; preds = %397, %394
  %399 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 112), align 16, !tbaa !13
  %400 = icmp eq ptr %399, null
  br i1 %400, label %402, label %401

401:                                              ; preds = %398
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %399) #8
  call void @_ZdlPvm(ptr noundef nonnull %399, i64 noundef 256) #9
  br label %402

402:                                              ; preds = %401, %398
  %403 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZN16test_propagation7g_treesE, i64 120), align 8, !tbaa !13
  %404 = icmp eq ptr %403, null
  br i1 %404, label %406, label %405

405:                                              ; preds = %402
  call void @_ZN3tbb18task_group_contextD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %403) #8
  call void @_ZdlPvm(ptr noundef nonnull %403, i64 noundef 256) #9
  br label %406

406:                                              ; preds = %405, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.11)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.12)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.13118)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.15)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.17)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.19)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.21)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.4139)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.5140)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.7141)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.9142)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.11143)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.12144)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.13146)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.14147)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.15148)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.17149)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.18150)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.19151)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.21152)
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  br label %407

407:                                              ; preds = %406, %10
  ret void

408:                                              ; preds = %.loopexit, %.loopexit.split-lp, %334
  %.pn41 = phi { ptr, i32 } [ %335, %334 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.5)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.6)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.11)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.12)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.13118)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.14)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.15)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.17)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.19)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.21)
  br label %409

409:                                              ; preds = %408, %201, %176
  %.pn44 = phi { ptr, i32 } [ %177, %176 ], [ %.pn41, %408 ], [ %202, %201 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.4139)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.5140)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.7141)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.9142)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.11143)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.12144)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.13146)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.14147)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.15148)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.17149)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.18150)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.19151)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %.sroa.21152)
  br label %410

410:                                              ; preds = %.loopexit50, %.loopexit.split-lp51, %409, %31
  %.pn44.pn = phi { ptr, i32 } [ %.pn44, %409 ], [ %.pn, %31 ], [ %lpad.loopexit52, %.loopexit50 ], [ %lpad.loopexit.split-lp53, %.loopexit.split-lp51 ]
  call void @_ZN3tbb19task_scheduler_initD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %1) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn44.pn
}

declare noundef i32 @_ZN3tbb19task_scheduler_init19default_num_threadsEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3tbb6atomicIiEaSEi(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3tbb4task13allocate_rootEv() local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZnwmRKN3tbb8internal19allocate_root_proxyE(i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZdlPvRKN3tbb8internal19allocate_root_proxyE(ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6

declare noundef i32 @_ZNK3tbb18task_group_context8priorityEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZN3tbb18task_group_context22cancel_group_executionEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK3tbb18task_group_context28is_group_execution_cancelledEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { builtin 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass