; LLVM IR from chensoft/libsocket :: lib/libchen/test/lib/googletest/googlemock/test (gmock-matchers_test)

; 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::PredicateFormatterFromMatcher.1571" = type { %"class.testing::Matcher.1567" }
%"class.testing::Matcher.1567" = type { %"class.testing::internal::MatcherBase.1568" }
%"class.testing::internal::MatcherBase.1568" = type { ptr, %"class.testing::internal::linked_ptr.1569" }
%"class.testing::internal::linked_ptr.1569" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.std::__cxx11::list.1562" = type { %"class.std::__cxx11::_List_base.1563" }
%"class.std::__cxx11::_List_base.1563" = type { %"struct.std::__cxx11::_List_base<signed char, std::allocator<signed char>>::_List_impl" }
%"struct.std::__cxx11::_List_base<signed char, std::allocator<signed char>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619" = type { %"class.std::vector.1620" }
%"class.std::vector.1620" = type { %"struct.std::_Vector_base.1621" }
%"struct.std::_Vector_base.1621" = type { %"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::PolymorphicMatcher.1559" = type { i8 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.1597 = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv.lhs = external hidden unnamed_addr constant [2 x i32], align 4

declare i32 @__gxx_personality_v0(...)

; 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 zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing19gmock_matchers_test8IsHalfOfEv() #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8, ptr noundef) #7

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::__cxx11::list.1562", align 8
  %4 = alloca i8, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca [2 x i32], align 4
  %9 = alloca %"class.testing::Matcher.1567", align 8
  %10 = alloca %"class.testing::internal::UnorderedElementsAreArrayMatcher.1619", align 8
  %11 = alloca %"class.testing::PolymorphicMatcher.1559", align 1
  %12 = alloca %"class.testing::PolymorphicMatcher.1559", align 1
  %13 = alloca %"class.testing::AssertionResult", align 8
  %14 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.1571", align 8
  %15 = alloca %"class.testing::Matcher.1567", align 8
  %16 = alloca %"class.testing::Message", align 8
  %17 = alloca %"class.testing::internal::AssertHelper", align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.testing::AssertionResult", align 8
  %20 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.1571", align 8
  %21 = alloca %"class.testing::Matcher.1567", align 8
  %22 = alloca %"class.testing::Message", align 8
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %24 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @_ZNSt7__cxx114listIaSaIaEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #8
  store i8 2, ptr %4, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %25 unwind label %36

25:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  store i8 4, ptr %7, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %26 unwind label %40

26:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const._ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv.lhs, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #8
  invoke void @_ZN7testing19gmock_matchers_test8IsHalfOfEv()
          to label %27 unwind label %44

27:                                               ; preds = %26
  invoke void @_ZN7testing18UnorderedPointwiseINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEENSt7__cxx114listIaSaIaEEEEENS_8internal32UnorderedElementsAreArrayMatcherINS9_18BoundSecondMatcherIT_NS9_16StlContainerViewINS9_11RemoveConstIT0_E4typeEE4type10value_typeEEEEERKSC_RKSF_(ptr dead_on_unwind writable sret(%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619") align 8 %10, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %28 unwind label %44

28:                                               ; preds = %27
  invoke void @_ZNK7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEEcvNS_7MatcherIT_EEIRA2_KiEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.1567") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %29 unwind label %48

29:                                               ; preds = %28
  call void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  invoke void @_ZN7testing7MatcherIRA2_KiEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %30 unwind label %53

30:                                               ; preds = %29
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8 %14, ptr noundef %15)
          to label %31 unwind label %57

31:                                               ; preds = %30
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef @.str.1597, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %32 unwind label %61

32:                                               ; preds = %31
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  %33 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %34 unwind label %67

34:                                               ; preds = %32
  br i1 %33, label %35, label %71

35:                                               ; preds = %34
  br label %91

36:                                               ; preds = %1
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %5, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #8
  br label %148

40:                                               ; preds = %25
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %5, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  br label %148

44:                                               ; preds = %27, %26
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  br label %52

48:                                               ; preds = %28
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  call void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %52

52:                                               ; preds = %48, %44
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  br label %147

53:                                               ; preds = %29
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %66

57:                                               ; preds = %30
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %65

61:                                               ; preds = %31
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %5, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %6, align 4
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br label %65

65:                                               ; preds = %61, %57
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  br label %66

66:                                               ; preds = %65, %53
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %100

67:                                               ; preds = %32
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %5, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %6, align 4
  br label %99

71:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %72 unwind label %77

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %73 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %74 unwind label %81

74:                                               ; preds = %72
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 1, ptr noundef @.str.5, i32 noundef 5570, ptr noundef %73)
          to label %75 unwind label %81

75:                                               ; preds = %74
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %76 unwind label %85

76:                                               ; preds = %75
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %91

77:                                               ; preds = %71
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %5, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %6, align 4
  br label %90

81:                                               ; preds = %74, %72
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %5, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %6, align 4
  br label %89

85:                                               ; preds = %75
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %5, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %89

89:                                               ; preds = %85, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %90

90:                                               ; preds = %89, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %99

91:                                               ; preds = %76, %35
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  store i8 6, ptr %18, align 1, !tbaa !9
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %92 unwind label %101

92:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #8
  invoke void @_ZN7testing7MatcherIRA2_KiEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %93 unwind label %105

93:                                               ; preds = %92
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8 %20, ptr noundef %21)
          to label %94 unwind label %109

94:                                               ; preds = %93
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef @.str.1597, ptr noundef nonnull align 4 dereferenceable(8) %8)
          to label %95 unwind label %113

95:                                               ; preds = %94
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  %96 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %97 unwind label %119

97:                                               ; preds = %95
  br i1 %96, label %98, label %123

98:                                               ; preds = %97
  br label %143

99:                                               ; preds = %90, %67
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %100

100:                                              ; preds = %99, %66
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %146

101:                                              ; preds = %91
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %5, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  br label %146

105:                                              ; preds = %92
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %5, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %6, align 4
  br label %118

109:                                              ; preds = %93
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %5, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %6, align 4
  br label %117

113:                                              ; preds = %94
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %5, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %6, align 4
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %117

117:                                              ; preds = %113, %109
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  br label %118

118:                                              ; preds = %117, %105
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #8
  br label %145

119:                                              ; preds = %95
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %5, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %6, align 4
  br label %144

123:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %124 unwind label %129

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %125 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %126 unwind label %133

126:                                              ; preds = %124
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.5, i32 noundef 5574, ptr noundef %125)
          to label %127 unwind label %133

127:                                              ; preds = %126
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %128 unwind label %137

128:                                              ; preds = %127
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %143

129:                                              ; preds = %123
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %5, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %6, align 4
  br label %142

133:                                              ; preds = %126, %124
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %5, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %6, align 4
  br label %141

137:                                              ; preds = %127
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %5, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %141

141:                                              ; preds = %137, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br label %142

142:                                              ; preds = %141, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %144

143:                                              ; preds = %128, %98
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @_ZNSt7__cxx1110_List_baseIaSaIaEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  ret void

144:                                              ; preds = %142, %119
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %145

145:                                              ; preds = %144, %118
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br label %146

146:                                              ; preds = %145, %101, %100
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br label %147

147:                                              ; preds = %146, %52
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %148

148:                                              ; preds = %147, %40, %36
  call void @_ZNSt7__cxx1110_List_baseIaSaIaEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  br label %149

149:                                              ; preds = %148
  %150 = load ptr, ptr %5, align 8
  %151 = load i32, ptr %6, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing18UnorderedPointwiseINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEENSt7__cxx114listIaSaIaEEEEENS_8internal32UnorderedElementsAreArrayMatcherINS9_18BoundSecondMatcherIT_NS9_16StlContainerViewINS9_11RemoveConstIT0_E4typeEE4type10value_typeEEEEERKSC_RKSF_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24)) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEEcvNS_7MatcherIT_EEIRA2_KiEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Matcher.1567") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!7, !7, i64 0}


