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

; 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 uwtable
declare dso_local void @_ZN7testing8TestCase12ShuffleTestsEPNS_8internal6RandomE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing8internal12UnitTestImpl12ShuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(473) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  %5 = call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %4)
  %6 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 14
  %7 = load i32, ptr %6, align 4, !tbaa !9
  %8 = add nsw i32 %7, 1
  %9 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 10
  call void @_ZN7testing8internal12ShuffleRangeIiEEvPNS0_6RandomEiiPSt6vectorIT_SaIS5_EE(ptr noundef %5, i32 noundef 0, i32 noundef %8, ptr noundef %9)
  %10 = call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %4)
  %11 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 14
  %12 = load i32, ptr %11, align 4, !tbaa !9
  %13 = add nsw i32 %12, 1
  %14 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 9
  %15 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  %16 = trunc i64 %15 to i32
  %17 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 10
  call void @_ZN7testing8internal12ShuffleRangeIiEEvPNS0_6RandomEiiPSt6vectorIT_SaIS5_EE(ptr noundef %10, i32 noundef %13, i32 noundef %16, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store i64 0, ptr %3, align 8, !tbaa !58
  br label %18

18:                                               ; preds = %30, %1
  %19 = load i64, ptr %3, align 8, !tbaa !58
  %20 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 9
  %21 = call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #3
  %22 = icmp ult i64 %19, %21
  br i1 %22, label %24, label %23

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

24:                                               ; preds = %18
  %25 = getelementptr inbounds %"class.testing::internal::UnitTestImpl", ptr %4, i32 0, i32 9
  %26 = load i64, ptr %3, align 8, !tbaa !58
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %26) #3
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %4)
  call void @_ZN7testing8TestCase12ShuffleTestsEPNS_8internal6RandomE(ptr noundef nonnull align 8 dereferenceable(112) %28, ptr noundef %29)
  br label %30

30:                                               ; preds = %24
  %31 = load i64, ptr %3, align 8, !tbaa !58
  %32 = add i64 %31, 1
  store i64 %32, ptr %3, align 8, !tbaa !58
  br label %18, !llvm.loop !59

33:                                               ; preds = %23
  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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing8internal12ShuffleRangeIiEEvPNS0_6RandomEiiPSt6vectorIT_SaIS5_EE(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #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, !20, i64 236}
!10 = !{!"_ZTSN7testing8internal12UnitTestImplE", !6, i64 8, !11, i64 16, !14, i64 32, !16, i64 48, !6, i64 64, !17, i64 72, !19, i64 120, !21, i64 136, !25, i64 160, !29, i64 184, !33, i64 208, !38, i64 232, !20, i64 236, !6, i64 240, !6, i64 248, !39, i64 256, !49, i64 368, !6, i64 392, !38, i64 400, !20, i64 404, !50, i64 408, !48, i64 416, !51, i64 424, !52, i64 432, !53, i64 440, !38, i64 472}
!11 = !{!"_ZTSN7testing8internal8FilePathE", !12, i64 0}
!12 = !{!"_ZTSN7testing8internal6StringE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN7testing8internal35DefaultGlobalTestPartResultReporterE", !15, i64 0, !6, i64 8}
!15 = !{!"_ZTSN7testing31TestPartResultReporterInterfaceE"}
!16 = !{!"_ZTSN7testing8internal38DefaultPerThreadTestPartResultReporterE", !15, i64 0, !6, i64 8}
!17 = !{!"_ZTSN7testing8internal5MutexE", !18, i64 0}
!18 = !{!"_ZTSN7testing8internal9MutexBaseE", !7, i64 0, !13, i64 40}
!19 = !{!"_ZTSN7testing8internal11ThreadLocalIPNS_31TestPartResultReporterInterfaceEEE", !20, i64 0, !6, i64 8}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSSt6vectorIPN7testing11EnvironmentESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIPN7testing8TestCaseESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSN7testing8internal29ParameterizedTestCaseRegistryE", !34, i64 0}
!34 = !{!"_ZTSSt6vectorIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!38 = !{!"bool", !7, i64 0}
!39 = !{!"_ZTSN7testing10TestResultE", !17, i64 0, !40, i64 48, !44, i64 72, !20, i64 96, !48, i64 104}
!40 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"long long", !7, i64 0}
!49 = !{!"_ZTSN7testing18TestEventListenersE", !6, i64 0, !6, i64 8, !6, i64 16}
!50 = !{!"_ZTSN7testing8internal6RandomE", !20, i64 0}
!51 = !{!"_ZTSN7testing8internal10scoped_ptrINS0_24InternalRunDeathTestFlagEEE", !6, i64 0}
!52 = !{!"_ZTSN7testing8internal10scoped_ptrINS0_16DeathTestFactoryEEE", !6, i64 0}
!53 = !{!"_ZTSN7testing8internal11ThreadLocalISt6vectorINS0_9TraceInfoESaIS3_EEEE", !20, i64 0, !54, i64 8}
!54 = !{!"_ZTSSt6vectorIN7testing8internal9TraceInfoESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!13, !13, i64 0}
!59 = distinct !{!59, !60}
!60 = !{!"llvm.loop.mustprogress"}


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

; 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 uwtable
declare dso_local void @_ZN7testing8TestCase12ShuffleTestsEPNS_8internal6RandomE(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing8internal12UnitTestImpl12ShuffleTestsEv(ptr noundef nonnull align 8 dereferenceable(473) %0) local_unnamed_addr #1 align 2 {
  %2 = tail call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %0)
  %3 = getelementptr inbounds i8, ptr %0, i64 236
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = add nsw i32 %4, 1
  %6 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN7testing8internal12ShuffleRangeIiEEvPNS0_6RandomEiiPSt6vectorIT_SaIS5_EE(ptr noundef %2, i32 noundef 0, i32 noundef %5, ptr noundef nonnull %6)
  %7 = tail call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %0)
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = add nsw i32 %8, 1
  %10 = getelementptr inbounds i8, ptr %0, i64 160
  %11 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #2
  %12 = trunc i64 %11 to i32
  tail call void @_ZN7testing8internal12ShuffleRangeIiEEvPNS0_6RandomEiiPSt6vectorIT_SaIS5_EE(ptr noundef %7, i32 noundef %9, i32 noundef %12, ptr noundef nonnull %6)
  %13 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #2
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %1
  ret void

.lr.ph:                                           ; preds = %1, %.lr.ph
  %.03 = phi i64 [ %17, %.lr.ph ], [ 0, %1 ]
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPN7testing8TestCaseESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %.03) #2
  %15 = load ptr, ptr %14, align 8, !tbaa !57
  %16 = tail call noundef ptr @_ZN7testing8internal12UnitTestImpl6randomEv(ptr noundef nonnull align 8 dereferenceable(473) %0)
  tail call void @_ZN7testing8TestCase12ShuffleTestsEPNS_8internal6RandomE(ptr noundef nonnull align 8 dereferenceable(112) %15, ptr noundef %16)
  %17 = add nuw i64 %.03, 1
  %18 = tail call noundef i64 @_ZNKSt6vectorIPN7testing8TestCaseESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #2
  %19 = icmp ult i64 %17, %18
  br i1 %19, label %.lr.ph, label %._crit_edge, !llvm.loop !58
}

; 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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !19, i64 236}
!6 = !{!"_ZTSN7testing8internal12UnitTestImplE", !7, i64 8, !10, i64 16, !13, i64 32, !15, i64 48, !7, i64 64, !16, i64 72, !18, i64 120, !20, i64 136, !24, i64 160, !28, i64 184, !32, i64 208, !37, i64 232, !19, i64 236, !7, i64 240, !7, i64 248, !38, i64 256, !48, i64 368, !7, i64 392, !37, i64 400, !19, i64 404, !49, i64 408, !47, i64 416, !50, i64 424, !51, i64 432, !52, i64 440, !37, i64 472}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7testing8internal8FilePathE", !11, i64 0}
!11 = !{!"_ZTSN7testing8internal6StringE", !7, i64 0, !12, i64 8}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTSN7testing8internal35DefaultGlobalTestPartResultReporterE", !14, i64 0, !7, i64 8}
!14 = !{!"_ZTSN7testing31TestPartResultReporterInterfaceE"}
!15 = !{!"_ZTSN7testing8internal38DefaultPerThreadTestPartResultReporterE", !14, i64 0, !7, i64 8}
!16 = !{!"_ZTSN7testing8internal5MutexE", !17, i64 0}
!17 = !{!"_ZTSN7testing8internal9MutexBaseE", !8, i64 0, !12, i64 40}
!18 = !{!"_ZTSN7testing8internal11ThreadLocalIPNS_31TestPartResultReporterInterfaceEEE", !19, i64 0, !7, i64 8}
!19 = !{!"int", !8, i64 0}
!20 = !{!"_ZTSSt6vectorIPN7testing11EnvironmentESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN7testing11EnvironmentESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!24 = !{!"_ZTSSt6vectorIPN7testing8TestCaseESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPN7testing8TestCaseESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!28 = !{!"_ZTSSt6vectorIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!32 = !{!"_ZTSN7testing8internal29ParameterizedTestCaseRegistryE", !33, i64 0}
!33 = !{!"_ZTSSt6vectorIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIPN7testing8internal29ParameterizedTestCaseInfoBaseESaIS3_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!37 = !{!"bool", !8, i64 0}
!38 = !{!"_ZTSN7testing10TestResultE", !16, i64 0, !39, i64 48, !43, i64 72, !19, i64 96, !47, i64 104}
!39 = !{!"_ZTSSt6vectorIN7testing14TestPartResultESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIN7testing14TestPartResultESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!43 = !{!"_ZTSSt6vectorIN7testing12TestPropertyESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN7testing12TestPropertyESaIS1_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!47 = !{!"long long", !8, i64 0}
!48 = !{!"_ZTSN7testing18TestEventListenersE", !7, i64 0, !7, i64 8, !7, i64 16}
!49 = !{!"_ZTSN7testing8internal6RandomE", !19, i64 0}
!50 = !{!"_ZTSN7testing8internal10scoped_ptrINS0_24InternalRunDeathTestFlagEEE", !7, i64 0}
!51 = !{!"_ZTSN7testing8internal10scoped_ptrINS0_16DeathTestFactoryEEE", !7, i64 0}
!52 = !{!"_ZTSN7testing8internal11ThreadLocalISt6vectorINS0_9TraceInfoESaIS3_EEEE", !19, i64 0, !53, i64 8}
!53 = !{!"_ZTSSt6vectorIN7testing8internal9TraceInfoESaIS2_EE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIN7testing8internal9TraceInfoESaIS2_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!57 = !{!7, !7, i64 0}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass