; LLVM IR from dtecta/motion-toolkit :: 3rdparty/googletest/src/gtest-all.ll (ZN7testing8internal12UnitTestImpl11RunAllTestsEv)

; 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.std::reverse_iterator.160" = type { %"class.__gnu_cxx::__normal_iterator.162" }
%"class.__gnu_cxx::__normal_iterator.162" = type { ptr }
%"class.testing::internal::UnitTestImpl" = type <{ ptr, ptr, %"class.testing::internal::FilePath", %"class.testing::internal::DefaultGlobalTestPartResultReporter", %"class.testing::internal::DefaultPerThreadTestPartResultReporter", ptr, %"class.testing::internal::Mutex", %"class.testing::internal::ThreadLocal", %"class.std::vector", %"class.std::vector.13", %"class.std::vector.18", %"class.testing::internal::ParameterizedTestSuiteRegistry", i8, [3 x i8], i32, ptr, ptr, %"class.testing::TestResult", %"class.testing::TestEventListeners", ptr, i8, [3 x i8], i32, %"class.testing::internal::Random", [4 x i8], i64, i64, %"class.std::unique_ptr.38", %"class.std::unique_ptr.46", %"class.testing::internal::ThreadLocal.54", i8, [7 x i8] }>
%"class.testing::internal::FilePath" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.testing::internal::DefaultGlobalTestPartResultReporter" = type { %"class.testing::TestPartResultReporterInterface", ptr }
%"class.testing::TestPartResultReporterInterface" = type { ptr }
%"class.testing::internal::DefaultPerThreadTestPartResultReporter" = type { %"class.testing::TestPartResultReporterInterface", ptr }
%"class.testing::internal::Mutex" = type { %"class.testing::internal::MutexBase" }
%"class.testing::internal::MutexBase" = type { %union.pthread_mutex_t, i8, i64 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.testing::internal::ThreadLocal" = type { i32, %"class.std::unique_ptr.2" }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<testing::Environment *, std::allocator<testing::Environment *>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::Environment *, std::allocator<testing::Environment *>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::Environment *, std::allocator<testing::Environment *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::Environment *, std::allocator<testing::Environment *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<testing::TestSuite *, std::allocator<testing::TestSuite *>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::TestSuite *, std::allocator<testing::TestSuite *>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::TestSuite *, std::allocator<testing::TestSuite *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::TestSuite *, std::allocator<testing::TestSuite *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::internal::ParameterizedTestSuiteRegistry" = type { %"class.std::vector.23" }
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<testing::internal::ParameterizedTestSuiteInfoBase *, std::allocator<testing::internal::ParameterizedTestSuiteInfoBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::internal::ParameterizedTestSuiteInfoBase *, std::allocator<testing::internal::ParameterizedTestSuiteInfoBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::internal::ParameterizedTestSuiteInfoBase *, std::allocator<testing::internal::ParameterizedTestSuiteInfoBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::internal::ParameterizedTestSuiteInfoBase *, std::allocator<testing::internal::ParameterizedTestSuiteInfoBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::TestResult" = type { %"class.testing::internal::Mutex", %"class.std::vector.28", %"class.std::vector.33", i32, i64 }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<testing::TestPartResult, std::allocator<testing::TestPartResult>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::TestPartResult, std::allocator<testing::TestPartResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::TestPartResult, std::allocator<testing::TestPartResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::TestPartResult, std::allocator<testing::TestPartResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<testing::TestProperty, std::allocator<testing::TestProperty>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::TestProperty, std::allocator<testing::TestProperty>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::TestProperty, std::allocator<testing::TestProperty>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::TestProperty, std::allocator<testing::TestProperty>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::TestEventListeners" = type { ptr, ptr, ptr }
%"class.testing::internal::Random" = type { i32 }
%"class.std::unique_ptr.38" = type { %"struct.std::__uniq_ptr_data.39" }
%"struct.std::__uniq_ptr_data.39" = type { %"class.std::__uniq_ptr_impl.40" }
%"class.std::__uniq_ptr_impl.40" = type { %"class.std::tuple.41" }
%"class.std::tuple.41" = type { %"struct.std::_Tuple_impl.42" }
%"struct.std::_Tuple_impl.42" = type { %"struct.std::_Head_base.45" }
%"struct.std::_Head_base.45" = type { ptr }
%"class.std::unique_ptr.46" = type { %"struct.std::__uniq_ptr_data.47" }
%"struct.std::__uniq_ptr_data.47" = type { %"class.std::__uniq_ptr_impl.48" }
%"class.std::__uniq_ptr_impl.48" = type { %"class.std::tuple.49" }
%"class.std::tuple.49" = type { %"struct.std::_Tuple_impl.50" }
%"struct.std::_Tuple_impl.50" = type { %"struct.std::_Head_base.53" }
%"struct.std::_Head_base.53" = type { ptr }
%"class.testing::internal::ThreadLocal.54" = type { i32, %"class.std::unique_ptr.55" }
%"class.std::unique_ptr.55" = type { %"struct.std::__uniq_ptr_data.56" }
%"struct.std::__uniq_ptr_data.56" = type { %"class.std::__uniq_ptr_impl.57" }
%"class.std::__uniq_ptr_impl.57" = type { %"class.std::tuple.58" }
%"class.std::tuple.58" = type { %"struct.std::_Tuple_impl.59" }
%"struct.std::_Tuple_impl.59" = type { %"struct.std::_Head_base.62" }
%"struct.std::_Head_base.62" = type { ptr }

@_ZN7testing8internal11g_help_flagE = external dso_local global i8, align 1
@_ZN7testing22FLAGS_gtest_list_testsE = external dso_local global i8, align 1
@_ZN7testing23FLAGS_gtest_random_seedE = external dso_local global i32, align 4
@_ZN7testing18FLAGS_gtest_repeatE = external dso_local global i32, align 4
@_ZN7testing19FLAGS_gtest_shuffleE = external dso_local global i8, align 1
@_ZN7testingL16kTestTotalShardsE = external hidden constant [19 x i8], align 16
@_ZN7testingL15kTestShardIndexE = external hidden constant [18 x i8], align 16
@.str.260 = external hidden unnamed_addr constant [244 x i8], align 1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN7testing8internal15GetTimeInMillisEv() #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing4Test15HasFatalFailureEv() #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal11ShouldShardEPKcS2_b(ptr noundef, ptr noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing8internal12UnitTestImpl6PassedEv(ptr noundef nonnull align 8 dereferenceable(497)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7testing8internal12UnitTestImpl11RunAllTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0) #2 align 2 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::reverse_iterator.160", align 8
  %17 = alloca %"class.std::reverse_iterator.160", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  %19 = call noundef zeroext i1 @_ZN7testing8internalL18GTestIsInitializedEv()
  %20 = zext i1 %19 to i8
  store i8 %20, ptr %4, align 1, !tbaa !9
  %21 = load i8, ptr @_ZN7testing8internal11g_help_flagE, align 1, !tbaa !9, !range !11, !noundef !12
  %22 = trunc i8 %21 to i1
  br i1 %22, label %23, label %24

23:                                               ; preds = %1
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %189

24:                                               ; preds = %1
  call void @_ZN7testing8internal12UnitTestImpl19PostFlagParsingInitEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  call void @_ZN7testing8internal30WriteToShardStatusFileIfNeededEv()
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #5
  store i8 0, ptr %6, align 1, !tbaa !9
  %25 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 27
  %26 = call noundef ptr @_ZNKSt10unique_ptrIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %27 = icmp ne ptr %26, null
  %28 = zext i1 %27 to i8
  store i8 %28, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %29 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %30 = trunc i8 %29 to i1
  %31 = call noundef zeroext i1 @_ZN7testing8internal11ShouldShardEPKcS2_b(ptr noundef @_ZN7testingL16kTestTotalShardsE, ptr noundef @_ZN7testingL15kTestShardIndexE, i1 noundef zeroext %30)
  %32 = zext i1 %31 to i8
  store i8 %32, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %33 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %34 = trunc i8 %33 to i1
  %35 = zext i1 %34 to i64
  %36 = select i1 %34, i32 0, i32 1
  %37 = call noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(497) %18, i32 noundef %36)
  %38 = icmp sgt i32 %37, 0
  %39 = zext i1 %38 to i8
  store i8 %39, ptr %8, align 1, !tbaa !9
  %40 = load i8, ptr @_ZN7testing22FLAGS_gtest_list_testsE, align 1, !tbaa !9, !range !11, !noundef !12
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %43

