; 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::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::String" = type { ptr, i64 }
%"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 }

@stdout = external global ptr, align 8
@.str.163 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #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

declare i32 @printf(ptr noundef, ...) #2

declare i32 @fflush(ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing8internal12UnitTestImpl23ListTestsMatchingFilterEv(ptr noundef nonnull align 8 dereferenceable(473) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i64, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %9 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %10

10:                                               ; preds = %54, %1
  %11 = load i64, ptr %3, align 8, !tbaa !9
  %12 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %9, i32 0, i32 9
  %13 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #4
  %14 = icmp ult i64 %11, %13
  br i1 %14, label %16, label %15

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

16:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %17 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %9, i32 0, i32 9
  %18 = load i64, ptr %3, align 8, !tbaa !9
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %18) #4
  %20 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %20, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  store i8 0, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %50, %16
  %22 = load i64, ptr %7, align 8, !tbaa !9
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %23)
  %25 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  %26 = icmp ult i64 %22, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %21
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %53

28:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %29)
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %31) #4
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %33, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.testing::TestInfo", ptr %34, i32 0, i32 7
  %36 = load i8, ptr %35, align 2, !tbaa !13, !range !31, !noundef !32
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %49

38:                                               ; preds = %28
  %39 = load i8, ptr %6, align 1, !tbaa !11, !range !31, !noundef !32
  %40 = trunc i8 %39 to i1
  br i1 %40, label %45, label %41

41:                                               ; preds = %38
  store i8 1, ptr %6, align 1, !tbaa !11
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %42)
  %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.163, ptr noundef %43)
  br label %45

45:                                               ; preds = %41, %38
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = call noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(216) %46)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.229, ptr noundef %47)
  br label %49

49:                                               ; preds = %45, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %50

50:                                               ; preds = %49
  %51 = load i64, ptr %7, align 8, !tbaa !9
  %52 = add i64 %51, 1
  store i64 %52, ptr %7, align 8, !tbaa !9
  br label %21, !llvm.loop !33

53:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %54

54:                                               ; preds = %53
  %55 = load i64, ptr %3, align 8, !tbaa !9
  %56 = add i64 %55, 1
  store i64 %56, ptr %3, align 8, !tbaa !9
  br label %10, !llvm.loop !35

57:                                               ; preds = %15
  %58 = load ptr, ptr @stdout, align 8, !tbaa !5
  %59 = call i32 @fflush(ptr noundef %58)
  ret void
}

; 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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !12, i64 90}
!14 = !{!"_ZTSN7testing8TestInfoE", !15, i64 0, !15, i64 32, !17, i64 64, !17, i64 72, !6, i64 80, !12, i64 88, !12, i64 89, !12, i64 90, !6, i64 96, !18, i64 104}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !10, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"_ZTSN7testing8internal10scoped_ptrIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !6, 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, !10, 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 = !{i8 0, i8 2}
!32 = !{}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}


; 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"

@stdout = external local_unnamed_addr global ptr, align 8
@.str.163 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7testing8internal12UnitTestImpl23ListTestsMatchingFilterEv(ptr noundef nonnull align 8 dereferenceable(473) %0) local_unnamed_addr #0 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 160
  %3 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge19, label %.lr.ph18

._crit_edge19:                                    ; preds = %._crit_edge, %1
  %4 = load ptr, ptr @stdout, align 8, !tbaa !5
  %5 = tail call i32 @fflush(ptr noundef %4)
  ret void

.lr.ph18:                                         ; preds = %1, %._crit_edge
  %.016 = phi i64 [ %10, %._crit_edge ], [ 0, %1 ]
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.016) #2
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %7)
  %9 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #2
  %.not20 = icmp eq i64 %9, 0
  br i1 %.not20, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %26, %.lr.ph18
  %10 = add nuw i64 %.016, 1
  %11 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #2
  %12 = icmp ult i64 %10, %11
  br i1 %12, label %.lr.ph18, label %._crit_edge19, !llvm.loop !9

.lr.ph:                                           ; preds = %.lr.ph18, %26
  %.01215 = phi i64 [ %27, %26 ], [ 0, %.lr.ph18 ]
  %.01314 = phi i1 [ %.2, %26 ], [ false, %.lr.ph18 ]
  %13 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %7)
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %.01215) #2
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 90
  %17 = load i8, ptr %16, align 2, !tbaa !11, !range !31, !noundef !32
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %26

19:                                               ; preds = %.lr.ph
  br i1 %.01314, label %23, label %20

20:                                               ; preds = %19
  %21 = tail call noundef ptr @_ZNK7testing8TestCase4nameEv(ptr noundef nonnull align 8 dereferenceable(112) %7)
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.163, ptr noundef %21)
  br label %23

23:                                               ; preds = %20, %19
  %24 = tail call noundef ptr @_ZNK7testing8TestInfo4nameEv(ptr noundef nonnull align 8 dereferenceable(216) %15)
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.229, ptr noundef %24)
  br label %26

26:                                               ; preds = %23, %.lr.ph
  %.2 = phi i1 [ true, %23 ], [ %.01314, %.lr.ph ]
  %27 = add nuw i64 %.01215, 1
  %28 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7testing8TestCase14test_info_listEv(ptr noundef nonnull align 8 dereferenceable(112) %7)
  %29 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestInfoESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #2
  %30 = icmp ult i64 %27, %29
  br i1 %30, label %.lr.ph, label %._crit_edge, !llvm.loop !33
}

; 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 #0 align 2

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


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