; LLVM IR from NavInfoNC/nc-geo :: test/gtest (gtest-all)

; 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::__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.std::allocator" = type { i8 }
%"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.3", %"class.std::vector.8", %"class.testing::internal::ParameterizedTestCaseRegistry", 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.testing::internal::scoped_ptr.28", %"class.testing::internal::scoped_ptr.29", %"class.testing::internal::ThreadLocal.30", i8, [7 x i8] }>
%"class.testing::internal::FilePath" = type { %"class.std::__cxx11::basic_string" }
%"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, 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.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<testing::TestCase *, std::allocator<testing::TestCase *>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::TestCase *, std::allocator<testing::TestCase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::TestCase *, std::allocator<testing::TestCase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::TestCase *, std::allocator<testing::TestCase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = 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::ParameterizedTestCaseRegistry" = type { %"class.std::vector.13" }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<testing::internal::ParameterizedTestCaseInfoBase *, std::allocator<testing::internal::ParameterizedTestCaseInfoBase *>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::internal::ParameterizedTestCaseInfoBase *, std::allocator<testing::internal::ParameterizedTestCaseInfoBase *>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::internal::ParameterizedTestCaseInfoBase *, std::allocator<testing::internal::ParameterizedTestCaseInfoBase *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::internal::ParameterizedTestCaseInfoBase *, std::allocator<testing::internal::ParameterizedTestCaseInfoBase *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::TestResult" = type { %"class.testing::internal::Mutex", %"class.std::vector.18", %"class.std::vector.23", i32, i64 }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = 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.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = 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.testing::internal::scoped_ptr.28" = type { ptr }
%"class.testing::internal::scoped_ptr.29" = type { ptr }
%"class.testing::internal::ThreadLocal.30" = type { i32, %"class.std::vector.31" }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::TestInfo" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.testing::internal::scoped_ptr.48", %"class.testing::internal::scoped_ptr.48", ptr, i8, i8, i8, ptr, %"class.testing::TestResult" }
%"class.testing::internal::scoped_ptr.48" = type { ptr }

@_ZN7testing31FLAGS_gtest_also_run_full_testsE = external dso_local global i8, align 1
@_ZN7testing35FLAGS_gtest_also_run_disabled_testsE = 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
@_ZN7testingL18kDisableTestFilterE = external hidden constant [24 x i8], align 16
@_ZN7testingL15kFullTestFilterE = external hidden constant [7 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(513) %0, i32 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %25 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %26 = load i32, ptr %4, align 4, !tbaa !9
  %27 = icmp eq i32 %26, 0
  br i1 %27, label %28, label %30

28:                                               ; preds = %2
  %29 = call noundef i32 @_ZN7testing8internal17Int32FromEnvOrDieEPKci(ptr noundef @_ZN7testingL16kTestTotalShardsE, i32 noundef -1)
  br label %31

30:                                               ; preds = %2
  br label %31

31:                                               ; preds = %30, %28
  %32 = phi i32 [ %29, %28 ], [ -1, %30 ]
  store i32 %32, ptr %5, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %37

35:                                               ; preds = %31
  %36 = call noundef i32 @_ZN7testing8internal17Int32FromEnvOrDieEPKci(ptr noundef @_ZN7testingL15kTestShardIndexE, i32 noundef -1)
  br label %38

37:                                               ; preds = %31
  br label %38

38:                                               ; preds = %37, %35
  %39 = phi i32 [ %36, %35 ], [ -1, %37 ]
  store i32 %39, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  store i64 0, ptr %9, align 8, !tbaa !13
  br label %40

40:                                               ; preds = %210, %38
  %41 = load i64, ptr %9, align 8, !tbaa !13
  %42 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %25, i32 0, i32 9
  %43 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #3
  %44 = icmp ult i64 %41, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br label %215

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %47 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %25, i32 0, i32 9
  %48 = load i64, ptr %9, align 8, !tbaa !13
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %48) #3
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  store ptr %50, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #3
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(248) %51)
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %52, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %53 unwind label %64

53:                                               ; preds = %46
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  store ptr %13, ptr %12, align 8, !tbaa !5
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248) %54, i1 noundef zeroext false)
          to label %55 unwind label %68

55:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store i64 0, ptr %17, align 8, !tbaa !13
  br label %56

56:                                               ; preds = %193, %55
  %57 = load i64, ptr %17, align 8, !tbaa !13
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(248) %58)
          to label %60 unwind label %72

60:                                               ; preds = %56
  %61 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #3
  %62 = icmp ult i64 %57, %61
  br i1 %62, label %76, label %63