42:                                               ; preds = %24
  call void @_ZN7testing8internal12UnitTestImpl23ListTestsMatchingFilterEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  store i1 true, ptr %2, align 1
  store i32 1, ptr %5, align 4
  br label %188

43:                                               ; preds = %24
  %44 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !9, !range !11, !noundef !12
  %45 = trunc i8 %44 to i1
  br i1 %45, label %46, label %49

46:                                               ; preds = %43
  %47 = load i32, ptr @_ZN7testing23FLAGS_gtest_random_seedE, align 4, !tbaa !13
  %48 = call noundef i32 @_ZN7testing8internal21GetRandomSeedFromFlagEi(i32 noundef %47)
  br label %50

49:                                               ; preds = %43
  br label %50

50:                                               ; preds = %49, %46
  %51 = phi i32 [ %48, %46 ], [ 0, %49 ]
  %52 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 22
  store i32 %51, ptr %52, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 0, ptr %9, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %53 = call noundef ptr @_ZN7testing8internal12UnitTestImpl9listenersEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  %54 = call noundef ptr @_ZN7testing18TestEventListeners8repeaterEv(ptr noundef nonnull align 8 dereferenceable(24) %53)
  store ptr %54, ptr %10, align 8, !tbaa !5
  %55 = call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %56 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 25
  store i64 %55, ptr %56, align 8, !tbaa !81
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !82
  %60 = load ptr, ptr %57, align 8, !tbaa !83
  %61 = getelementptr inbounds ptr, ptr %60, i64 2
  %62 = load ptr, ptr %61, align 8
  call void %62(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(72) %59)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %63 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %64 = trunc i8 %63 to i1
  br i1 %64, label %65, label %66

65:                                               ; preds = %50
  br label %68

66:                                               ; preds = %50
  %67 = load i32, ptr @_ZN7testing18FLAGS_gtest_repeatE, align 4, !tbaa !13
  br label %68

68:                                               ; preds = %66, %65
  %69 = phi i32 [ 1, %65 ], [ %67, %66 ]
  store i32 %69, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  %70 = load i32, ptr %11, align 4, !tbaa !13
  %71 = icmp slt i32 %70, 0
  %72 = zext i1 %71 to i8
  store i8 %72, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %73

73:                                               ; preds = %171, %68
  %74 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %75 = trunc i8 %74 to i1
  br i1 %75, label %80, label %76

76:                                               ; preds = %73
  %77 = load i32, ptr %13, align 4, !tbaa !13
  %78 = load i32, ptr %11, align 4, !tbaa !13
  %79 = icmp ne i32 %77, %78
  br label %80

80:                                               ; preds = %76, %73
  %81 = phi i1 [ true, %73 ], [ %79, %76 ]
  br i1 %81, label %83, label %82

