; 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::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" = type { %"class.testing::gmock_matchers_test::Base" }
%"class.testing::gmock_matchers_test::Base" = type { ptr }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::ManyDerivedInHierarchy" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1", %"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub2" }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub2" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.806" = type { %"class.testing::PolymorphicMatcher.807" }
%"class.testing::PolymorphicMatcher.807" = type { %"class.testing::internal::WhenDynamicCastToMatcher.808" }
%"class.testing::internal::WhenDynamicCastToMatcher.808" = type { %"class.testing::internal::WhenDynamicCastToMatcherBase.809" }
%"class.testing::internal::WhenDynamicCastToMatcherBase.809" = type { %"class.testing::Matcher.810" }
%"class.testing::Matcher.810" = type { %"class.testing::internal::MatcherBase.811" }
%"class.testing::internal::MatcherBase.811" = type { ptr, %"class.testing::internal::linked_ptr.812" }
%"class.testing::internal::linked_ptr.812" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::PolymorphicMatcher.150" = 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 }
%"class.testing::internal::NotMatcher.789" = type { i8 }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [12 x i8], align 1

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: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing6IsNullEv() #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing3NotINS_18PolymorphicMatcherINS_8internal13IsNullMatcherEEEEENS2_10NotMatcherIT_EES6_() #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test40WhenDynamicCastToTest_AmbiguousCast_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.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1", align 8
  %4 = alloca %"class.testing::gmock_matchers_test::AmbiguousCastTypes::ManyDerivedInHierarchy", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.testing::AssertionResult", align 8
  %9 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.806", align 8
  %10 = alloca %"class.testing::PolymorphicMatcher.807", align 8
  %11 = alloca %"class.testing::Matcher.810", align 8
  %12 = alloca %"class.testing::PolymorphicMatcher.150", align 1
  %13 = alloca %"class.testing::PolymorphicMatcher.150", align 1
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = alloca %"class.testing::AssertionResult", align 8
  %17 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.806", align 8
  %18 = alloca %"class.testing::PolymorphicMatcher.807", align 8
  %19 = alloca %"class.testing::Matcher.810", align 8
  %20 = alloca %"class.testing::internal::NotMatcher.789", align 1
  %21 = alloca %"class.testing::PolymorphicMatcher.150", align 1
  %22 = alloca %"class.testing::PolymorphicMatcher.150", align 1
  %23 = alloca %"class.testing::internal::NotMatcher.789", align 1
  %24 = alloca %"class.testing::Message", align 8
  %25 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %26 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1C1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #7
  invoke void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %27 unwind label %44

27:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %28 = icmp eq ptr %4, null
  br i1 %28, label %34, label %29

29:                                               ; preds = %27
  %30 = load ptr, ptr %4, align 8, !tbaa !9
  %31 = getelementptr i8, ptr %30, i64 -32
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %4, i64 %32
  br label %34

34:                                               ; preds = %29, %27
  %35 = phi ptr [ %33, %29 ], [ null, %27 ]
  store ptr %35, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  invoke void @_ZN7testing6IsNullEv()
          to label %36 unwind label %48

36:                                               ; preds = %34
  invoke void @_ZNK7testing18PolymorphicMatcherINS_8internal13IsNullMatcherEEcvNS_7MatcherIT_EEIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.810") align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %37 unwind label %48

37:                                               ; preds = %36
  invoke void @_ZN7testing17WhenDynamicCastToIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEENS_18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIT_EEEERKNS_7MatcherIS8_EE(ptr dead_on_unwind writable sret(%"class.testing::PolymorphicMatcher.807") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %38 unwind label %52

38:                                               ; preds = %37
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEENS0_29PredicateFormatterFromMatcherIT_EESB_(ptr dead_on_unwind writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.806") align 8 %9, ptr noundef %10)
          to label %39 unwind label %56

39:                                               ; preds = %38
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef @.str.964, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %40 unwind label %60

40:                                               ; preds = %39
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  %41 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %42 unwind label %67

42:                                               ; preds = %40
  br i1 %41, label %43, label %71

43:                                               ; preds = %42
  br label %91

44:                                               ; preds = %1
  %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 %158

48:                                               ; preds = %36, %34
  %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
  br label %66

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

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

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

64:                                               ; preds = %60, %56
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %65

65:                                               ; preds = %64, %52
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  br label %66

66:                                               ; preds = %65, %48
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  br label %110

67:                                               ; preds = %40
  %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 %109

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

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

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

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

76:                                               ; preds = %75
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  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) %15) #7
  br label %89

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

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

91:                                               ; preds = %76, %43
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  %92 = icmp eq ptr %3, null
  br i1 %92, label %98, label %93

93:                                               ; preds = %91
  %94 = load ptr, ptr %3, align 8, !tbaa !9
  %95 = getelementptr i8, ptr %94, i64 -32
  %96 = load i64, ptr %95, align 8
  %97 = getelementptr inbounds i8, ptr %3, i64 %96
  br label %98

98:                                               ; preds = %93, %91
  %99 = phi ptr [ %97, %93 ], [ null, %91 ]
  store ptr %99, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  invoke void @_ZN7testing6IsNullEv()
          to label %100 unwind label %111

100:                                              ; preds = %98
  invoke void @_ZN7testing3NotINS_18PolymorphicMatcherINS_8internal13IsNullMatcherEEEEENS2_10NotMatcherIT_EES6_()
          to label %101 unwind label %111

101:                                              ; preds = %100
  invoke void @_ZNK7testing8internal10NotMatcherINS_18PolymorphicMatcherINS0_13IsNullMatcherEEEEcvNS_7MatcherIT_EEIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEv(ptr dead_on_unwind writable sret(%"class.testing::Matcher.810") align 8 %19, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %102 unwind label %111

102:                                              ; preds = %101
  invoke void @_ZN7testing17WhenDynamicCastToIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEENS_18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIT_EEEERKNS_7MatcherIS8_EE(ptr dead_on_unwind writable sret(%"class.testing::PolymorphicMatcher.807") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %103 unwind label %115

103:                                              ; preds = %102
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEENS0_29PredicateFormatterFromMatcherIT_EESB_(ptr dead_on_unwind writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.806") align 8 %17, ptr noundef %18)
          to label %104 unwind label %119

104:                                              ; preds = %103
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef @.str.964, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %105 unwind label %123

105:                                              ; preds = %104
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  %106 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %107 unwind label %130

107:                                              ; preds = %105
  br i1 %106, label %108, label %134

108:                                              ; preds = %107
  br label %154

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

110:                                              ; preds = %109, %66
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  br label %157

111:                                              ; preds = %101, %100, %98
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %5, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %6, align 4
  br label %129

115:                                              ; preds = %102
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %5, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %6, align 4
  br label %128

119:                                              ; preds = %103
  %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 %127

123:                                              ; preds = %104
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %5, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %6, align 4
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %128

128:                                              ; preds = %127, %115
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  br label %129

129:                                              ; preds = %128, %111
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  br label %156

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

134:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %135 unwind label %140

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %136 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %137 unwind label %144

137:                                              ; preds = %135
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 1, ptr noundef @.str.5, i32 noundef 3242, ptr noundef %136)
          to label %138 unwind label %144

138:                                              ; preds = %137
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %139 unwind label %148

139:                                              ; preds = %138
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %154

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

144:                                              ; preds = %137, %135
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %5, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %6, align 4
  br label %152

148:                                              ; preds = %138
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %5, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  br label %153

153:                                              ; preds = %152, %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %155

154:                                              ; preds = %139, %108
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1D1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret void

155:                                              ; preds = %153, %130
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #7
  br label %156

156:                                              ; preds = %155, %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  br label %157

157:                                              ; preds = %156, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #7
  br label %158

158:                                              ; preds = %157, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1D1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %159

159:                                              ; preds = %158
  %160 = load ptr, ptr %5, align 8
  %161 = load i32, ptr %6, align 4
  %162 = insertvalue { ptr, i32 } poison, ptr %160, 0
  %163 = insertvalue { ptr, i32 } %162, i32 %161, 1
  resume { ptr, i32 } %163
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing17WhenDynamicCastToIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEENS_18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIT_EEEERKNS_7MatcherIS8_EE(ptr dead_on_unwind noalias writable sret(%"class.testing::PolymorphicMatcher.807") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #6

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_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 8 dereferenceable(8)) #3 align 2

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, 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::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" = type { %"class.testing::gmock_matchers_test::Base" }
%"class.testing::gmock_matchers_test::Base" = type { ptr }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::ManyDerivedInHierarchy" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1", %"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub2" }
%"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub2" = type { %"class.testing::gmock_matchers_test::AmbiguousCastTypes::VirtualDerived" }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr" }
%"class.testing::internal::scoped_ptr" = type { ptr }
%"class.testing::internal::PredicateFormatterFromMatcher.806" = type { %"class.testing::PolymorphicMatcher.807" }
%"class.testing::PolymorphicMatcher.807" = type { %"class.testing::internal::WhenDynamicCastToMatcher.808" }
%"class.testing::internal::WhenDynamicCastToMatcher.808" = type { %"class.testing::internal::WhenDynamicCastToMatcherBase.809" }
%"class.testing::internal::WhenDynamicCastToMatcherBase.809" = type { %"class.testing::Matcher.810" }
%"class.testing::Matcher.810" = type { %"class.testing::internal::MatcherBase.811" }
%"class.testing::internal::MatcherBase.811" = type { ptr, %"class.testing::internal::linked_ptr.812" }
%"class.testing::internal::linked_ptr.812" = type { ptr, %"class.testing::internal::linked_ptr_internal" }
%"class.testing::internal::linked_ptr_internal" = type { ptr }
%"class.testing::PolymorphicMatcher.150" = 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 }
%"class.testing::internal::NotMatcher.789" = type { i8 }

@.str.5 = external hidden unnamed_addr constant [123 x i8], align 1
@.str.964 = external hidden unnamed_addr constant [12 x i8], align 1

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: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing6IsNullEv() local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7testing3NotINS_18PolymorphicMatcherINS_8internal13IsNullMatcherEEEEENS2_10NotMatcherIT_EES6_() local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7testing19gmock_matchers_test40WhenDynamicCastToTest_AmbiguousCast_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.testing::gmock_matchers_test::AmbiguousCastTypes::DerivedSub1", align 8
  %3 = alloca %"class.testing::gmock_matchers_test::AmbiguousCastTypes::ManyDerivedInHierarchy", align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.testing::AssertionResult", align 8
  %6 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.806", align 8
  %7 = alloca %"class.testing::PolymorphicMatcher.807", align 8
  %8 = alloca %"class.testing::Matcher.810", align 8
  %9 = alloca %"class.testing::PolymorphicMatcher.150", align 1
  %10 = alloca %"class.testing::Message", align 8
  %11 = alloca %"class.testing::internal::AssertHelper", align 8
  %12 = alloca %"class.testing::AssertionResult", align 8
  %13 = alloca %"class.testing::internal::PredicateFormatterFromMatcher.806", align 8
  %14 = alloca %"class.testing::PolymorphicMatcher.807", align 8
  %15 = alloca %"class.testing::Matcher.810", align 8
  %16 = alloca %"class.testing::internal::NotMatcher.789", align 1
  %17 = alloca %"class.testing::Message", align 8
  %18 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1C1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  invoke void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %19 unwind label %30

19:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr i8, ptr %20, i64 -32
  %22 = load i64, ptr %21, align 8
  %23 = getelementptr inbounds i8, ptr %3, i64 %22
  store ptr %23, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #7
  invoke void @_ZN7testing6IsNullEv()
          to label %24 unwind label %32

24:                                               ; preds = %19
  invoke void @_ZNK7testing18PolymorphicMatcherINS_8internal13IsNullMatcherEEcvNS_7MatcherIT_EEIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.810") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %25 unwind label %32

25:                                               ; preds = %24
  invoke void @_ZN7testing17WhenDynamicCastToIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEENS_18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIT_EEEERKNS_7MatcherIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.testing::PolymorphicMatcher.807") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %26 unwind label %34

26:                                               ; preds = %25
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEENS0_29PredicateFormatterFromMatcherIT_EESB_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.806") align 8 %6, ptr noundef nonnull %7)
          to label %27 unwind label %36

27:                                               ; preds = %26
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull @.str.964, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %28 unwind label %38

28:                                               ; preds = %27
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  %29 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  br i1 %29, label %57, label %43

30:                                               ; preds = %1
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %98

32:                                               ; preds = %24, %19
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %42

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %41

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %40

38:                                               ; preds = %27
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %41

41:                                               ; preds = %40, %34
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %35, %34 ]
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %42

42:                                               ; preds = %41, %32
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %41 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %69

43:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %44 unwind label %49

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %45 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %46 unwind label %51

46:                                               ; preds = %44
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 3238, ptr noundef %45)
          to label %47 unwind label %51

47:                                               ; preds = %46
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  br label %57

49:                                               ; preds = %43
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %56

51:                                               ; preds = %46, %44
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %47
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %55

55:                                               ; preds = %53, %51
  %.pn20 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br label %56

56:                                               ; preds = %55, %49
  %.pn20.pn = phi { ptr, i32 } [ %.pn20, %55 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  br label %69

57:                                               ; preds = %28, %48
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr i8, ptr %58, i64 -32
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds i8, ptr %2, i64 %60
  store ptr %61, ptr %4, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  invoke void @_ZN7testing6IsNullEv()
          to label %62 unwind label %70

62:                                               ; preds = %57
  invoke void @_ZN7testing3NotINS_18PolymorphicMatcherINS_8internal13IsNullMatcherEEEEENS2_10NotMatcherIT_EES6_()
          to label %63 unwind label %70

63:                                               ; preds = %62
  invoke void @_ZNK7testing8internal10NotMatcherINS_18PolymorphicMatcherINS0_13IsNullMatcherEEEEcvNS_7MatcherIT_EEIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEv(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher.810") align 8 %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %64 unwind label %70

64:                                               ; preds = %63
  invoke void @_ZN7testing17WhenDynamicCastToIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEENS_18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIT_EEEERKNS_7MatcherIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.testing::PolymorphicMatcher.807") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %65 unwind label %72

65:                                               ; preds = %64
  invoke void @_ZN7testing8internal33MakePredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEENS0_29PredicateFormatterFromMatcherIT_EESB_(ptr dead_on_unwind nonnull writable sret(%"class.testing::internal::PredicateFormatterFromMatcher.806") align 8 %13, ptr noundef nonnull %14)
          to label %66 unwind label %74

66:                                               ; preds = %65
  invoke void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_15AssertionResultEPKcRKT_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull @.str.964, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %67 unwind label %76

67:                                               ; preds = %66
  call void @_ZN7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @_ZN7testing18PolymorphicMatcherINS_8internal24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  %68 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
  br i1 %68, label %95, label %81

69:                                               ; preds = %56, %42
  %.pn20.pn.pn = phi { ptr, i32 } [ %.pn20.pn, %56 ], [ %.pn.pn.pn, %42 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %97

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

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

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

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

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

79:                                               ; preds = %78, %72
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %78 ], [ %73, %72 ]
  call void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %80

80:                                               ; preds = %79, %70
  %.pn24.pn.pn = phi { ptr, i32 } [ %.pn24.pn, %79 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %96

81:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %82 unwind label %87

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  %83 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %84 unwind label %89

84:                                               ; preds = %82
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 1, ptr noundef nonnull @.str.5, i32 noundef 3242, ptr noundef %83)
          to label %85 unwind label %89

85:                                               ; preds = %84
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %86 unwind label %91

86:                                               ; preds = %85
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %95

87:                                               ; preds = %81
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %94

89:                                               ; preds = %84, %82
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %85
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  br label %93

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

94:                                               ; preds = %93, %87
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %93 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  br label %96

95:                                               ; preds = %67, %86
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1D1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  ret void

96:                                               ; preds = %94, %80
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %94 ], [ %.pn24.pn.pn, %80 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %97

97:                                               ; preds = %96, %69
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %96 ], [ %.pn20.pn.pn, %69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes22ManyDerivedInHierarchyD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  br label %98

98:                                               ; preds = %97, %30
  %.pn28.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn, %97 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @_ZN7testing19gmock_matchers_test18AmbiguousCastTypes11DerivedSub1D1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn28.pn.pn.pn.pn
}

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS_18PolymorphicMatcherINS0_24WhenDynamicCastToMatcherIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEEEEEEclIPNS4_4BaseEEENS_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 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7testing8internal11MatcherBaseIPNS_19gmock_matchers_test18AmbiguousCastTypes14VirtualDerivedEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}


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