63:                                               ; preds = %60
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %209

64:                                               ; preds = %46
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %15, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  br label %214

68:                                               ; preds = %53
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %15, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %16, align 4
  br label %213

72:                                               ; preds = %56
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %15, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %16, align 4
  br label %208

76:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(248) %77)
          to label %79 unwind label %111

79:                                               ; preds = %76
  %80 = load i64, ptr %17, align 8, !tbaa !13
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %80) #3
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  store ptr %82, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #3
  %83 = load ptr, ptr %18, align 8, !tbaa !5
  %84 = invoke noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(224) %83)
          to label %85 unwind label %115

85:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %84, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %86 unwind label %119

86:                                               ; preds = %85
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #3
  %87 = load ptr, ptr %12, align 8, !tbaa !5
  %88 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef @_ZN7testingL18kDisableTestFilterE)
          to label %89 unwind label %123

89:                                               ; preds = %86
  br i1 %88, label %93, label %90

90:                                               ; preds = %89
  %91 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @_ZN7testingL18kDisableTestFilterE)
          to label %92 unwind label %123

92:                                               ; preds = %90
  br label %93

93:                                               ; preds = %92, %89
  %94 = phi i1 [ true, %89 ], [ %91, %92 ]
  %95 = zext i1 %94 to i8
  store i8 %95, ptr %21, align 1, !tbaa !15
  %96 = load i8, ptr @_ZN7testing31FLAGS_gtest_also_run_full_testsE, align 1, !tbaa !15, !range !17, !noundef !18
  %97 = trunc i8 %96 to i1
  br i1 %97, label %127, label %98

98:                                               ; preds = %93
  %99 = load i8, ptr %21, align 1, !tbaa !15, !range !17, !noundef !18
  %100 = trunc i8 %99 to i1
  br i1 %100, label %108, label %101

101:                                              ; preds = %98
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef @_ZN7testingL15kFullTestFilterE)
          to label %104 unwind label %123

104:                                              ; preds = %101
  br i1 %103, label %108, label %105

105:                                              ; preds = %104
  %106 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @_ZN7testingL15kFullTestFilterE)
          to label %107 unwind label %123

107:                                              ; preds = %105
  br label %108

108:                                              ; preds = %107, %104, %98
  %109 = phi i1 [ true, %104 ], [ true, %98 ], [ %106, %107 ]
  %110 = zext i1 %109 to i8
  store i8 %110, ptr %21, align 1, !tbaa !15
  br label %127

111:                                              ; preds = %76
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %15, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %16, align 4
  br label %207

115:                                              ; preds = %79
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %15, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %16, align 4
  br label %206

119:                                              ; preds = %85
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %15, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  br label %206

123:                                              ; preds = %105, %101, %90, %86
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %15, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %16, align 4
  br label %205

127:                                              ; preds = %108, %93
  %128 = load i8, ptr %21, align 1, !tbaa !15, !range !17, !noundef !18
  %129 = trunc i8 %128 to i1
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = getelementptr inbounds %"class.testing::TestInfo", ptr %130, i32 0, i32 6
  %132 = zext i1 %129 to i8
  store i8 %132, ptr %131, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #3
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %135 unwind label %196

135:                                              ; preds = %127
  %136 = zext i1 %134 to i8
  store i8 %136, ptr %22, align 1, !tbaa !15
  %137 = load i8, ptr %22, align 1, !tbaa !15, !range !17, !noundef !18
  %138 = trunc i8 %137 to i1
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = getelementptr inbounds %"class.testing::TestInfo", ptr %139, i32 0, i32 7
  %141 = zext i1 %138 to i8
  store i8 %141, ptr %140, align 2, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #3
  %142 = load i8, ptr @_ZN7testing35FLAGS_gtest_also_run_disabled_testsE, align 1, !tbaa !15, !range !17, !noundef !18
  %143 = trunc i8 %142 to i1
  br i1 %143, label %147, label %144

144:                                              ; preds = %135
  %145 = load i8, ptr %21, align 1, !tbaa !15, !range !17, !noundef !18
  %146 = trunc i8 %145 to i1
  br i1 %146, label %150, label %147

147:                                              ; preds = %144, %135
  %148 = load i8, ptr %22, align 1, !tbaa !15, !range !17, !noundef !18
  %149 = trunc i8 %148 to i1
  br label %150