82:                                               ; preds = %80
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %174

83:                                               ; preds = %80
  call void @_ZN7testing8internal12UnitTestImpl23ClearNonAdHocTestResultEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %84 = call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  store i64 %84, ptr %14, align 8, !tbaa !85
  %85 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %94

87:                                               ; preds = %83
  %88 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !9, !range !11, !noundef !12
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %94

90:                                               ; preds = %87
  %91 = call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  %92 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 22
  %93 = load i32, ptr %92, align 4, !tbaa !15
  call void @_ZN7testing8internal6Random6ReseedEj(ptr noundef nonnull align 4 dereferenceable(4) %91, i32 noundef %93)
  call void @_ZN7testing8internal12UnitTestImpl12ShuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  br label %94

94:                                               ; preds = %90, %87, %83
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !82
  %98 = load i32, ptr %13, align 4, !tbaa !13
  %99 = load ptr, ptr %95, align 8, !tbaa !83
  %100 = getelementptr inbounds ptr, ptr %99, i64 3
  %101 = load ptr, ptr %100, align 8
  call void %101(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull align 8 dereferenceable(72) %97, i32 noundef %98)
  %102 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %103 = trunc i8 %102 to i1
  br i1 %103, label %104, label %148

104:                                              ; preds = %94
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !82
  %108 = load ptr, ptr %105, align 8, !tbaa !83
  %109 = getelementptr inbounds ptr, ptr %108, i64 4
  %110 = load ptr, ptr %109, align 8
  call void %110(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(72) %107)
  %111 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 8
  call void @_ZN7testing8internal7ForEachISt6vectorIPNS_11EnvironmentESaIS4_EEPFvS4_EEEvRKT_T0_(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr noundef @_ZN7testing8internalL16SetUpEnvironmentEPNS_11EnvironmentE)
  %112 = load ptr, ptr %10, align 8, !tbaa !5
  %113 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %114 = load ptr, ptr %113, align 8, !tbaa !82
  %115 = load ptr, ptr %112, align 8, !tbaa !83
  %116 = getelementptr inbounds ptr, ptr %115, i64 5
  %117 = load ptr, ptr %116, align 8
  call void %117(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(72) %114)
  %118 = call noundef zeroext i1 @_ZN7testing4Test15HasFatalFailureEv()
  br i1 %118, label %132, label %119

119:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !13
  br label %120

120:                                              ; preds = %128, %119
  %121 = load i32, ptr %15, align 4, !tbaa !13
  %122 = call noundef i32 @_ZNK7testing8internal12UnitTestImpl22total_test_suite_countEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  %123 = icmp slt i32 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %131

125:                                              ; preds = %120
  %126 = load i32, ptr %15, align 4, !tbaa !13
  %127 = call noundef ptr @_ZN7testing8internal12UnitTestImpl19GetMutableSuiteCaseEi(ptr noundef nonnull align 8 dereferenceable(497) %18, i32 noundef %126)
  call void @_ZN7testing9TestSuite3RunEv(ptr noundef nonnull align 8 dereferenceable(248) %127)
  br label %128

128:                                              ; preds = %125
  %129 = load i32, ptr %15, align 4, !tbaa !13
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %15, align 4, !tbaa !13
  br label %120, !llvm.loop !86

131:                                              ; preds = %124
  br label %132

132:                                              ; preds = %131, %104
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !82
  %136 = load ptr, ptr %133, align 8, !tbaa !83
  %137 = getelementptr inbounds ptr, ptr %136, i64 13
  %138 = load ptr, ptr %137, align 8
  call void %138(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(72) %135)
  %139 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 8
  call void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator.160") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %139) #5
  %140 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 8
  call void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE4rendEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator.160") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %140) #5
  %141 = call noundef ptr @_ZSt8for_eachISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPPN7testing11EnvironmentESt6vectorIS5_SaIS5_EEEEEPFvS5_EET0_T_SF_SE_(ptr noundef %16, ptr noundef %17, ptr noundef @_ZN7testing8internalL19TearDownEnvironmentEPNS_11EnvironmentE)
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %144 = load ptr, ptr %143, align 8, !tbaa !82
  %145 = load ptr, ptr %142, align 8, !tbaa !83
  %146 = getelementptr inbounds ptr, ptr %145, i64 14
  %147 = load ptr, ptr %146, align 8
  call void %147(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(72) %144)
  br label %148

148:                                              ; preds = %132, %94
  %149 = call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %150 = load i64, ptr %14, align 8, !tbaa !85
  %151 = sub nsw i64 %149, %150
  %152 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 26
  store i64 %151, ptr %152, align 8, !tbaa !88
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %155 = load ptr, ptr %154, align 8, !tbaa !82
  %156 = load i32, ptr %13, align 4, !tbaa !13
  %157 = load ptr, ptr %153, align 8, !tbaa !83
  %158 = getelementptr inbounds ptr, ptr %157, i64 15
  %159 = load ptr, ptr %158, align 8
  call void %159(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(72) %155, i32 noundef %156)
  %160 = call noundef zeroext i1 @_ZNK7testing8internal12UnitTestImpl6PassedEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  br i1 %160, label %162, label %161

161:                                              ; preds = %148
  store i8 1, ptr %9, align 1, !tbaa !9
  br label %162

162:                                              ; preds = %161, %148
  call void @_ZN7testing8internal12UnitTestImpl14UnshuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %18)
  %163 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !9, !range !11, !noundef !12
  %164 = trunc i8 %163 to i1
  br i1 %164, label %165, label %170

165:                                              ; preds = %162
  %166 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 22
  %167 = load i32, ptr %166, align 4, !tbaa !15
  %168 = call noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef %167)
  %169 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 22
  store i32 %168, ptr %169, align 4, !tbaa !15
  br label %170

170:                                              ; preds = %165, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %13, align 4, !tbaa !13
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %13, align 4, !tbaa !13
  br label %73, !llvm.loop !89

174:                                              ; preds = %82
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %18, i32 0, i32 1
  %177 = load ptr, ptr %176, align 8, !tbaa !82
  %178 = load ptr, ptr %175, align 8, !tbaa !83
  %179 = getelementptr inbounds ptr, ptr %178, i64 16
  %180 = load ptr, ptr %179, align 8
  call void %180(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef nonnull align 8 dereferenceable(72) %177)
  %181 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %182 = trunc i8 %181 to i1
  br i1 %182, label %184, label %183

183:                                              ; preds = %174
  call void (i32, ptr, ...) @_ZN7testing8internal13ColoredPrintfENS0_10GTestColorEPKcz(i32 noundef 1, ptr noundef @.str.260)
  br label %184

184:                                              ; preds = %183, %174
  %185 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %186 = trunc i8 %185 to i1
  %187 = xor i1 %186, true
  store i1 %187, ptr %2, align 1
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  br label %188

188:                                              ; preds = %184, %42
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #5
  br label %189

