; LLVM IR from PaddlePaddle/FastDeploy :: third_party/yaml-cpp/test/gtest-1.11.0/googlemock/test (gmock_output_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::AnythingMatcher" = type { i8 }
%"class.testing::internal::MockSpec" = type { ptr, %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %"class.testing::Matcher" }
%"class.testing::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<int>::Buffer" }
%"class.testing::MatcherDescriberInterface" = type { ptr }
%"union.testing::internal::MatcherBase<int>::Buffer" = type { ptr }
%"struct.std::_Head_base.1" = type { %"class.testing::Matcher" }
%"class.testing::internal::MockSpec.18" = type { ptr, %"class.std::tuple" }
%"class.testing::internal::MockSpec.37" = type { ptr, %"class.std::tuple.38" }
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Tuple_impl.40", %"struct.std::_Head_base.45" }
%"struct.std::_Tuple_impl.40" = type { %"struct.std::_Tuple_impl.41", %"struct.std::_Head_base" }
%"struct.std::_Tuple_impl.41" = type { %"struct.std::_Head_base.42" }
%"struct.std::_Head_base.42" = type { %"class.testing::Matcher.43" }
%"class.testing::Matcher.43" = type { %"class.testing::internal::MatcherBase.44" }
%"class.testing::internal::MatcherBase.44" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<double>::Buffer" }
%"union.testing::internal::MatcherBase<double>::Buffer" = type { ptr }
%"struct.std::_Head_base.45" = type { %"class.testing::Matcher.46" }
%"class.testing::Matcher.46" = type { %"class.testing::internal::MatcherBase.47" }
%"class.testing::internal::MatcherBase.47" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" }
%"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" = type { ptr }
%"class.testing::internal::WithoutMatchers" = type { i8 }
%"class.testing::Action.52" = type { %"class.std::function.53" }
%"class.std::function.53" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.testing::internal::ReturnAction.73" = type { %"class.std::shared_ptr.74" }
%"class.std::shared_ptr.74" = type { %"class.std::__shared_ptr.75" }
%"class.std::__shared_ptr.75" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.testing::Cardinality" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }

@.str.3 = external hidden unnamed_addr constant [134 x i8], align 1
@_ZN7testingL1_E = external hidden constant %"class.testing::internal::AnythingMatcher", align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) #4 align 2

declare void @_ZN7testing8internal18GetWithoutMatchersEv() #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef, i32 noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFviiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN39GMockOutputTest_CatchesLeakedMocks_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(232) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.testing::internal::MockSpec.37", align 8
  %8 = alloca %"class.testing::Matcher.46", align 8
  %9 = alloca %"class.testing::Matcher", align 8
  %10 = alloca %"class.testing::Matcher.43", align 8
  %11 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %12 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %13 = alloca %"class.testing::Action.52", align 8
  %14 = alloca %"class.testing::internal::ReturnAction.73", align 8
  %15 = alloca %"class.testing::internal::MockSpec", align 8
  %16 = alloca %"class.testing::Matcher", align 8
  %17 = alloca %"class.testing::Matcher", align 8
  %18 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %19 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %20 = alloca %"class.testing::internal::MockSpec", align 8
  %21 = alloca %"class.testing::Matcher", align 8
  %22 = alloca %"class.testing::Matcher", align 8
  %23 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %24 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %25 = alloca %"class.testing::internal::MockSpec.18", align 8
  %26 = alloca %"class.testing::Matcher", align 8
  %27 = alloca %"class.testing::Matcher", align 8
  %28 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %29 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %30 = alloca %"class.testing::Cardinality", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %32 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 216) #8
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216) %32)
          to label %33 unwind label %80

33:                                               ; preds = %1
  store ptr %32, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %34 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 216) #8
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216) %34)
          to label %35 unwind label %84

35:                                               ; preds = %33
  store ptr %34, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %7) #7
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @_ZN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %37 unwind label %88

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  invoke void @_ZN7testing7MatcherIdEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %38 unwind label %92

38:                                               ; preds = %37
  invoke void @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr dead_on_unwind writable sret(%"class.testing::internal::MockSpec.37") align 8 %7, ptr noundef nonnull align 8 dereferenceable(216) %36, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %39 unwind label %96

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %40 unwind label %100

40:                                               ; preds = %39
  %41 = invoke noundef nonnull align 8 dereferenceable(80) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(80) %7, ptr noundef nonnull align 1 dereferenceable(1) %11, ptr noundef null)
          to label %42 unwind label %100

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80) %41, ptr noundef @.str.3, i32 noundef 265, ptr noundef @.str.62, ptr noundef @.str.40)
          to label %44 unwind label %100

44:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  invoke void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind writable sret(%"class.testing::internal::ReturnAction.73") align 8 %14, i8 noundef signext 97)
          to label %45 unwind label %104

45:                                               ; preds = %44
  invoke void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind writable sret(%"class.testing::Action.52") align 8 %13, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %46 unwind label %108

46:                                               ; preds = %45
  %47 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(144) %43, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %48 unwind label %112

48:                                               ; preds = %46
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #7
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %15) #7
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %50 unwind label %122

50:                                               ; preds = %48
  invoke void @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind writable sret(%"class.testing::internal::MockSpec") align 8 %15, ptr noundef nonnull align 8 dereferenceable(216) %49, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %51 unwind label %126

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %52 unwind label %130

52:                                               ; preds = %51
  %53 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef null)
          to label %54 unwind label %130

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %53, ptr noundef @.str.3, i32 noundef 268, ptr noundef @.str.63, ptr noundef @.str.13)
          to label %56 unwind label %130

56:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %20) #7
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  call void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %21, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %58 unwind label %136

58:                                               ; preds = %56
  invoke void @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind writable sret(%"class.testing::internal::MockSpec") align 8 %20, ptr noundef nonnull align 8 dereferenceable(216) %57, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %59 unwind label %140

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %60 unwind label %144

60:                                               ; preds = %59
  %61 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 1 dereferenceable(1) %23, ptr noundef null)
          to label %62 unwind label %144

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %61, ptr noundef @.str.3, i32 noundef 269, ptr noundef @.str.63, ptr noundef @.str.32)
          to label %64 unwind label %144

64:                                               ; preds = %62
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr %25) #7
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #7
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %66 unwind label %150

66:                                               ; preds = %64
  invoke void @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind writable sret(%"class.testing::internal::MockSpec.18") align 8 %25, ptr noundef nonnull align 8 dereferenceable(216) %65, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %67 unwind label %154

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %68 unwind label %158

68:                                               ; preds = %67
  %69 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFviiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %25, ptr noundef nonnull align 1 dereferenceable(1) %28, ptr noundef null)
          to label %70 unwind label %158

70:                                               ; preds = %68
  %71 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %69, ptr noundef @.str.3, i32 noundef 270, ptr noundef @.str.63, ptr noundef @.str.64)
          to label %72 unwind label %158

72:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  invoke void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8 %30)
          to label %73 unwind label %162

73:                                               ; preds = %72
  %74 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal16TypedExpectationIFviiEE5TimesERKNS_11CardinalityE(ptr noundef nonnull align 8 dereferenceable(344) %71, ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %75 unwind label %166

75:                                               ; preds = %73
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @_ZN7testing8internal8MockSpecIFviiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %25) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %25) #7
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216) %76, i32 noundef 2, i32 noundef 1)
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216) %78, i32 noundef 1, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

80:                                               ; preds = %1
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %32, i64 noundef 216) #9
  br label %175

84:                                               ; preds = %33
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %4, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %5, align 4
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 216) #9
  br label %174

88:                                               ; preds = %35
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %4, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %5, align 4
  br label %121

92:                                               ; preds = %37
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %4, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %5, align 4
  br label %120

96:                                               ; preds = %38
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %4, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %5, align 4
  br label %119

100:                                              ; preds = %42, %40, %39
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %4, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %5, align 4
  br label %118

104:                                              ; preds = %44
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %4, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %5, align 4
  br label %117

108:                                              ; preds = %45
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %4, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %5, align 4
  br label %116

112:                                              ; preds = %46
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %4, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %5, align 4
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %116

116:                                              ; preds = %112, %108
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #7
  br label %117

117:                                              ; preds = %116, %104
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #7
  br label %118

118:                                              ; preds = %117, %100
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  call void @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %7) #7
  br label %119

119:                                              ; preds = %118, %96
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %120

120:                                              ; preds = %119, %92
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  br label %121

121:                                              ; preds = %120, %88
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %7) #7
  br label %174

122:                                              ; preds = %48
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %4, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %5, align 4
  br label %135

126:                                              ; preds = %50
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %4, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %5, align 4
  br label %134

130:                                              ; preds = %54, %52, %51
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %4, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #7
  br label %134

134:                                              ; preds = %130, %126
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %135

135:                                              ; preds = %134, %122
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #7
  br label %174

136:                                              ; preds = %56
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %4, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %5, align 4
  br label %149

140:                                              ; preds = %58
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %4, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %5, align 4
  br label %148

144:                                              ; preds = %62, %60, %59
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %4, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #7
  br label %148

148:                                              ; preds = %144, %140
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br label %149

149:                                              ; preds = %148, %136
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  br label %174

150:                                              ; preds = %64
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %4, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %5, align 4
  br label %173

154:                                              ; preds = %66
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %4, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %5, align 4
  br label %172

158:                                              ; preds = %70, %68, %67
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %4, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %5, align 4
  br label %171

162:                                              ; preds = %72
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %4, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %5, align 4
  br label %170

166:                                              ; preds = %73
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %4, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %5, align 4
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #7
  br label %170

170:                                              ; preds = %166, %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %171

171:                                              ; preds = %170, %158
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @_ZN7testing8internal8MockSpecIFviiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %25) #7
  br label %172

172:                                              ; preds = %171, %154
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  br label %173

173:                                              ; preds = %172, %150
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #7
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr %25) #7
  br label %174

174:                                              ; preds = %173, %149, %135, %121, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  br label %175

175:                                              ; preds = %174, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %176

176:                                              ; preds = %175
  %177 = load ptr, ptr %4, align 8
  %178 = load i32, ptr %5, align 4
  %179 = insertvalue { ptr, i32 } poison, ptr %177, 0
  %180 = insertvalue { ptr, i32 } %179, i32 %178, 1
  resume { ptr, i32 } %180
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::ReturnAction.73") align 8, i8 noundef signext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind noalias writable sret(%"class.testing::Action.52") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

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

declare void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #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 = { 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 #5 = { "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 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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"}


; 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::AnythingMatcher" = type { i8 }
%"class.testing::internal::MockSpec" = type { ptr, %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %"class.testing::Matcher" }
%"class.testing::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<int>::Buffer" }
%"class.testing::MatcherDescriberInterface" = type { ptr }
%"union.testing::internal::MatcherBase<int>::Buffer" = type { ptr }
%"struct.std::_Head_base.1" = type { %"class.testing::Matcher" }
%"class.testing::internal::MockSpec.18" = type { ptr, %"class.std::tuple" }
%"class.testing::internal::MockSpec.37" = type { ptr, %"class.std::tuple.38" }
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Tuple_impl.40", %"struct.std::_Head_base.45" }
%"struct.std::_Tuple_impl.40" = type { %"struct.std::_Tuple_impl.41", %"struct.std::_Head_base" }
%"struct.std::_Tuple_impl.41" = type { %"struct.std::_Head_base.42" }
%"struct.std::_Head_base.42" = type { %"class.testing::Matcher.43" }
%"class.testing::Matcher.43" = type { %"class.testing::internal::MatcherBase.44" }
%"class.testing::internal::MatcherBase.44" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<double>::Buffer" }
%"union.testing::internal::MatcherBase<double>::Buffer" = type { ptr }
%"struct.std::_Head_base.45" = type { %"class.testing::Matcher.46" }
%"class.testing::Matcher.46" = type { %"class.testing::internal::MatcherBase.47" }
%"class.testing::internal::MatcherBase.47" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" }
%"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" = type { ptr }
%"class.testing::internal::WithoutMatchers" = type { i8 }
%"class.testing::Action.52" = type { %"class.std::function.53" }
%"class.std::function.53" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.testing::internal::ReturnAction.73" = type { %"class.std::shared_ptr.74" }
%"class.std::shared_ptr.74" = type { %"class.std::__shared_ptr.75" }
%"class.std::__shared_ptr.75" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.testing::Cardinality" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }

@.str.3 = external hidden unnamed_addr constant [134 x i8], align 1
@_ZN7testingL1_E = external hidden constant %"class.testing::internal::AnythingMatcher", align 1
@.str.13 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [11 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; 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 uwtable
declare dso_local void @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::MockSpec") align 8, ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) local_unnamed_addr #4 align 2

declare void @_ZN7testing8internal18GetWithoutMatchersEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFviiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 1 dereferenceable(1), ptr noundef) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN39GMockOutputTest_CatchesLeakedMocks_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(232) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.testing::internal::MockSpec.37", align 8
  %3 = alloca %"class.testing::Matcher.46", align 8
  %4 = alloca %"class.testing::Matcher", align 8
  %5 = alloca %"class.testing::Matcher.43", align 8
  %6 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %7 = alloca %"class.testing::Action.52", align 8
  %8 = alloca %"class.testing::internal::ReturnAction.73", align 8
  %9 = alloca %"class.testing::internal::MockSpec", align 8
  %10 = alloca %"class.testing::Matcher", align 8
  %11 = alloca %"class.testing::Matcher", align 8
  %12 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %13 = alloca %"class.testing::internal::MockSpec", align 8
  %14 = alloca %"class.testing::Matcher", align 8
  %15 = alloca %"class.testing::Matcher", align 8
  %16 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %17 = alloca %"class.testing::internal::MockSpec.18", align 8
  %18 = alloca %"class.testing::Matcher", align 8
  %19 = alloca %"class.testing::Matcher", align 8
  %20 = alloca %"class.testing::internal::WithoutMatchers", align 1
  %21 = alloca %"class.testing::Cardinality", align 8
  %22 = tail call noalias noundef nonnull dereferenceable(216) ptr @_Znwm(i64 noundef 216) #7
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216) %22)
          to label %23 unwind label %60

23:                                               ; preds = %1
  %24 = tail call noalias noundef nonnull dereferenceable(216) ptr @_Znwm(i64 noundef 216) #7
  invoke void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216) %24)
          to label %25 unwind label %62

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %26 unwind label %64

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  invoke void @_ZN7testing7MatcherIdEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %27 unwind label %66

27:                                               ; preds = %26
  invoke void @_ZN7MockFoo9gmock_BarERKN7testing7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERKNS1_IiEERKNS1_IdEE(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::MockSpec.37") align 8 %2, ptr noundef nonnull align 8 dereferenceable(216) %22, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %28 unwind label %68

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %29 unwind label %70

29:                                               ; preds = %28
  %30 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(80) %2, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef null)
  %31 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80) %30, ptr noundef nonnull @.str.3, i32 noundef 265, ptr noundef nonnull @.str.62, ptr noundef nonnull @.str.40)
          to label %32 unwind label %70

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  invoke void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::ReturnAction.73") align 8 %8, i8 noundef signext 97)
          to label %33 unwind label %72

33:                                               ; preds = %32
  invoke void @_ZNK7testing8internal12ReturnActionIcEcvNS_6ActionIT_EEIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Action.52") align 8 %7, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %34 unwind label %74

34:                                               ; preds = %33
  %35 = invoke noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(144) %31, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %36 unwind label %76

36:                                               ; preds = %34
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %2) #8
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #8
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %37 unwind label %84

37:                                               ; preds = %36
  invoke void @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::MockSpec") align 8 %9, ptr noundef nonnull align 8 dereferenceable(216) %24, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %38 unwind label %86

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %39 unwind label %88

39:                                               ; preds = %38
  %40 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %9, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef null)
  %41 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %40, ptr noundef nonnull @.str.3, i32 noundef 268, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.13)
          to label %42 unwind label %88

42:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #8
  call void @_ZN7testing7MatcherIiEC2Ei(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %43 unwind label %92

43:                                               ; preds = %42
  invoke void @_ZN7MockFoo10gmock_Bar2ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::MockSpec") align 8 %13, ptr noundef nonnull align 8 dereferenceable(216) %24, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %44 unwind label %94

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #8
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %45 unwind label %96

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFbiiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 1 dereferenceable(1) %16, ptr noundef null)
  %47 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFbiiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull @.str.3, i32 noundef 269, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.32)
          to label %48 unwind label %96

48:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  call void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  invoke void @_ZN7testing7MatcherIiEC2IRKNS_8internal15AnythingMatcherEvEEOT_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 1 dereferenceable(1) @_ZN7testingL1_E)
          to label %49 unwind label %100

49:                                               ; preds = %48
  invoke void @_ZN7MockFoo10gmock_Bar3ERKN7testing7MatcherIiEES4_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::MockSpec.18") align 8 %17, ptr noundef nonnull align 8 dereferenceable(216) %24, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %50 unwind label %102

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #8
  invoke void @_ZN7testing8internal18GetWithoutMatchersEv()
          to label %51 unwind label %104

51:                                               ; preds = %50
  %52 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN7testing8internal8MockSpecIFviiEEclERKNS0_15WithoutMatchersEPv(ptr noundef nonnull align 8 dereferenceable(56) %17, ptr noundef nonnull align 1 dereferenceable(1) %20, ptr noundef null)
  %53 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal8MockSpecIFviiEE18InternalExpectedAtEPKciS5_S5_(ptr noundef nonnull align 8 dereferenceable(56) %52, ptr noundef nonnull @.str.3, i32 noundef 270, ptr noundef nonnull @.str.63, ptr noundef nonnull @.str.64)
          to label %54 unwind label %104

54:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #8
  invoke void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Cardinality") align 8 %21)
          to label %55 unwind label %106

55:                                               ; preds = %54
  %56 = invoke noundef nonnull align 8 dereferenceable(344) ptr @_ZN7testing8internal16TypedExpectationIFviiEE5TimesERKNS_11CardinalityE(ptr noundef nonnull align 8 dereferenceable(344) %53, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %57 unwind label %108

57:                                               ; preds = %55
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #8
  call void @_ZN7testing8internal8MockSpecIFviiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #8
  %58 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216) %24, i32 noundef 2, i32 noundef 1)
  %59 = call noundef zeroext i1 @_ZN7MockFoo4Bar2Eii(ptr noundef nonnull align 8 dereferenceable(216) %24, i32 noundef 1, i32 noundef 1)
  ret void

60:                                               ; preds = %1
  %61 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %22, i64 noundef 216) #9
  br label %114

62:                                               ; preds = %23
  %63 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %24, i64 noundef 216) #9
  br label %114

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

66:                                               ; preds = %26
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %82

68:                                               ; preds = %27
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %81

70:                                               ; preds = %29, %28
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %80

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

74:                                               ; preds = %33
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %34
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing6ActionIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #8
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZN7testing8internal12ReturnActionIcED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %79

79:                                               ; preds = %78, %72
  %.pn.pn = phi { ptr, i32 } [ %.pn, %78 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  br label %80

80:                                               ; preds = %79, %70
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %79 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  call void @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %2) #8
  br label %81

81:                                               ; preds = %80, %68
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %80 ], [ %69, %68 ]
  call void @_ZN7testing8internal11MatcherBaseIdED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %82

82:                                               ; preds = %81, %66
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %81 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  br label %83

83:                                               ; preds = %82, %64
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %82 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %2) #8
  br label %114

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

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

88:                                               ; preds = %39, %38
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %9) #8
  br label %90

90:                                               ; preds = %88, %86
  %.pn30 = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #8
  br label %91

91:                                               ; preds = %90, %84
  %.pn30.pn = phi { ptr, i32 } [ %.pn30, %90 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #8
  br label %114

92:                                               ; preds = %42
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %99

94:                                               ; preds = %43
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %98

96:                                               ; preds = %45, %44
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @_ZN7testing8internal8MockSpecIFbiiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #8
  br label %98

98:                                               ; preds = %96, %94
  %.pn33 = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  br label %99

99:                                               ; preds = %98, %92
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %98 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #8
  br label %114

100:                                              ; preds = %48
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %113

102:                                              ; preds = %49
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %112

104:                                              ; preds = %51, %50
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %111

106:                                              ; preds = %54
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %110

108:                                              ; preds = %55
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing11CardinalityD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br label %110

110:                                              ; preds = %108, %106
  %.pn36 = phi { ptr, i32 } [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #8
  br label %111

111:                                              ; preds = %110, %104
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %110 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #8
  call void @_ZN7testing8internal8MockSpecIFviiEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %17) #8
  br label %112

112:                                              ; preds = %111, %102
  %.pn36.pn.pn = phi { ptr, i32 } [ %.pn36.pn, %111 ], [ %103, %102 ]
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %113

113:                                              ; preds = %112, %100
  %.pn36.pn.pn.pn = phi { ptr, i32 } [ %.pn36.pn.pn, %112 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZN7testing8internal11MatcherBaseIiED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %17) #8
  br label %114

114:                                              ; preds = %62, %83, %91, %99, %113, %60
  %.pn36.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %61, %60 ], [ %.pn36.pn.pn.pn, %113 ], [ %.pn33.pn, %99 ], [ %.pn30.pn, %91 ], [ %.pn.pn.pn.pn.pn.pn, %83 ], [ %63, %62 ]
  resume { ptr, i32 } %.pn36.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7MockFooC2Ev(ptr noundef nonnull align 8 dereferenceable(216)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal8MockSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE26InternalDefaultActionSetAtEPKciSD_SD_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(144) ptr @_ZN7testing8internal10OnCallSpecIFcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEidEE13WillByDefaultERKNS_6ActionISA_EE(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7testing6ReturnIcEENS_8internal12ReturnActionIT_EES3_(ptr dead_on_unwind noalias writable sret(%"class.testing::internal::ReturnAction.73") align 8, i8 noundef signext) local_unnamed_addr #3

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

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

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

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

declare void @_ZN7testing9AnyNumberEv(ptr dead_on_unwind writable sret(%"class.testing::Cardinality") align 8) local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #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 = { 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 #5 = { "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 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 #7 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { builtin 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)"}


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