150:                                              ; preds = %147, %144
  %151 = phi i1 [ false, %144 ], [ %149, %147 ]
  %152 = zext i1 %151 to i8
  store i8 %152, ptr %23, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #3
  %153 = load i8, ptr %23, align 1, !tbaa !15, !range !17, !noundef !18
  %154 = trunc i8 %153 to i1
  br i1 %154, label %155, label %165

155:                                              ; preds = %150
  %156 = load i32, ptr %4, align 4, !tbaa !9
  %157 = icmp eq i32 %156, 1
  br i1 %157, label %163, label %158

158:                                              ; preds = %155
  %159 = load i32, ptr %5, align 4, !tbaa !11
  %160 = load i32, ptr %6, align 4, !tbaa !11
  %161 = load i32, ptr %7, align 4, !tbaa !11
  %162 = call noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef %159, i32 noundef %160, i32 noundef %161)
  br label %163

163:                                              ; preds = %158, %155
  %164 = phi i1 [ true, %155 ], [ %162, %158 ]
  br label %165

165:                                              ; preds = %163, %150
  %166 = phi i1 [ false, %150 ], [ %164, %163 ]
  %167 = zext i1 %166 to i8
  store i8 %167, ptr %24, align 1, !tbaa !15
  %168 = load i8, ptr %23, align 1, !tbaa !15, !range !17, !noundef !18
  %169 = trunc i8 %168 to i1
  %170 = zext i1 %169 to i32
  %171 = load i32, ptr %7, align 4, !tbaa !11
  %172 = add nsw i32 %171, %170
  store i32 %172, ptr %7, align 4, !tbaa !11
  %173 = load i8, ptr %24, align 1, !tbaa !15, !range !17, !noundef !18
  %174 = trunc i8 %173 to i1
  %175 = zext i1 %174 to i32
  %176 = load i32, ptr %8, align 4, !tbaa !11
  %177 = add nsw i32 %176, %175
  store i32 %177, ptr %8, align 4, !tbaa !11
  %178 = load i8, ptr %24, align 1, !tbaa !15, !range !17, !noundef !18
  %179 = trunc i8 %178 to i1
  %180 = load ptr, ptr %18, align 8, !tbaa !5
  %181 = getelementptr inbounds %"class.testing::TestInfo", ptr %180, i32 0, i32 5
  %182 = zext i1 %179 to i8
  store i8 %182, ptr %181, align 8, !tbaa !37
  %183 = load ptr, ptr %11, align 8, !tbaa !5
  %184 = load ptr, ptr %11, align 8, !tbaa !5
  %185 = invoke noundef zeroext i1 @_ZNK7testing8TestCase10should_runEv(ptr noundef nonnull align 8 dereferenceable(248) %184)
          to label %186 unwind label %200

186:                                              ; preds = %165
  br i1 %185, label %190, label %187

187:                                              ; preds = %186
  %188 = load i8, ptr %24, align 1, !tbaa !15, !range !17, !noundef !18
  %189 = trunc i8 %188 to i1
  br label %190

190:                                              ; preds = %187, %186
  %191 = phi i1 [ true, %186 ], [ %189, %187 ]
  invoke void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248) %183, i1 noundef zeroext %191)
          to label %192 unwind label %200

192:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %193

193:                                              ; preds = %192
  %194 = load i64, ptr %17, align 8, !tbaa !13
  %195 = add i64 %194, 1
  store i64 %195, ptr %17, align 8, !tbaa !13
  br label %56, !llvm.loop !38

196:                                              ; preds = %127
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %15, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %16, align 4
  br label %204

200:                                              ; preds = %190, %165
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %15, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #3
  br label %204

204:                                              ; preds = %200, %196
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #3
  br label %205

205:                                              ; preds = %204, %123
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #3
  br label %206

206:                                              ; preds = %205, %119, %115
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #3
  br label %207

207:                                              ; preds = %206, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  br label %208

208:                                              ; preds = %207, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %213

209:                                              ; preds = %63
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  br label %210

210:                                              ; preds = %209
  %211 = load i64, ptr %9, align 8, !tbaa !13
  %212 = add i64 %211, 1
  store i64 %212, ptr %9, align 8, !tbaa !13
  br label %40, !llvm.loop !40

213:                                              ; preds = %208, %68
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #3
  br label %214

214:                                              ; preds = %213, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %217

215:                                              ; preds = %45
  %216 = load i32, ptr %8, align 4, !tbaa !11
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  ret i32 %216

217:                                              ; preds = %214
  %218 = load ptr, ptr %15, align 8
  %219 = load i32, ptr %16, align 4
  %220 = insertvalue { ptr, i32 } poison, ptr %218, 0
  %221 = insertvalue { ptr, i32 } %220, i32 %219, 1
  resume { ptr, i32 } %221
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef, i32 noundef, i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248), i1 noundef zeroext) #1 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"_ZTSN7testing8internal12UnitTestImpl18ReactionToShardingE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!20, !16, i64 89}
!20 = !{!"_ZTSN7testing8TestInfoE", !21, i64 0, !21, i64 32, !23, i64 64, !23, i64 72, !6, i64 80, !16, i64 88, !16, i64 89, !16, i64 90, !6, i64 96, !24, i64 104}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !14, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"_ZTSN7testing8internal10scoped_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0}
!24 = !{!"_ZTSN7testing10TestResultE", !25, i64 0, !27, i64 56, !31, i64 80, !12, i64 104, !35, i64 112}
!25 = !{!"_ZTSN7testing8internal5MutexE", !26, i64 0}
!26 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !16, i64 40, !14, i64 48}
!27 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = !{!"long long", !7, i64 0}
!36 = !{!20, !16, i64 90}
!37 = !{!20, !16, i64 88}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}


; 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::__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.std::allocator" = type { i8 }

@_ZN7testing31FLAGS_gtest_also_run_full_testsE = external dso_local local_unnamed_addr global i8, align 1
@_ZN7testing35FLAGS_gtest_also_run_disabled_testsE = 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
@_ZN7testingL18kDisableTestFilterE = external hidden constant [24 x i8], align 16
@_ZN7testingL15kFullTestFilterE = external hidden constant [7 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(513) %0, i32 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = icmp eq i32 %1, 0
  br i1 %7, label %8, label %11

8:                                                ; preds = %2
  %9 = tail call noundef i32 @_ZN7testing8internal17Int32FromEnvOrDieEPKci(ptr noundef nonnull @_ZN7testingL16kTestTotalShardsE, i32 noundef -1)
  %10 = tail call noundef i32 @_ZN7testing8internal17Int32FromEnvOrDieEPKci(ptr noundef nonnull @_ZN7testingL15kTestShardIndexE, i32 noundef -1)
  br label %11

11:                                               ; preds = %2, %8
  %12 = phi i32 [ %9, %8 ], [ -1, %2 ]
  %13 = phi i32 [ %10, %8 ], [ -1, %2 ]
  %14 = getelementptr inbounds i8, ptr %0, i64 184
  %15 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %._crit_edge76, label %.lr.ph75

.lr.ph75:                                         ; preds = %11
  %16 = icmp ne i32 %1, 1
  br label %17

._crit_edge76:                                    ; preds = %._crit_edge, %11
  %.040.lcssa = phi i32 [ 0, %11 ], [ %.141.lcssa, %._crit_edge ]
  ret i32 %.040.lcssa

17:                                               ; preds = %.lr.ph75, %._crit_edge
  %.073 = phi i32 [ 0, %.lr.ph75 ], [ %.1.lcssa, %._crit_edge ]
  %.04072 = phi i32 [ 0, %.lr.ph75 ], [ %.141.lcssa, %._crit_edge ]
  %.04271 = phi i64 [ 0, %.lr.ph75 ], [ %24, %._crit_edge ]
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %.04271) #3
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #3
  %20 = call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %20, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %21 unwind label %27

21:                                               ; preds = %17
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  call void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248) %19, i1 noundef zeroext false)
  %22 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
  %23 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #3
  %.not80 = icmp eq i64 %23, 0
  br i1 %.not80, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %60, %21
  %.141.lcssa = phi i32 [ %.04072, %21 ], [ %66, %60 ]
  %.1.lcssa = phi i32 [ %.073, %21 ], [ %64, %60 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  %24 = add nuw i64 %.04271, 1
  %25 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  %26 = icmp ult i64 %24, %25
  br i1 %26, label %17, label %._crit_edge76, !llvm.loop !9

27:                                               ; preds = %17
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3
  br label %78

.lr.ph:                                           ; preds = %21, %60
  %.169 = phi i32 [ %64, %60 ], [ %.073, %21 ]
  %.14168 = phi i32 [ %66, %60 ], [ %.04072, %21 ]
  %.04467 = phi i64 [ %70, %60 ], [ 0, %21 ]
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %.04467) #3
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #3
  %32 = call noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(224) %31)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %32, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %33 unwind label %46

33:                                               ; preds = %.lr.ph
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  %34 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @_ZN7testingL18kDisableTestFilterE)
          to label %35 unwind label %48

35:                                               ; preds = %33
  br i1 %34, label %.thread54, label %36

36:                                               ; preds = %35
  %37 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @_ZN7testingL18kDisableTestFilterE)
          to label %38 unwind label %48

38:                                               ; preds = %36
  %39 = load i8, ptr @_ZN7testing31FLAGS_gtest_also_run_full_testsE, align 1, !tbaa !11, !range !13, !noundef !14
  %40 = trunc nuw i8 %39 to i1
  %brmerge53 = or i1 %37, %40
  %not. = xor i1 %40, true
  %.mux = or i1 %37, %not.
  br i1 %brmerge53, label %.thread54, label %41

41:                                               ; preds = %38
  %42 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @_ZN7testingL15kFullTestFilterE)
          to label %43 unwind label %48

43:                                               ; preds = %41
  br i1 %42, label %.thread54, label %44

44:                                               ; preds = %43
  %45 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @_ZN7testingL15kFullTestFilterE)
          to label %.thread54 unwind label %48

46:                                               ; preds = %.lr.ph
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  br label %77

48:                                               ; preds = %44, %41, %36, %33
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %76

.thread54:                                        ; preds = %35, %38, %43, %44
  %.043.in = phi i1 [ %.mux, %38 ], [ true, %43 ], [ %45, %44 ], [ true, %35 ]
  %50 = getelementptr inbounds i8, ptr %31, i64 89
  %51 = zext i1 %.043.in to i8
  store i8 %51, ptr %50, align 1, !tbaa !15
  %52 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %53 unwind label %74

53:                                               ; preds = %.thread54
  %54 = zext i1 %52 to i8
  %55 = getelementptr inbounds i8, ptr %31, i64 90
  store i8 %54, ptr %55, align 2, !tbaa !34
  %56 = load i8, ptr @_ZN7testing35FLAGS_gtest_also_run_disabled_testsE, align 1, !tbaa !11, !range !13, !noundef !14
  %57 = trunc nuw i8 %56 to i1
  %.043.in.not = xor i1 %.043.in, true
  %brmerge = or i1 %.043.in.not, %57
  %spec.select = and i1 %52, %brmerge
  %brmerge78.not = and i1 %16, %spec.select
  br i1 %brmerge78.not, label %58, label %60

58:                                               ; preds = %53
  %59 = call noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef %12, i32 noundef %13, i32 noundef %.169)
  br label %60

60:                                               ; preds = %53, %58
  %61 = phi i1 [ %spec.select, %53 ], [ %59, %58 ]
  %62 = zext i1 %61 to i8
  %63 = zext i1 %spec.select to i32
  %64 = add nsw i32 %.169, %63
  %65 = zext i1 %61 to i32
  %66 = add nsw i32 %.14168, %65
  %67 = getelementptr inbounds i8, ptr %31, i64 88
  store i8 %62, ptr %67, align 8, !tbaa !35
  %68 = call noundef zeroext i1 @_ZNK7testing8TestCase10should_runEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
  %69 = or i1 %61, %68
  call void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248) %19, i1 noundef zeroext %69)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
  %70 = add nuw i64 %.04467, 1
  %71 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(248) %19)
  %72 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #3
  %73 = icmp ult i64 %70, %72
  br i1 %73, label %.lr.ph, label %._crit_edge, !llvm.loop !36

74:                                               ; preds = %.thread54
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %76

76:                                               ; preds = %74, %48
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %49, %48 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br label %77

77:                                               ; preds = %76, %46
  %.pn.pn = phi { ptr, i32 } [ %.pn, %76 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #3
  br label %78

78:                                               ; preds = %77, %27
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %77 ], [ %28, %27 ]
  resume { ptr, i32 } %.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(248), i1 noundef zeroext) local_unnamed_addr #1 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !12, i64 89}
!16 = !{!"_ZTSN7testing8TestInfoE", !17, i64 0, !17, i64 32, !20, i64 64, !20, i64 72, !6, i64 80, !12, i64 88, !12, i64 89, !12, i64 90, !6, i64 96, !21, i64 104}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN7testing8internal10scoped_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0}
!21 = !{!"_ZTSN7testing10TestResultE", !22, i64 0, !24, i64 56, !28, i64 80, !32, i64 104, !33, i64 112}
!22 = !{!"_ZTSN7testing8internal5MutexE", !23, i64 0}
!23 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !12, i64 40, !19, i64 48}
!24 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"int", !7, i64 0}
!33 = !{!"long long", !7, i64 0}
!34 = !{!16, !12, i64 90}
!35 = !{!16, !12, i64 88}
!36 = distinct !{!36, !10}


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