189:                                              ; preds = %188, %23
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  %190 = load i1, ptr %2, align 1
  ret i1 %190
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal30WriteToShardStatusFileIfNeededEv() #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7testing8internal21GetRandomSeedFromFlagEi(i32 noundef) #3

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7testing8internalL16SetUpEnvironmentEPNS_11EnvironmentE(ptr noundef) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.160") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.160") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7testing8internalL19TearDownEnvironmentEPNS_11EnvironmentE(ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!16, !14, i64 436}
!16 = !{!"_ZTSN7testing8internal12UnitTestImplE", !6, i64 8, !17, i64 16, !21, i64 48, !23, i64 64, !6, i64 80, !24, i64 88, !26, i64 144, !33, i64 160, !37, i64 184, !41, i64 208, !45, i64 232, !10, i64 256, !14, i64 260, !6, i64 264, !6, i64 272, !50, i64 280, !60, i64 400, !6, i64 424, !10, i64 432, !14, i64 436, !61, i64 440, !59, i64 448, !59, i64 456, !62, i64 464, !68, i64 472, !74, i64 480, !10, i64 496}
!17 = !{!"_ZTSN7testing8internal8FilePathE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN7testing8internal35DefaultGlobalTestPartResultReporterE", !22, i64 0, !6, i64 8}
!22 = !{!"_ZTSN7testing31TestPartResultReporterInterfaceE"}
!23 = !{!"_ZTSN7testing8internal38DefaultPerThreadTestPartResultReporterE", !22, i64 0, !6, i64 8}
!24 = !{!"_ZTSN7testing8internal5MutexE", !25, i64 0}
!25 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !10, i64 40, !20, i64 48}
!26 = !{!"_ZTSN7testing8internal11ThreadLocalIPNS_31TestPartResultReporterInterfaceEEE", !14, i64 0, !27, i64 8}
!27 = !{!"_ZTSSt10unique_ptrIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_ELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EE", !30, i64 0}
!30 = !{!"_ZTSSt5tupleIJPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EEE", !31, i64 0}
!31 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EEE", !32, i64 0}
!32 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryELb0EE", !6, i64 0}
!33 = !{!"_ZTSSt6vectorIPN7testing11EnvironmentESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIPN7testing9TestSuiteESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!"_ZTSSt6vectorIiSaIiEE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTSN7testing8internal30ParameterizedTestSuiteRegistryE", !46, i64 0}
!46 = !{!"_ZTSSt6vectorIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE12_Vector_implE", !49, i64 0}
!49 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN7testing10TestResultE", !24, i64 0, !51, i64 56, !55, i64 80, !14, i64 104, !59, i64 112}
!51 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!59 = !{!"long long", !7, i64 0}
!60 = !{!"_ZTSN7testing18TestEventListenersE", !6, i64 0, !6, i64 8, !6, i64 16}
!61 = !{!"_ZTSN7testing8internal6RandomE", !14, i64 0}
!62 = !{!"_ZTSSt10unique_ptrIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE", !63, i64 0}
!63 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_ELb1ELb1EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE", !65, i64 0}
!65 = !{!"_ZTSSt5tupleIJPN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EEE", !66, i64 0}
!66 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EEE", !67, i64 0}
!67 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal24InternalRunDeathTestFlagELb0EE", !6, i64 0}
!68 = !{!"_ZTSSt10unique_ptrIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EE", !69, i64 0}
!69 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_ELb1ELb1EE", !70, i64 0}
!70 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EE", !71, i64 0}
!71 = !{!"_ZTSSt5tupleIJPN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EEE", !72, i64 0}
!72 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EEE", !73, i64 0}
!73 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal16DeathTestFactoryELb0EE", !6, i64 0}
!74 = !{!"_ZTSN7testing8internal11ThreadLocalISt6vectorINS0_9TraceInfoESaIS3_EEEE", !14, i64 0, !75, i64 8}
!75 = !{!"_ZTSSt10unique_ptrIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EE", !76, i64 0}
!76 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_ELb1ELb1EE", !77, i64 0}
!77 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EE", !78, i64 0}
!78 = !{!"_ZTSSt5tupleIJPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EEE", !79, i64 0}
!79 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EEE", !80, i64 0}
!80 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryELb0EE", !6, i64 0}
!81 = !{!16, !59, i64 448}
!82 = !{!16, !6, i64 8}
!83 = !{!84, !84, i64 0}
!84 = !{!"vtable pointer", !8, i64 0}
!85 = !{!59, !59, i64 0}
!86 = distinct !{!86, !87}
!87 = !{!"llvm.loop.mustprogress"}
!88 = !{!16, !59, i64 456}
!89 = distinct !{!89, !87}


; 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.std::reverse_iterator.160" = type { %"class.__gnu_cxx::__normal_iterator.162" }
%"class.__gnu_cxx::__normal_iterator.162" = type { ptr }

@_ZN7testing8internal11g_help_flagE = external dso_local local_unnamed_addr global i8, align 1
@_ZN7testing22FLAGS_gtest_list_testsE = external dso_local local_unnamed_addr global i8, align 1
@_ZN7testing23FLAGS_gtest_random_seedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN7testing18FLAGS_gtest_repeatE = external dso_local local_unnamed_addr global i32, align 4
@_ZN7testing19FLAGS_gtest_shuffleE = external dso_local local_unnamed_addr global i8, align 1
@_ZN7testingL16kTestTotalShardsE = external hidden constant [19 x i8], align 16
@_ZN7testingL15kTestShardIndexE = external hidden constant [18 x i8], align 16
@.str.260 = external hidden unnamed_addr constant [244 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7testing8internal12UnitTestImpl9listenersEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7testing18TestEventListeners8repeaterEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7testing8internal12UnitTestImpl22total_test_suite_countEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN7testing8internal15GetTimeInMillisEv() local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing4Test15HasFatalFailureEv() local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing9TestSuite3RunEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal13ColoredPrintfENS0_10GTestColorEPKcz(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal11ShouldShardEPKcS2_b(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7testing8internal12UnitTestImpl19GetMutableSuiteCaseEi(ptr noundef nonnull align 8 dereferenceable(497), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7testing8internal12UnitTestImpl11RunAllTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"class.std::reverse_iterator.160", align 8
  %3 = alloca %"class.std::reverse_iterator.160", align 8
  %4 = tail call noundef zeroext i1 @_ZN7testing8internalL18GTestIsInitializedEv()
  %5 = load i8, ptr @_ZN7testing8internal11g_help_flagE, align 1, !tbaa !5, !range !9, !noundef !10
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %137, label %7

7:                                                ; preds = %1
  tail call void @_ZN7testing8internal12UnitTestImpl19PostFlagParsingInitEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  tail call void @_ZN7testing8internal30WriteToShardStatusFileIfNeededEv()
  %8 = getelementptr inbounds i8, ptr %0, i64 464
  %9 = tail call noundef ptr @_ZNKSt10unique_ptrIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %10 = icmp ne ptr %9, null
  %11 = tail call noundef zeroext i1 @_ZN7testing8internal11ShouldShardEPKcS2_b(ptr noundef nonnull @_ZN7testingL16kTestTotalShardsE, ptr noundef nonnull @_ZN7testingL15kTestShardIndexE, i1 noundef zeroext %10)
  %not. = xor i1 %11, true
  %12 = zext i1 %not. to i32
  %13 = tail call noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(497) %0, i32 noundef %12)
  %14 = icmp sgt i32 %13, 0
  %15 = load i8, ptr @_ZN7testing22FLAGS_gtest_list_testsE, align 1, !tbaa !5, !range !9, !noundef !10
  %16 = trunc nuw i8 %15 to i1
  br i1 %16, label %17, label %18

17:                                               ; preds = %7
  tail call void @_ZN7testing8internal12UnitTestImpl23ListTestsMatchingFilterEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  br label %137

18:                                               ; preds = %7
  %19 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !5, !range !9, !noundef !10
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %24

21:                                               ; preds = %18
  %22 = load i32, ptr @_ZN7testing23FLAGS_gtest_random_seedE, align 4, !tbaa !11
  %23 = tail call noundef i32 @_ZN7testing8internal21GetRandomSeedFromFlagEi(i32 noundef %22)
  br label %24

24:                                               ; preds = %18, %21
  %25 = phi i32 [ %23, %21 ], [ 0, %18 ]
  %26 = getelementptr inbounds i8, ptr %0, i64 436
  store i32 %25, ptr %26, align 4, !tbaa !13
  %27 = tail call noundef ptr @_ZN7testing8internal12UnitTestImpl9listenersEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %28 = tail call noundef ptr @_ZN7testing18TestEventListeners8repeaterEv(ptr noundef nonnull align 8 dereferenceable(24) %27)
  %29 = tail call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %30 = getelementptr inbounds i8, ptr %0, i64 448
  store i64 %29, ptr %30, align 8, !tbaa !80
  %31 = getelementptr inbounds i8, ptr %0, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !81
  %33 = load ptr, ptr %28, align 8, !tbaa !82
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %35 = load ptr, ptr %34, align 8
  tail call void %35(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %32)
  %36 = load i32, ptr @_ZN7testing18FLAGS_gtest_repeatE, align 4
  %.fr = freeze i32 %36
  %37 = select i1 %10, i32 1, i32 %.fr
  %38 = icmp slt i32 %37, 0
  %.not = icmp eq i32 %37, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph34

.lr.ph34:                                         ; preds = %24
  %39 = getelementptr inbounds i8, ptr %0, i64 160
  %40 = getelementptr inbounds i8, ptr %0, i64 456
  br i1 %14, label %.lr.ph34.split.us, label %.lr.ph34.split

.lr.ph34.split.us:                                ; preds = %.lr.ph34, %86
  %.02833.us = phi i32 [ %87, %86 ], [ 0, %.lr.ph34 ]
  %.02932.us = phi i1 [ %spec.select.us, %86 ], [ false, %.lr.ph34 ]
  call void @_ZN7testing8internal12UnitTestImpl23ClearNonAdHocTestResultEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %41 = call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %42 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !5, !range !9, !noundef !10
  %43 = trunc nuw i8 %42 to i1
  br i1 %43, label %44, label %47

44:                                               ; preds = %.lr.ph34.split.us
  %45 = call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %46 = load i32, ptr %26, align 4, !tbaa !13
  call void @_ZN7testing8internal6Random6ReseedEj(ptr noundef nonnull align 4 dereferenceable(4) %45, i32 noundef %46)
  call void @_ZN7testing8internal12UnitTestImpl12ShuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  br label %47

47:                                               ; preds = %44, %.lr.ph34.split.us
  %48 = load ptr, ptr %31, align 8, !tbaa !81
  %49 = load ptr, ptr %28, align 8, !tbaa !82
  %50 = getelementptr inbounds i8, ptr %49, i64 24
  %51 = load ptr, ptr %50, align 8
  call void %51(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %48, i32 noundef %.02833.us)
  %52 = load ptr, ptr %31, align 8, !tbaa !81
  %53 = load ptr, ptr %28, align 8, !tbaa !82
  %54 = getelementptr inbounds i8, ptr %53, i64 32
  %55 = load ptr, ptr %54, align 8
  call void %55(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %52)
  call void @_ZN7testing8internal7ForEachISt6vectorIPNS_11EnvironmentESaIS4_EEPFvS4_EEEvRKT_T0_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull @_ZN7testing8internalL16SetUpEnvironmentEPNS_11EnvironmentE)
  %56 = load ptr, ptr %31, align 8, !tbaa !81
  %57 = load ptr, ptr %28, align 8, !tbaa !82
  %58 = getelementptr inbounds i8, ptr %57, i64 40
  %59 = load ptr, ptr %58, align 8
  call void %59(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %56)
  %60 = call noundef zeroext i1 @_ZN7testing4Test15HasFatalFailureEv()
  br i1 %60, label %.loopexit.us, label %.preheader.us

.lr.ph.us:                                        ; preds = %.preheader.us, %.lr.ph.us
  %.031.us = phi i32 [ %62, %.lr.ph.us ], [ 0, %.preheader.us ]
  %61 = call noundef ptr @_ZN7testing8internal12UnitTestImpl19GetMutableSuiteCaseEi(ptr noundef nonnull align 8 dereferenceable(497) %0, i32 noundef %.031.us)
  call void @_ZN7testing9TestSuite3RunEv(ptr noundef nonnull align 8 dereferenceable(248) %61)
  %62 = add nuw nsw i32 %.031.us, 1
  %63 = call noundef i32 @_ZNK7testing8internal12UnitTestImpl22total_test_suite_countEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %.lr.ph.us, label %.loopexit.us, !llvm.loop !84

.loopexit.us:                                     ; preds = %.lr.ph.us, %.preheader.us, %47
  %65 = load ptr, ptr %31, align 8, !tbaa !81
  %66 = load ptr, ptr %28, align 8, !tbaa !82
  %67 = getelementptr inbounds i8, ptr %66, i64 104
  %68 = load ptr, ptr %67, align 8
  call void %68(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %65)
  call void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator.160") align 8 %2, ptr noundef nonnull align 8 dereferenceable(24) %39) #4
  call void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE4rendEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator.160") align 8 %3, ptr noundef nonnull align 8 dereferenceable(24) %39) #4
  %69 = call noundef ptr @_ZSt8for_eachISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPPN7testing11EnvironmentESt6vectorIS5_SaIS5_EEEEEPFvS5_EET0_T_SF_SE_(ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull @_ZN7testing8internalL19TearDownEnvironmentEPNS_11EnvironmentE)
  %70 = load ptr, ptr %31, align 8, !tbaa !81
  %71 = load ptr, ptr %28, align 8, !tbaa !82
  %72 = getelementptr inbounds i8, ptr %71, i64 112
  %73 = load ptr, ptr %72, align 8
  call void %73(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %70)
  %74 = call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %75 = sub nsw i64 %74, %41
  store i64 %75, ptr %40, align 8, !tbaa !86
  %76 = load ptr, ptr %31, align 8, !tbaa !81
  %77 = load ptr, ptr %28, align 8, !tbaa !82
  %78 = getelementptr inbounds i8, ptr %77, i64 120
  %79 = load ptr, ptr %78, align 8
  call void %79(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %76, i32 noundef %.02833.us)
  %80 = call noundef zeroext i1 @_ZNK7testing8internal12UnitTestImpl6PassedEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %not.42 = xor i1 %80, true
  %spec.select.us = select i1 %not.42, i1 true, i1 %.02932.us
  call void @_ZN7testing8internal12UnitTestImpl14UnshuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %81 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !5, !range !9, !noundef !10
  %82 = trunc nuw i8 %81 to i1
  br i1 %82, label %83, label %86

83:                                               ; preds = %.loopexit.us
  %84 = load i32, ptr %26, align 4, !tbaa !13
  %85 = call noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef %84)
  store i32 %85, ptr %26, align 4, !tbaa !13
  br label %86

86:                                               ; preds = %83, %.loopexit.us
  %87 = add nuw nsw i32 %.02833.us, 1
  %88 = icmp ne i32 %87, %37
  %89 = select i1 %38, i1 true, i1 %88
  br i1 %89, label %.lr.ph34.split.us, label %._crit_edge, !llvm.loop !87

.preheader.us:                                    ; preds = %47
  %90 = call noundef i32 @_ZNK7testing8internal12UnitTestImpl22total_test_suite_countEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %91 = icmp sgt i32 %90, 0
  br i1 %91, label %.lr.ph.us, label %.loopexit.us

.lr.ph34.split:                                   ; preds = %.lr.ph34
  br i1 %38, label %.critedge.us, label %.critedge

.critedge.us:                                     ; preds = %.lr.ph34.split, %109
  %.02833.us35 = phi i32 [ %110, %109 ], [ 0, %.lr.ph34.split ]
  tail call void @_ZN7testing8internal12UnitTestImpl23ClearNonAdHocTestResultEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %92 = tail call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %93 = load ptr, ptr %31, align 8, !tbaa !81
  %94 = load ptr, ptr %28, align 8, !tbaa !82
  %95 = getelementptr inbounds i8, ptr %94, i64 24
  %96 = load ptr, ptr %95, align 8
  tail call void %96(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %93, i32 noundef %.02833.us35)
  %97 = tail call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %98 = sub nsw i64 %97, %92
  store i64 %98, ptr %40, align 8, !tbaa !86
  %99 = load ptr, ptr %31, align 8, !tbaa !81
  %100 = load ptr, ptr %28, align 8, !tbaa !82
  %101 = getelementptr inbounds i8, ptr %100, i64 120
  %102 = load ptr, ptr %101, align 8
  tail call void %102(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %99, i32 noundef %.02833.us35)
  %103 = tail call noundef zeroext i1 @_ZNK7testing8internal12UnitTestImpl6PassedEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  tail call void @_ZN7testing8internal12UnitTestImpl14UnshuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %104 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !5, !range !9, !noundef !10
  %105 = trunc nuw i8 %104 to i1
  br i1 %105, label %106, label %109

106:                                              ; preds = %.critedge.us
  %107 = load i32, ptr %26, align 4, !tbaa !13
  %108 = tail call noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef %107)
  store i32 %108, ptr %26, align 4, !tbaa !13
  br label %109

109:                                              ; preds = %106, %.critedge.us
  %110 = add nuw nsw i32 %.02833.us35, 1
  br label %.critedge.us

._crit_edge:                                      ; preds = %132, %86, %24
  %.029.lcssa = phi i1 [ false, %24 ], [ %spec.select.us, %86 ], [ %spec.select, %132 ]
  %111 = load ptr, ptr %31, align 8, !tbaa !81
  %112 = load ptr, ptr %28, align 8, !tbaa !82
  %113 = getelementptr inbounds i8, ptr %112, i64 128
  %114 = load ptr, ptr %113, align 8
  call void %114(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %111)
  br i1 %4, label %135, label %134

.critedge:                                        ; preds = %.lr.ph34.split, %132
  %.02833 = phi i32 [ %133, %132 ], [ 0, %.lr.ph34.split ]
  %.02932 = phi i1 [ %spec.select, %132 ], [ false, %.lr.ph34.split ]
  tail call void @_ZN7testing8internal12UnitTestImpl23ClearNonAdHocTestResultEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %115 = tail call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %116 = load ptr, ptr %31, align 8, !tbaa !81
  %117 = load ptr, ptr %28, align 8, !tbaa !82
  %118 = getelementptr inbounds i8, ptr %117, i64 24
  %119 = load ptr, ptr %118, align 8
  tail call void %119(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %116, i32 noundef %.02833)
  %120 = tail call noundef i64 @_ZN7testing8internal15GetTimeInMillisEv()
  %121 = sub nsw i64 %120, %115
  store i64 %121, ptr %40, align 8, !tbaa !86
  %122 = load ptr, ptr %31, align 8, !tbaa !81
  %123 = load ptr, ptr %28, align 8, !tbaa !82
  %124 = getelementptr inbounds i8, ptr %123, i64 120
  %125 = load ptr, ptr %124, align 8
  tail call void %125(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(72) %122, i32 noundef %.02833)
  %126 = tail call noundef zeroext i1 @_ZNK7testing8internal12UnitTestImpl6PassedEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %not.39 = xor i1 %126, true
  %spec.select = select i1 %not.39, i1 true, i1 %.02932
  tail call void @_ZN7testing8internal12UnitTestImpl14UnshuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497) %0)
  %127 = load i8, ptr @_ZN7testing19FLAGS_gtest_shuffleE, align 1, !tbaa !5, !range !9, !noundef !10
  %128 = trunc nuw i8 %127 to i1
  br i1 %128, label %129, label %132

129:                                              ; preds = %.critedge
  %130 = load i32, ptr %26, align 4, !tbaa !13
  %131 = tail call noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef %130)
  store i32 %131, ptr %26, align 4, !tbaa !13
  br label %132

132:                                              ; preds = %129, %.critedge
  %133 = add nuw nsw i32 %.02833, 1
  %.not40 = icmp eq i32 %133, %37
  br i1 %.not40, label %._crit_edge, label %.critedge, !llvm.loop !87

134:                                              ; preds = %._crit_edge
  call void (i32, ptr, ...) @_ZN7testing8internal13ColoredPrintfENS0_10GTestColorEPKcz(i32 noundef 1, ptr noundef nonnull @.str.260)
  br label %135

135:                                              ; preds = %134, %._crit_edge
  %136 = xor i1 %.029.lcssa, true
  br label %137

137:                                              ; preds = %17, %135, %1
  %.1 = phi i1 [ true, %1 ], [ true, %17 ], [ %136, %135 ]
  ret i1 %.1
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal12UnitTestImpl19PostFlagParsingInitEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN7testing8internalL18GTestIsInitializedEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal30WriteToShardStatusFileIfNeededEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(497), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal12UnitTestImpl23ListTestsMatchingFilterEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN7testing8internal21GetRandomSeedFromFlagEi(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal12UnitTestImpl23ClearNonAdHocTestResultEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal12UnitTestImpl12ShuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7testing8internalL16SetUpEnvironmentEPNS_11EnvironmentE(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZSt8for_eachISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPPN7testing11EnvironmentESt6vectorIS5_SaIS5_EEEEEPFvS5_EET0_T_SF_SE_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.160") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIPN7testing11EnvironmentESaIS2_EE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator.160") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7testing8internalL19TearDownEnvironmentEPNS_11EnvironmentE(ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal12UnitTestImpl14UnshuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(497)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN7testing8internal17GetNextRandomSeedEi(i32 noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!14, !12, i64 436}
!14 = !{!"_ZTSN7testing8internal12UnitTestImplE", !15, i64 8, !16, i64 16, !20, i64 48, !22, i64 64, !15, i64 80, !23, i64 88, !25, i64 144, !32, i64 160, !36, i64 184, !40, i64 208, !44, i64 232, !6, i64 256, !12, i64 260, !15, i64 264, !15, i64 272, !49, i64 280, !59, i64 400, !15, i64 424, !6, i64 432, !12, i64 436, !60, i64 440, !58, i64 448, !58, i64 456, !61, i64 464, !67, i64 472, !73, i64 480, !6, i64 496}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN7testing8internal8FilePathE", !17, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN7testing8internal35DefaultGlobalTestPartResultReporterE", !21, i64 0, !15, i64 8}
!21 = !{!"_ZTSN7testing31TestPartResultReporterInterfaceE"}
!22 = !{!"_ZTSN7testing8internal38DefaultPerThreadTestPartResultReporterE", !21, i64 0, !15, i64 8}
!23 = !{!"_ZTSN7testing8internal5MutexE", !24, i64 0}
!24 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !6, i64 40, !19, i64 48}
!25 = !{!"_ZTSN7testing8internal11ThreadLocalIPNS_31TestPartResultReporterInterfaceEEE", !12, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt10unique_ptrIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EE", !27, i64 0}
!27 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_ELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EE", !29, i64 0}
!29 = !{!"_ZTSSt5tupleIJPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EEE", !30, i64 0}
!30 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryESt14default_deleteIS6_EEE", !31, i64 0}
!31 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal11ThreadLocalIPNS0_31TestPartResultReporterInterfaceEE18ValueHolderFactoryELb0EE", !15, i64 0}
!32 = !{!"_ZTSSt6vectorIPN7testing11EnvironmentESaIS2_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!36 = !{!"_ZTSSt6vectorIPN7testing9TestSuiteESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN7testing9TestSuiteESaIS2_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!40 = !{!"_ZTSSt6vectorIiSaIiEE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!44 = !{!"_ZTSN7testing8internal30ParameterizedTestSuiteRegistryE", !45, i64 0}
!45 = !{!"_ZTSSt6vectorIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal30ParameterizedTestSuiteInfoBaseESaIS3_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!49 = !{!"_ZTSN7testing10TestResultE", !23, i64 0, !50, i64 56, !54, i64 80, !12, i64 104, !58, i64 112}
!50 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!54 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!58 = !{!"long long", !7, i64 0}
!59 = !{!"_ZTSN7testing18TestEventListenersE", !15, i64 0, !15, i64 8, !15, i64 16}
!60 = !{!"_ZTSN7testing8internal6RandomE", !12, i64 0}
!61 = !{!"_ZTSSt10unique_ptrIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE", !62, i64 0}
!62 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_ELb1ELb1EE", !63, i64 0}
!63 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EE", !64, i64 0}
!64 = !{!"_ZTSSt5tupleIJPN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EEE", !65, i64 0}
!65 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal24InternalRunDeathTestFlagESt14default_deleteIS2_EEE", !66, i64 0}
!66 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal24InternalRunDeathTestFlagELb0EE", !15, i64 0}
!67 = !{!"_ZTSSt10unique_ptrIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EE", !68, i64 0}
!68 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_ELb1ELb1EE", !69, i64 0}
!69 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EE", !70, i64 0}
!70 = !{!"_ZTSSt5tupleIJPN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EEE", !71, i64 0}
!71 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal16DeathTestFactoryESt14default_deleteIS2_EEE", !72, i64 0}
!72 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal16DeathTestFactoryELb0EE", !15, i64 0}
!73 = !{!"_ZTSN7testing8internal11ThreadLocalISt6vectorINS0_9TraceInfoESaIS3_EEEE", !12, i64 0, !74, i64 8}
!74 = !{!"_ZTSSt10unique_ptrIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EE", !75, i64 0}
!75 = !{!"_ZTSSt15__uniq_ptr_dataIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_ELb1ELb1EE", !76, i64 0}
!76 = !{!"_ZTSSt15__uniq_ptr_implIN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EE", !77, i64 0}
!77 = !{!"_ZTSSt5tupleIJPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EEE", !78, i64 0}
!78 = !{!"_ZTSSt11_Tuple_implILm0EJPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryESt14default_deleteIS8_EEE", !79, i64 0}
!79 = !{!"_ZTSSt10_Head_baseILm0EPN7testing8internal11ThreadLocalISt6vectorINS1_9TraceInfoESaIS4_EEE18ValueHolderFactoryELb0EE", !15, i64 0}
!80 = !{!14, !58, i64 448}
!81 = !{!14, !15, i64 8}
!82 = !{!83, !83, i64 0}
!83 = !{!"vtable pointer", !8, i64 0}
!84 = distinct !{!84, !85}
!85 = !{!"llvm.loop.mustprogress"}
!86 = !{!14, !58, i64 456}
!87 = distinct !{!87, !85}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass