; LLVM IR from pictools/pica :: test/gtest/fused-src/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.testing::internal::String" = type { ptr, i64 }
%"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.0", %"class.std::vector.5", %"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, %"class.testing::internal::scoped_ptr.25", %"class.testing::internal::scoped_ptr.26", %"class.testing::internal::ThreadLocal.27", i8, [7 x i8] }>
%"class.testing::internal::FilePath" = type { %"class.testing::internal::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, 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.15", %"class.std::vector.20", i32, i64 }
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = 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.20" = type { %"struct.std::_Vector_base.21" }
%"struct.std::_Vector_base.21" = 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.25" = type { ptr }
%"class.testing::internal::scoped_ptr.26" = type { ptr }
%"class.testing::internal::ThreadLocal.27" = type { i32, %"class.std::vector.28" }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = 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.42", %"class.testing::internal::scoped_ptr.42", ptr, i8, i8, i8, ptr, %"class.testing::TestResult" }
%"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::scoped_ptr.42" = type { ptr }

@_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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNS0_6StringES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #0 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(216)) #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) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %1) #0 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.testing::internal::String", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.testing::internal::String", align 8
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %23 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %28

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

28:                                               ; preds = %2
  br label %29

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

33:                                               ; preds = %29
  %34 = call noundef i32 @_ZN7testing8internal17Int32FromEnvOrDieEPKci(ptr noundef @_ZN7testingL15kTestShardIndexE, i32 noundef -1)
  br label %36

35:                                               ; preds = %29
  br label %36

36:                                               ; preds = %35, %33
  %37 = phi i32 [ %34, %33 ], [ -1, %35 ]
  store i32 %37, 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 %38

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

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

44:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %45 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %23, i32 0, i32 9
  %46 = load i64, ptr %9, align 8, !tbaa !13
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %46) #3
  %48 = load ptr, ptr %47, align 8, !tbaa !5
  store ptr %48, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #3
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %49)
  call void @_ZN7testing8internal6StringC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %50)
  store ptr %13, ptr %12, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(112) %51, i1 noundef zeroext false)
          to label %52 unwind label %61

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

53:                                               ; preds = %154, %52
  %54 = load i64, ptr %16, align 8, !tbaa !13
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %55)
          to label %57 unwind label %65

57:                                               ; preds = %53
  %58 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #3
  %59 = icmp ult i64 %54, %58
  br i1 %59, label %69, label %60

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

61:                                               ; preds = %44
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %14, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %15, align 4
  br label %186

65:                                               ; preds = %53
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %14, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %15, align 4
  br label %181

69:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %72 unwind label %157

72:                                               ; preds = %69
  %73 = load i64, ptr %16, align 8, !tbaa !13
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %71, i64 noundef %73) #3
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  store ptr %75, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #3
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  %77 = invoke noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(216) %76)
          to label %78 unwind label %161

78:                                               ; preds = %72
  invoke void @_ZN7testing8internal6StringC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %77)
          to label %79 unwind label %161

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #3
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNS0_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef @_ZN7testingL18kDisableTestFilterE)
          to label %82 unwind label %165

82:                                               ; preds = %79
  br i1 %81, label %86, label %83

83:                                               ; preds = %82
  %84 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNS0_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef @_ZN7testingL18kDisableTestFilterE)
          to label %85 unwind label %165

85:                                               ; preds = %83
  br label %86

86:                                               ; preds = %85, %82
  %87 = phi i1 [ true, %82 ], [ %84, %85 ]
  %88 = zext i1 %87 to i8
  store i8 %88, ptr %19, align 1, !tbaa !15
  %89 = load i8, ptr %19, align 1, !tbaa !15, !range !17, !noundef !18
  %90 = trunc i8 %89 to i1
  %91 = load ptr, ptr %17, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.testing::TestInfo", ptr %91, i32 0, i32 6
  %93 = zext i1 %90 to i8
  store i8 %93, ptr %92, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNS0_6StringES4_(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %96 unwind label %169

96:                                               ; preds = %86
  %97 = zext i1 %95 to i8
  store i8 %97, ptr %20, align 1, !tbaa !15
  %98 = load i8, ptr %20, align 1, !tbaa !15, !range !17, !noundef !18
  %99 = trunc i8 %98 to i1
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = getelementptr inbounds %"class.testing::TestInfo", ptr %100, i32 0, i32 7
  %102 = zext i1 %99 to i8
  store i8 %102, ptr %101, align 2, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #3
  %103 = load i8, ptr @_ZN7testing35FLAGS_gtest_also_run_disabled_testsE, align 1, !tbaa !15, !range !17, !noundef !18
  %104 = trunc i8 %103 to i1
  br i1 %104, label %108, label %105

105:                                              ; preds = %96
  %106 = load i8, ptr %19, align 1, !tbaa !15, !range !17, !noundef !18
  %107 = trunc i8 %106 to i1
  br i1 %107, label %111, label %108

108:                                              ; preds = %105, %96
  %109 = load i8, ptr %20, align 1, !tbaa !15, !range !17, !noundef !18
  %110 = trunc i8 %109 to i1
  br label %111

111:                                              ; preds = %108, %105
  %112 = phi i1 [ false, %105 ], [ %110, %108 ]
  %113 = zext i1 %112 to i8
  store i8 %113, ptr %21, align 1, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #3
  %114 = load i8, ptr %21, align 1, !tbaa !15, !range !17, !noundef !18
  %115 = trunc i8 %114 to i1
  br i1 %115, label %116, label %126

116:                                              ; preds = %111
  %117 = load i32, ptr %4, align 4, !tbaa !9
  %118 = icmp eq i32 %117, 1
  br i1 %118, label %124, label %119

119:                                              ; preds = %116
  %120 = load i32, ptr %5, align 4, !tbaa !11
  %121 = load i32, ptr %6, align 4, !tbaa !11
  %122 = load i32, ptr %7, align 4, !tbaa !11
  %123 = call noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef %120, i32 noundef %121, i32 noundef %122)
  br label %124

124:                                              ; preds = %119, %116
  %125 = phi i1 [ true, %116 ], [ %123, %119 ]
  br label %126

126:                                              ; preds = %124, %111
  %127 = phi i1 [ false, %111 ], [ %125, %124 ]
  %128 = zext i1 %127 to i8
  store i8 %128, ptr %22, align 1, !tbaa !15
  %129 = load i8, ptr %21, align 1, !tbaa !15, !range !17, !noundef !18
  %130 = trunc i8 %129 to i1
  %131 = zext i1 %130 to i32
  %132 = load i32, ptr %7, align 4, !tbaa !11
  %133 = add nsw i32 %132, %131
  store i32 %133, ptr %7, align 4, !tbaa !11
  %134 = load i8, ptr %22, align 1, !tbaa !15, !range !17, !noundef !18
  %135 = trunc i8 %134 to i1
  %136 = zext i1 %135 to i32
  %137 = load i32, ptr %8, align 4, !tbaa !11
  %138 = add nsw i32 %137, %136
  store i32 %138, ptr %8, align 4, !tbaa !11
  %139 = load i8, ptr %22, align 1, !tbaa !15, !range !17, !noundef !18
  %140 = trunc i8 %139 to i1
  %141 = load ptr, ptr %17, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.testing::TestInfo", ptr %141, i32 0, i32 5
  %143 = zext i1 %140 to i8
  store i8 %143, ptr %142, align 8, !tbaa !37
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = invoke noundef zeroext i1 @_ZNK7testing8TestCase10should_runEv(ptr noundef nonnull align 8 dereferenceable(112) %145)
          to label %147 unwind label %173

147:                                              ; preds = %126
  br i1 %146, label %151, label %148

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

151:                                              ; preds = %148, %147
  %152 = phi i1 [ true, %147 ], [ %150, %148 ]
  invoke void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(112) %144, i1 noundef zeroext %152)
          to label %153 unwind label %173

153:                                              ; preds = %151
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %154

154:                                              ; preds = %153
  %155 = load i64, ptr %16, align 8, !tbaa !13
  %156 = add i64 %155, 1
  store i64 %156, ptr %16, align 8, !tbaa !13
  br label %53, !llvm.loop !38

157:                                              ; preds = %69
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %14, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %15, align 4
  br label %180

161:                                              ; preds = %78, %72
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %14, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %15, align 4
  br label %179

165:                                              ; preds = %83, %79
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %14, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %15, align 4
  br label %178

169:                                              ; preds = %86
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %14, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %15, align 4
  br label %177

173:                                              ; preds = %151, %126
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %14, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  br label %177

177:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  br label %178

178:                                              ; preds = %177, %165
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #3
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #3
  br label %179

179:                                              ; preds = %178, %161
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #3
  br label %180

180:                                              ; preds = %179, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %181

181:                                              ; preds = %180, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  br label %186

182:                                              ; preds = %60
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #3
  call void @llvm.lifetime.end.p0(i64 16, 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 %183

183:                                              ; preds = %182
  %184 = load i64, ptr %9, align 8, !tbaa !13
  %185 = add i64 %184, 1
  store i64 %185, ptr %9, align 8, !tbaa !13
  br label %38, !llvm.loop !40

186:                                              ; preds = %181, %61
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #3
  call void @llvm.lifetime.end.p0(i64 16, 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
  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 %189

187:                                              ; preds = %43
  %188 = 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 %188

189:                                              ; preds = %186
  %190 = load ptr, ptr %14, align 8
  %191 = load i32, ptr %15, align 4
  %192 = insertvalue { ptr, i32 } poison, ptr %190, 0
  %193 = insertvalue { ptr, i32 } %192, i32 %191, 1
  resume { ptr, i32 } %193
}

; 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(112), 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(112)) #1 align 2

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 48, !31, i64 72, !12, i64 96, !35, i64 104}
!25 = !{!"_ZTSN7testing8internal5MutexE", !26, i64 0}
!26 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !14, i64 40}
!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.testing::internal::String" = type { ptr, i64 }

@_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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNS0_6StringES4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 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(216)) 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 #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(112)) 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(112)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN7testing8internal12UnitTestImpl11FilterTestsENS1_18ReactionToShardingE(ptr noundef nonnull align 8 dereferenceable(473) %0, i32 noundef %1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.testing::internal::String", align 8
  %4 = alloca %"class.testing::internal::String", align 8
  %5 = icmp eq i32 %1, 0
  br i1 %5, label %6, label %9

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

9:                                                ; preds = %2, %6
  %10 = phi i32 [ %7, %6 ], [ -1, %2 ]
  %11 = phi i32 [ %8, %6 ], [ -1, %2 ]
  %12 = getelementptr inbounds i8, ptr %0, i64 160
  %13 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %.not69 = icmp eq i64 %13, 0
  br i1 %.not69, label %._crit_edge66, label %.lr.ph65

.lr.ph65:                                         ; preds = %9
  %14 = icmp ne i32 %1, 1
  br label %15

._crit_edge66:                                    ; preds = %._crit_edge, %9
  %.038.lcssa = phi i32 [ 0, %9 ], [ %.139.lcssa, %._crit_edge ]
  ret i32 %.038.lcssa

15:                                               ; preds = %.lr.ph65, %._crit_edge
  %.063 = phi i32 [ 0, %.lr.ph65 ], [ %.1.lcssa, %._crit_edge ]
  %.03862 = phi i32 [ 0, %.lr.ph65 ], [ %.139.lcssa, %._crit_edge ]
  %.04061 = phi i64 [ 0, %.lr.ph65 ], [ %21, %._crit_edge ]
  %16 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %.04061) #3
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #3
  %18 = call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %17)
  call void @_ZN7testing8internal6StringC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef %18)
  call void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(112) %17, i1 noundef zeroext false)
  %19 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %17)
  %20 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #3
  %.not70 = icmp eq i64 %20, 0
  br i1 %.not70, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %45, %15
  %.139.lcssa = phi i32 [ %.03862, %15 ], [ %51, %45 ]
  %.1.lcssa = phi i32 [ %.063, %15 ], [ %49, %45 ]
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  %21 = add nuw i64 %.04061, 1
  %22 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #3
  %23 = icmp ult i64 %21, %22
  br i1 %23, label %15, label %._crit_edge66, !llvm.loop !9

.lr.ph:                                           ; preds = %15, %45
  %.159 = phi i32 [ %49, %45 ], [ %.063, %15 ]
  %.13958 = phi i32 [ %51, %45 ], [ %.03862, %15 ]
  %.04357 = phi i64 [ %55, %45 ], [ 0, %15 ]
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %17)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.04357) #3
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #3
  %27 = call noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(216) %26)
  invoke void @_ZN7testing8internal6StringC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %27)
          to label %28 unwind label %59

28:                                               ; preds = %.lr.ph
  %29 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNS0_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull @_ZN7testingL18kDisableTestFilterE)
          to label %30 unwind label %61

30:                                               ; preds = %28
  br i1 %29, label %33, label %31

31:                                               ; preds = %30
  %32 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions13MatchesFilterERKNS0_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @_ZN7testingL18kDisableTestFilterE)
          to label %33 unwind label %61

33:                                               ; preds = %31, %30
  %34 = phi i1 [ true, %30 ], [ %32, %31 ]
  %35 = zext i1 %34 to i8
  %36 = getelementptr inbounds i8, ptr %26, i64 89
  store i8 %35, ptr %36, align 1, !tbaa !11
  %37 = invoke noundef zeroext i1 @_ZN7testing8internal15UnitTestOptions17FilterMatchesTestERKNS0_6StringES4_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %38 unwind label %63

38:                                               ; preds = %33
  %39 = zext i1 %37 to i8
  %40 = getelementptr inbounds i8, ptr %26, i64 90
  store i8 %39, ptr %40, align 2, !tbaa !31
  %41 = load i8, ptr @_ZN7testing35FLAGS_gtest_also_run_disabled_testsE, align 1, !tbaa !32, !range !33, !noundef !34
  %42 = trunc nuw i8 %41 to i1
  %.not = xor i1 %34, true
  %brmerge = or i1 %.not, %42
  %spec.select = and i1 %37, %brmerge
  %brmerge68.not = and i1 %14, %spec.select
  br i1 %brmerge68.not, label %43, label %45

43:                                               ; preds = %38
  %44 = call noundef zeroext i1 @_ZN7testing8internal20ShouldRunTestOnShardEiii(i32 noundef %10, i32 noundef %11, i32 noundef %.159)
  br label %45

45:                                               ; preds = %38, %43
  %46 = phi i1 [ %spec.select, %38 ], [ %44, %43 ]
  %47 = zext i1 %46 to i8
  %48 = zext i1 %spec.select to i32
  %49 = add nsw i32 %.159, %48
  %50 = zext i1 %46 to i32
  %51 = add nsw i32 %.13958, %50
  %52 = getelementptr inbounds i8, ptr %26, i64 88
  store i8 %47, ptr %52, align 8, !tbaa !35
  %53 = call noundef zeroext i1 @_ZNK7testing8TestCase10should_runEv(ptr noundef nonnull align 8 dereferenceable(112) %17)
  %54 = or i1 %46, %53
  call void @_ZN7testing8TestCase14set_should_runEb(ptr noundef nonnull align 8 dereferenceable(112) %17, i1 noundef zeroext %54)
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  %55 = add nuw i64 %.04357, 1
  %56 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %17)
  %57 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #3
  %58 = icmp ult i64 %55, %57
  br i1 %58, label %.lr.ph, label %._crit_edge, !llvm.loop !36

59:                                               ; preds = %.lr.ph
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %66

61:                                               ; preds = %31, %28
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %65

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

65:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #3
  br label %66

66:                                               ; preds = %65, %59
  %.pn.pn = phi { ptr, i32 } [ %.pn, %65 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #3
  call void @_ZN7testing8internal6StringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #3
  resume { ptr, i32 } %.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(112), 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(112)) local_unnamed_addr #1 align 2

attributes #0 = { 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 #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !17, i64 89}
!12 = !{!"_ZTSN7testing8TestInfoE", !13, i64 0, !13, i64 32, !16, i64 64, !16, i64 72, !6, i64 80, !17, i64 88, !17, i64 89, !17, i64 90, !6, i64 96, !18, i64 104}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSN7testing8internal10scoped_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN7testing10TestResultE", !19, i64 0, !21, i64 48, !25, i64 72, !29, i64 96, !30, i64 104}
!19 = !{!"_ZTSN7testing8internal5MutexE", !20, i64 0}
!20 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !15, i64 40}
!21 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"int", !7, i64 0}
!30 = !{!"long long", !7, i64 0}
!31 = !{!12, !17, i64 90}
!32 = !{!17, !17, i64 0}
!33 = !{i8 0, i8 2}
!34 = !{}
!35 = !{!12, !17, 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