; 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::PredicateFormatterFromMatcher.1571" = type { %"class.testing::Matcher.1567" }
%"class.testing::Matcher.1567" = type { %"class.testing::internal::MatcherBase.1568" }
%"class.testing::internal::MatcherBase.1568" = type { ptr, %"class.testing::internal::linked_ptr.1569" }
%"class.testing::internal::linked_ptr.1569" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.std::__cxx11::list.1562" = type { %"class.std::__cxx11::_List_base.1563" }
%"class.std::__cxx11::_List_base.1563" = type { %"struct.std::__cxx11::_List_base<signed char, std::allocator<signed char>>::_List_impl" }
%"struct.std::__cxx11::_List_base<signed char, std::allocator<signed char>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619" = type { %"class.std::vector.1620" }
%"class.std::vector.1620" = type { %"struct.std::_Vector_base.1621" }
%"struct.std::_Vector_base.1621" = type { %"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl" }
%"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>, std::allocator<testing::internal::BoundSecondMatcher<testing::PolymorphicMatcher<testing::gmock_matchers_test::IsHalfOfMatcher>, signed char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::PolymorphicMatcher.1559" = type { i8 }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.0" }
%"class.testing::internal::scoped_ptr.0" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.1597 = external hidden unnamed_addr constant [4 x i8], align 1
@__const._ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv.lhs = external hidden unnamed_addr constant [2 x i32], align 4

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress 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 zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

declare void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef, i32 noundef, ptr noundef) unnamed_addr #2

declare void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing19gmock_matchers_test8IsHalfOfEv() local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8, ptr noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind noalias writable sret(%"class.testing::AssertionResult") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::__cxx11::list.1562", align 8
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca [2 x i32], align 8
  %6 = alloca %"class.testing::Matcher.1567", align 8
  %7 = alloca %"class.testing::internal::UnorderedElementsAreArrayMatcher.1619", align 8
  %8 = alloca %"class.testing::PolymorphicMatcher.1559", align 1
  %9 = alloca %"class.testing::AssertionResult", align 8
  %10 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.1571", align 8
  %11 = alloca %"class.testing::Matcher.1567", align 8
  %12 = alloca %"class.testing::Message", align 8
  %13 = alloca %"class.testing::internal::AssertHelper", align 8
  %14 = alloca i8, align 1
  %15 = alloca %"class.testing::AssertionResult", align 8
  %16 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.1571", align 8
  %17 = alloca %"class.testing::Matcher.1567", align 8
  %18 = alloca %"class.testing::Message", align 8
  %19 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZNSt7__cxx114listIaSaIaEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #7
  store i8 2, ptr %3, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %20 unwind label %30

20:                                               ; preds = %1
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  store i8 4, ptr %4, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %21 unwind label %32

21:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %22 = load i64, ptr @__const._ZN7testing19gmock_matchers_test42UnorderedPointwiseTest_MakesCopyOfRhs_Test8TestBodyEv.lhs, align 4
  store i64 %22, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  invoke void @_ZN7testing19gmock_matchers_test8IsHalfOfEv()
          to label %23 unwind label %34

23:                                               ; preds = %21
  invoke void @_ZN7testing18UnorderedPointwiseINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEENSt7__cxx114listIaSaIaEEEEENS_8internal32UnorderedElementsAreArrayMatcherINS9_18BoundSecondMatcherIT_NS9_16StlContainerViewINS9_11RemoveConstIT0_E4typeEE4type10value_typeEEEEERKSC_RKSF_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619") align 8 %7, ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %24 unwind label %34

24:                                               ; preds = %23
  invoke void @_ZNK7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEEcvNS_7MatcherIT_EEIRA2_KiEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.1567") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %25 unwind label %36

25:                                               ; preds = %24
  call void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  invoke void @_ZN7testing7MatcherIRA2_KiEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %26 unwind label %39

26:                                               ; preds = %25
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8 %10, ptr noundef nonnull %11)
          to label %27 unwind label %41

27:                                               ; preds = %26
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull @.str.1597, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %28 unwind label %43

28:                                               ; preds = %27
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  %29 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
  br i1 %29, label %61, label %47

30:                                               ; preds = %1
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  br label %96

32:                                               ; preds = %20
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %96

34:                                               ; preds = %23, %21
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %24
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %38

38:                                               ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #7
  br label %95

39:                                               ; preds = %25
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %46

41:                                               ; preds = %26
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %27
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %45

45:                                               ; preds = %43, %41
  %.pn18 = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %46

46:                                               ; preds = %45, %39
  %.pn18.pn = phi { ptr, i32 } [ %.pn18, %45 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %67

47:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %49 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %50 unwind label %55

50:                                               ; preds = %48
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 5570, ptr noundef %49)
          to label %51 unwind label %55

51:                                               ; preds = %50
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %52 unwind label %57

52:                                               ; preds = %51
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  br label %61

53:                                               ; preds = %47
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %60

55:                                               ; preds = %50, %48
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %59

57:                                               ; preds = %51
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %59

59:                                               ; preds = %57, %55
  %.pn21 = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br label %60

60:                                               ; preds = %59, %53
  %.pn21.pn = phi { ptr, i32 } [ %.pn21, %59 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  br label %67

61:                                               ; preds = %28, %52
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  store i8 6, ptr %14, align 1, !tbaa !5
  invoke void @_ZNSt7__cxx114listIaSaIaEE9push_backEOa(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %62 unwind label %68

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  invoke void @_ZN7testing7MatcherIRA2_KiEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %63 unwind label %70

63:                                               ; preds = %62
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEENS0_29PredicateFormatterFromMatcherIT_EES8_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.1571") align 8 %16, ptr noundef nonnull %17)
          to label %64 unwind label %72

64:                                               ; preds = %63
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEEclIA2_iEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull @.str.1597, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %65 unwind label %74

65:                                               ; preds = %64
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  %66 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
  br i1 %66, label %92, label %78

67:                                               ; preds = %60, %46
  %.pn21.pn.pn = phi { ptr, i32 } [ %.pn21.pn, %60 ], [ %.pn18.pn, %46 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  br label %94

68:                                               ; preds = %61
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %94

70:                                               ; preds = %62
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %77

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %64
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_7MatcherIRA2_KiEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %76

76:                                               ; preds = %74, %72
  %.pn25 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %77

77:                                               ; preds = %76, %70
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %76 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %93

78:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %79 unwind label %84

79:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  %80 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %81 unwind label %86

81:                                               ; preds = %79
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %19, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 5574, ptr noundef %80)
          to label %82 unwind label %86

82:                                               ; preds = %81
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %83 unwind label %88

83:                                               ; preds = %82
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  br label %92

84:                                               ; preds = %78
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %91

86:                                               ; preds = %81, %79
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %90

88:                                               ; preds = %82
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br label %90

90:                                               ; preds = %88, %86
  %.pn28 = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %91

91:                                               ; preds = %90, %84
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %90 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  br label %93

92:                                               ; preds = %65, %83
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @_ZNSt7__cxx1110_List_baseIaSaIaEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  ret void

93:                                               ; preds = %91, %77
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %91 ], [ %.pn25.pn, %77 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %94

94:                                               ; preds = %93, %68, %67
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %93 ], [ %69, %68 ], [ %.pn21.pn.pn, %67 ]
  call void @_ZN7testing8internal11MatcherBaseIRA2_KiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %95

95:                                               ; preds = %94, %38
  %.pn28.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn, %94 ], [ %.pn, %38 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %96

96:                                               ; preds = %95, %32, %30
  %.pn28.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn.pn, %95 ], [ %33, %32 ], [ %31, %30 ]
  call void @_ZNSt7__cxx1110_List_baseIaSaIaEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn28.pn.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing18UnorderedPointwiseINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEENSt7__cxx114listIaSaIaEEEEENS_8internal32UnorderedElementsAreArrayMatcherINS9_18BoundSecondMatcherIT_NS9_16StlContainerViewINS9_11RemoveConstIT0_E4typeEE4type10value_typeEEEEERKSC_RKSF_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::UnorderedElementsAreArrayMatcher.1619") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEEcvNS_7MatcherIT_EEIRA2_KiEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Matcher.1567") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal32UnorderedElementsAreArrayMatcherINS0_18BoundSecondMatcherINS_18PolymorphicMatcherINS_19gmock_matchers_test15IsHalfOfMatcherEEEaEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

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


; Effective O3 passes: GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass