; LLVM IR from gem5/gem5 :: src/base/intmath.test.ll (ZN32IntmathDeathTest_Log2iDeath_Test8TestBodyEv)

; 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::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" }
%"class.testing::MatcherDescriberInterface" = type { ptr }
%"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" = type { ptr }
%"class.std::unique_ptr.35" = type { %"struct.std::__uniq_ptr_data.36" }
%"struct.std::__uniq_ptr_data.36" = type { %"class.std::__uniq_ptr_impl.37" }
%"class.std::__uniq_ptr_impl.37" = type { %"class.std::tuple.38" }
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Head_base.42" }
%"struct.std::_Head_base.42" = type { ptr }
%"class.testing::internal::DeathTest::ReturnSentinel" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.testing::Message" = type { %"class.std::unique_ptr.2" }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZTISt9exception = external constant ptr
@stderr = external global ptr, align 8
@.str.123 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [39 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 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 #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN4gem5L5log2iEi(i32 noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN32IntmathDeathTest_Log2iDeath_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.testing::Matcher", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::unique_ptr.35", align 8
  %8 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.testing::Message", align 8
  %14 = alloca %"class.testing::internal::AssertHelper", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.testing::Matcher", align 8
  %17 = alloca %"class.std::unique_ptr.35", align 8
  %18 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.testing::Message", align 8
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.testing::Matcher", align 8
  %26 = alloca %"class.std::unique_ptr.35", align 8
  %27 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.testing::Message", align 8
  %32 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %33 = load ptr, ptr %2, align 8
  %34 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %34, label %35, label %174

35:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind writable sret(%"class.testing::Matcher") align 8 %4, ptr noundef @.str.122)
  %36 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef @.str.121, ptr noundef %4, ptr noundef @.str.3, i32 noundef 319, ptr noundef %3)
          to label %37 unwind label %40

37:                                               ; preds = %35
  %38 = xor i1 %36, true
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br i1 %38, label %39, label %44

39:                                               ; preds = %37
  store i32 2, ptr %12, align 4
  br label %170

40:                                               ; preds = %35
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %5, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %6, align 4
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #9
  br label %173

44:                                               ; preds = %37
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = icmp ne ptr %45, null
  br i1 %46, label %47, label %169

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %48) #9
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds ptr, ptr %50, i64 2
  %52 = load ptr, ptr %51, align 8
  %53 = invoke noundef i32 %52(ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %54 unwind label %55

54:                                               ; preds = %47
  switch i32 %53, label %164 [
    i32 0, label %59
    i32 1, label %76
  ]

55:                                               ; preds = %68, %66, %59, %47
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %5, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %6, align 4
  br label %168

59:                                               ; preds = %54
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = getelementptr inbounds ptr, ptr %62, i64 3
  %64 = load ptr, ptr %63, align 8
  %65 = invoke noundef i32 %64(ptr noundef nonnull align 8 dereferenceable(8) %61)
          to label %66 unwind label %55

66:                                               ; preds = %59
  %67 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %65)
          to label %68 unwind label %55

68:                                               ; preds = %66
  %69 = load ptr, ptr %60, align 8, !tbaa !9
  %70 = getelementptr inbounds ptr, ptr %69, i64 4
  %71 = load ptr, ptr %70, align 8
  %72 = invoke noundef zeroext i1 %71(ptr noundef nonnull align 8 dereferenceable(8) %60, i1 noundef zeroext %67)
          to label %73 unwind label %55

73:                                               ; preds = %68
  br i1 %72, label %75, label %74

74:                                               ; preds = %73
  store i32 2, ptr %12, align 4
  br label %165

75:                                               ; preds = %73
  br label %164

76:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %77 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %77)
          to label %78 unwind label %84

78:                                               ; preds = %76
  %79 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %80 unwind label %88

80:                                               ; preds = %78
  br i1 %79, label %81, label %136

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 0, ptr %9, align 4, !tbaa !11
  %82 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef 0)
          to label %83 unwind label %92

83:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %137

84:                                               ; preds = %76
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %5, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %6, align 4
  br label %163

88:                                               ; preds = %78
  %89 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %5, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %6, align 4
  br label %96

92:                                               ; preds = %81
  %93 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %5, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %96

96:                                               ; preds = %92, %88
  %97 = load i32, ptr %6, align 4
  %98 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %99 = icmp eq i32 %97, %98
  br i1 %99, label %100, label %127

100:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %101 = load ptr, ptr %5, align 8
  %102 = call ptr @__cxa_begin_catch(ptr %101) #9
  store ptr %102, ptr %10, align 8
  %103 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef @.str.3, i32 noundef 319)
          to label %104 unwind label %147

104:                                              ; preds = %100
  %105 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = getelementptr inbounds ptr, ptr %107, i64 2
  %109 = load ptr, ptr %108, align 8
  %110 = call noundef ptr %109(ptr noundef nonnull align 8 dereferenceable(8) %106) #9
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.123, ptr noundef %105, ptr noundef %110) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  %112 = load ptr, ptr @stderr, align 8, !tbaa !5
  %113 = invoke i32 @fflush(ptr noundef %112)
          to label %114 unwind label %151

114:                                              ; preds = %104
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = load ptr, ptr %115, align 8, !tbaa !9
  %117 = getelementptr inbounds ptr, ptr %116, i64 5
  %118 = load ptr, ptr %117, align 8
  invoke void %118(ptr noundef nonnull align 8 dereferenceable(8) %115, i32 noundef 1)
          to label %119 unwind label %151

119:                                              ; preds = %114
  invoke void @__cxa_end_catch()
          to label %120 unwind label %155

120:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %121

121:                                              ; preds = %137, %135, %120
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  %123 = load ptr, ptr %122, align 8, !tbaa !9
  %124 = getelementptr inbounds ptr, ptr %123, i64 5
  %125 = load ptr, ptr %124, align 8
  invoke void %125(ptr noundef nonnull align 8 dereferenceable(8) %122, i32 noundef 2)
          to label %126 unwind label %142

126:                                              ; preds = %121
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %164

127:                                              ; preds = %96
  %128 = load ptr, ptr %5, align 8
  %129 = call ptr @__cxa_begin_catch(ptr %128) #9
  %130 = load ptr, ptr %3, align 8, !tbaa !5
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds ptr, ptr %131, i64 5
  %133 = load ptr, ptr %132, align 8
  invoke void %133(ptr noundef nonnull align 8 dereferenceable(8) %130, i32 noundef 1)
          to label %134 unwind label %138

134:                                              ; preds = %127
  invoke void @__cxa_end_catch()
          to label %135 unwind label %142

135:                                              ; preds = %134
  br label %121

136:                                              ; preds = %80
  br label %137

137:                                              ; preds = %136, %83
  br label %121

138:                                              ; preds = %127
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %5, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %6, align 4
  invoke void @__cxa_end_catch()
          to label %146 unwind label %507

142:                                              ; preds = %134, %121
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %5, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %6, align 4
  br label %162

146:                                              ; preds = %138
  br label %162

147:                                              ; preds = %100
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %5, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #9
  br label %159

151:                                              ; preds = %114, %104
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %5, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %6, align 4
  br label %159

155:                                              ; preds = %119
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %5, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %6, align 4
  br label %161

159:                                              ; preds = %151, %147
  invoke void @__cxa_end_catch()
          to label %160 unwind label %507

160:                                              ; preds = %159
  br label %161

161:                                              ; preds = %160, %155
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  br label %162

162:                                              ; preds = %161, %146, %142
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  br label %163

163:                                              ; preds = %162, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %168

164:                                              ; preds = %126, %75, %54
  store i32 0, ptr %12, align 4
  br label %165

165:                                              ; preds = %164, %74
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  %166 = load i32, ptr %12, align 4
  switch i32 %166, label %170 [
    i32 0, label %167
  ]

167:                                              ; preds = %165
  br label %169

168:                                              ; preds = %163, %55
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  br label %173

169:                                              ; preds = %167, %44
  store i32 0, ptr %12, align 4
  br label %170

170:                                              ; preds = %169, %165, %39
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  %171 = load i32, ptr %12, align 4
  switch i32 %171, label %510 [
    i32 0, label %172
    i32 2, label %175
  ]

172:                                              ; preds = %170
  br label %189

173:                                              ; preds = %168, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  br label %502

174:                                              ; preds = %1
  br label %175

175:                                              ; preds = %174, %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %176 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %177 unwind label %180

177:                                              ; preds = %175
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %14, i32 noundef 1, ptr noundef @.str.3, i32 noundef 319, ptr noundef %176)
          to label %178 unwind label %180

178:                                              ; preds = %177
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %179 unwind label %184

179:                                              ; preds = %178
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %189

180:                                              ; preds = %177, %175
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %5, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %6, align 4
  br label %188

184:                                              ; preds = %178
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %5, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %188

188:                                              ; preds = %184, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  br label %502

189:                                              ; preds = %179, %172
  %190 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %190, label %191, label %330

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind writable sret(%"class.testing::Matcher") align 8 %16, ptr noundef @.str.122)
  %192 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef @.str.124, ptr noundef %16, ptr noundef @.str.3, i32 noundef 325, ptr noundef %15)
          to label %193 unwind label %196

193:                                              ; preds = %191
  %194 = xor i1 %192, true
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br i1 %194, label %195, label %200

195:                                              ; preds = %193
  store i32 4, ptr %12, align 4
  br label %326

196:                                              ; preds = %191
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %5, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %6, align 4
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #9
  br label %329

200:                                              ; preds = %193
  %201 = load ptr, ptr %15, align 8, !tbaa !5
  %202 = icmp ne ptr %201, null
  br i1 %202, label %203, label %325

203:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %204 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %204) #9
  %205 = load ptr, ptr %15, align 8, !tbaa !5
  %206 = load ptr, ptr %205, align 8, !tbaa !9
  %207 = getelementptr inbounds ptr, ptr %206, i64 2
  %208 = load ptr, ptr %207, align 8
  %209 = invoke noundef i32 %208(ptr noundef nonnull align 8 dereferenceable(8) %205)
          to label %210 unwind label %211

210:                                              ; preds = %203
  switch i32 %209, label %320 [
    i32 0, label %215
    i32 1, label %232
  ]

211:                                              ; preds = %224, %222, %215, %203
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %5, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %6, align 4
  br label %324

215:                                              ; preds = %210
  %216 = load ptr, ptr %15, align 8, !tbaa !5
  %217 = load ptr, ptr %15, align 8, !tbaa !5
  %218 = load ptr, ptr %217, align 8, !tbaa !9
  %219 = getelementptr inbounds ptr, ptr %218, i64 3
  %220 = load ptr, ptr %219, align 8
  %221 = invoke noundef i32 %220(ptr noundef nonnull align 8 dereferenceable(8) %217)
          to label %222 unwind label %211

222:                                              ; preds = %215
  %223 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %221)
          to label %224 unwind label %211

224:                                              ; preds = %222
  %225 = load ptr, ptr %216, align 8, !tbaa !9
  %226 = getelementptr inbounds ptr, ptr %225, i64 4
  %227 = load ptr, ptr %226, align 8
  %228 = invoke noundef zeroext i1 %227(ptr noundef nonnull align 8 dereferenceable(8) %216, i1 noundef zeroext %223)
          to label %229 unwind label %211

229:                                              ; preds = %224
  br i1 %228, label %231, label %230

230:                                              ; preds = %229
  store i32 4, ptr %12, align 4
  br label %321

231:                                              ; preds = %229
  br label %320

232:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %233 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %233)
          to label %234 unwind label %240

234:                                              ; preds = %232
  %235 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %236 unwind label %244

236:                                              ; preds = %234
  br i1 %235, label %237, label %292

237:                                              ; preds = %236
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  store i32 -1, ptr %19, align 4, !tbaa !11
  %238 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef -1)
          to label %239 unwind label %248

239:                                              ; preds = %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %293

240:                                              ; preds = %232
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %5, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %6, align 4
  br label %319

244:                                              ; preds = %234
  %245 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %5, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %6, align 4
  br label %252

248:                                              ; preds = %237
  %249 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %5, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  br label %252

252:                                              ; preds = %248, %244
  %253 = load i32, ptr %6, align 4
  %254 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %255 = icmp eq i32 %253, %254
  br i1 %255, label %256, label %283

256:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %257 = load ptr, ptr %5, align 8
  %258 = call ptr @__cxa_begin_catch(ptr %257) #9
  store ptr %258, ptr %20, align 8
  %259 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef @.str.3, i32 noundef 325)
          to label %260 unwind label %303

260:                                              ; preds = %256
  %261 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  %262 = load ptr, ptr %20, align 8, !tbaa !5
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = getelementptr inbounds ptr, ptr %263, i64 2
  %265 = load ptr, ptr %264, align 8
  %266 = call noundef ptr %265(ptr noundef nonnull align 8 dereferenceable(8) %262) #9
  %267 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.123, ptr noundef %261, ptr noundef %266) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  %268 = load ptr, ptr @stderr, align 8, !tbaa !5
  %269 = invoke i32 @fflush(ptr noundef %268)
          to label %270 unwind label %307

270:                                              ; preds = %260
  %271 = load ptr, ptr %15, align 8, !tbaa !5
  %272 = load ptr, ptr %271, align 8, !tbaa !9
  %273 = getelementptr inbounds ptr, ptr %272, i64 5
  %274 = load ptr, ptr %273, align 8
  invoke void %274(ptr noundef nonnull align 8 dereferenceable(8) %271, i32 noundef 1)
          to label %275 unwind label %307

275:                                              ; preds = %270
  invoke void @__cxa_end_catch()
          to label %276 unwind label %311

276:                                              ; preds = %275
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %277

277:                                              ; preds = %293, %291, %276
  %278 = load ptr, ptr %15, align 8, !tbaa !5
  %279 = load ptr, ptr %278, align 8, !tbaa !9
  %280 = getelementptr inbounds ptr, ptr %279, i64 5
  %281 = load ptr, ptr %280, align 8
  invoke void %281(ptr noundef nonnull align 8 dereferenceable(8) %278, i32 noundef 2)
          to label %282 unwind label %298

282:                                              ; preds = %277
  store i32 5, ptr %12, align 4
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %320

283:                                              ; preds = %252
  %284 = load ptr, ptr %5, align 8
  %285 = call ptr @__cxa_begin_catch(ptr %284) #9
  %286 = load ptr, ptr %15, align 8, !tbaa !5
  %287 = load ptr, ptr %286, align 8, !tbaa !9
  %288 = getelementptr inbounds ptr, ptr %287, i64 5
  %289 = load ptr, ptr %288, align 8
  invoke void %289(ptr noundef nonnull align 8 dereferenceable(8) %286, i32 noundef 1)
          to label %290 unwind label %294

290:                                              ; preds = %283
  invoke void @__cxa_end_catch()
          to label %291 unwind label %298

291:                                              ; preds = %290
  br label %277

292:                                              ; preds = %236
  br label %293

293:                                              ; preds = %292, %239
  br label %277

294:                                              ; preds = %283
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %5, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %6, align 4
  invoke void @__cxa_end_catch()
          to label %302 unwind label %507

298:                                              ; preds = %290, %277
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %5, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %6, align 4
  br label %318

302:                                              ; preds = %294
  br label %318

303:                                              ; preds = %256
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %5, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %315

307:                                              ; preds = %270, %260
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %5, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %6, align 4
  br label %315

311:                                              ; preds = %275
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %5, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %6, align 4
  br label %317

315:                                              ; preds = %307, %303
  invoke void @__cxa_end_catch()
          to label %316 unwind label %507

316:                                              ; preds = %315
  br label %317

317:                                              ; preds = %316, %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  br label %318

318:                                              ; preds = %317, %302, %298
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  br label %319

319:                                              ; preds = %318, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %324

320:                                              ; preds = %282, %231, %210
  store i32 0, ptr %12, align 4
  br label %321

321:                                              ; preds = %320, %230
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  %322 = load i32, ptr %12, align 4
  switch i32 %322, label %326 [
    i32 0, label %323
  ]

323:                                              ; preds = %321
  br label %325

324:                                              ; preds = %319, %211
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %329

325:                                              ; preds = %323, %200
  store i32 0, ptr %12, align 4
  br label %326

326:                                              ; preds = %325, %321, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  %327 = load i32, ptr %12, align 4
  switch i32 %327, label %510 [
    i32 0, label %328
    i32 4, label %331
  ]

328:                                              ; preds = %326
  br label %345

329:                                              ; preds = %324, %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  br label %502

330:                                              ; preds = %189
  br label %331

331:                                              ; preds = %330, %326
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %332 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %333 unwind label %336

333:                                              ; preds = %331
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 1, ptr noundef @.str.3, i32 noundef 325, ptr noundef %332)
          to label %334 unwind label %336

334:                                              ; preds = %333
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %335 unwind label %340

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

336:                                              ; preds = %333, %331
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %5, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %6, align 4
  br label %344

340:                                              ; preds = %334
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %5, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %344

344:                                              ; preds = %340, %336
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  br label %502

345:                                              ; preds = %335, %328
  %346 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %346, label %347, label %486

347:                                              ; preds = %345
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind writable sret(%"class.testing::Matcher") align 8 %25, ptr noundef @.str.2)
  %348 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef @.str.125, ptr noundef %25, ptr noundef @.str.3, i32 noundef 331, ptr noundef %24)
          to label %349 unwind label %352

349:                                              ; preds = %347
  %350 = xor i1 %348, true
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  br i1 %350, label %351, label %356

351:                                              ; preds = %349
  store i32 6, ptr %12, align 4
  br label %482

352:                                              ; preds = %347
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %5, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %6, align 4
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #9
  br label %485

356:                                              ; preds = %349
  %357 = load ptr, ptr %24, align 8, !tbaa !5
  %358 = icmp ne ptr %357, null
  br i1 %358, label %359, label %481

359:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %360 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef %360) #9
  %361 = load ptr, ptr %24, align 8, !tbaa !5
  %362 = load ptr, ptr %361, align 8, !tbaa !9
  %363 = getelementptr inbounds ptr, ptr %362, i64 2
  %364 = load ptr, ptr %363, align 8
  %365 = invoke noundef i32 %364(ptr noundef nonnull align 8 dereferenceable(8) %361)
          to label %366 unwind label %367

366:                                              ; preds = %359
  switch i32 %365, label %476 [
    i32 0, label %371
    i32 1, label %388
  ]

367:                                              ; preds = %380, %378, %371, %359
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %5, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %6, align 4
  br label %480

371:                                              ; preds = %366
  %372 = load ptr, ptr %24, align 8, !tbaa !5
  %373 = load ptr, ptr %24, align 8, !tbaa !5
  %374 = load ptr, ptr %373, align 8, !tbaa !9
  %375 = getelementptr inbounds ptr, ptr %374, i64 3
  %376 = load ptr, ptr %375, align 8
  %377 = invoke noundef i32 %376(ptr noundef nonnull align 8 dereferenceable(8) %373)
          to label %378 unwind label %367

378:                                              ; preds = %371
  %379 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %377)
          to label %380 unwind label %367

380:                                              ; preds = %378
  %381 = load ptr, ptr %372, align 8, !tbaa !9
  %382 = getelementptr inbounds ptr, ptr %381, i64 4
  %383 = load ptr, ptr %382, align 8
  %384 = invoke noundef zeroext i1 %383(ptr noundef nonnull align 8 dereferenceable(8) %372, i1 noundef zeroext %379)
          to label %385 unwind label %367

385:                                              ; preds = %380
  br i1 %384, label %387, label %386

386:                                              ; preds = %385
  store i32 6, ptr %12, align 4
  br label %477

387:                                              ; preds = %385
  br label %476

388:                                              ; preds = %366
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %389 = load ptr, ptr %24, align 8, !tbaa !5
  invoke void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef %389)
          to label %390 unwind label %396

390:                                              ; preds = %388
  %391 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %392 unwind label %400

392:                                              ; preds = %390
  br i1 %391, label %393, label %448

393:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  store i32 5, ptr %28, align 4, !tbaa !11
  %394 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef 5)
          to label %395 unwind label %404

395:                                              ; preds = %393
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  br label %449

396:                                              ; preds = %388
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %5, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %6, align 4
  br label %475

400:                                              ; preds = %390
  %401 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %5, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %6, align 4
  br label %408

404:                                              ; preds = %393
  %405 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %5, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  br label %408

408:                                              ; preds = %404, %400
  %409 = load i32, ptr %6, align 4
  %410 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %411 = icmp eq i32 %409, %410
  br i1 %411, label %412, label %439

412:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %413 = load ptr, ptr %5, align 8
  %414 = call ptr @__cxa_begin_catch(ptr %413) #9
  store ptr %414, ptr %29, align 8
  %415 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #9
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %30, ptr noundef @.str.3, i32 noundef 331)
          to label %416 unwind label %459

416:                                              ; preds = %412
  %417 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  %418 = load ptr, ptr %29, align 8, !tbaa !5
  %419 = load ptr, ptr %418, align 8, !tbaa !9
  %420 = getelementptr inbounds ptr, ptr %419, i64 2
  %421 = load ptr, ptr %420, align 8
  %422 = call noundef ptr %421(ptr noundef nonnull align 8 dereferenceable(8) %418) #9
  %423 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %415, ptr noundef @.str.123, ptr noundef %417, ptr noundef %422) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  %424 = load ptr, ptr @stderr, align 8, !tbaa !5
  %425 = invoke i32 @fflush(ptr noundef %424)
          to label %426 unwind label %463

426:                                              ; preds = %416
  %427 = load ptr, ptr %24, align 8, !tbaa !5
  %428 = load ptr, ptr %427, align 8, !tbaa !9
  %429 = getelementptr inbounds ptr, ptr %428, i64 5
  %430 = load ptr, ptr %429, align 8
  invoke void %430(ptr noundef nonnull align 8 dereferenceable(8) %427, i32 noundef 1)
          to label %431 unwind label %463

431:                                              ; preds = %426
  invoke void @__cxa_end_catch()
          to label %432 unwind label %467

432:                                              ; preds = %431
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %433

433:                                              ; preds = %449, %447, %432
  %434 = load ptr, ptr %24, align 8, !tbaa !5
  %435 = load ptr, ptr %434, align 8, !tbaa !9
  %436 = getelementptr inbounds ptr, ptr %435, i64 5
  %437 = load ptr, ptr %436, align 8
  invoke void %437(ptr noundef nonnull align 8 dereferenceable(8) %434, i32 noundef 2)
          to label %438 unwind label %454

438:                                              ; preds = %433
  store i32 7, ptr %12, align 4
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %476

439:                                              ; preds = %408
  %440 = load ptr, ptr %5, align 8
  %441 = call ptr @__cxa_begin_catch(ptr %440) #9
  %442 = load ptr, ptr %24, align 8, !tbaa !5
  %443 = load ptr, ptr %442, align 8, !tbaa !9
  %444 = getelementptr inbounds ptr, ptr %443, i64 5
  %445 = load ptr, ptr %444, align 8
  invoke void %445(ptr noundef nonnull align 8 dereferenceable(8) %442, i32 noundef 1)
          to label %446 unwind label %450

446:                                              ; preds = %439
  invoke void @__cxa_end_catch()
          to label %447 unwind label %454

447:                                              ; preds = %446
  br label %433

448:                                              ; preds = %392
  br label %449

449:                                              ; preds = %448, %395
  br label %433

450:                                              ; preds = %439
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %5, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %6, align 4
  invoke void @__cxa_end_catch()
          to label %458 unwind label %507

454:                                              ; preds = %446, %433
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %5, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %6, align 4
  br label %474

458:                                              ; preds = %450
  br label %474

459:                                              ; preds = %412
  %460 = landingpad { ptr, i32 }
          cleanup
  %461 = extractvalue { ptr, i32 } %460, 0
  store ptr %461, ptr %5, align 8
  %462 = extractvalue { ptr, i32 } %460, 1
  store i32 %462, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #9
  br label %471

463:                                              ; preds = %426, %416
  %464 = landingpad { ptr, i32 }
          cleanup
  %465 = extractvalue { ptr, i32 } %464, 0
  store ptr %465, ptr %5, align 8
  %466 = extractvalue { ptr, i32 } %464, 1
  store i32 %466, ptr %6, align 4
  br label %471

467:                                              ; preds = %431
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %5, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %6, align 4
  br label %473

471:                                              ; preds = %463, %459
  invoke void @__cxa_end_catch()
          to label %472 unwind label %507

472:                                              ; preds = %471
  br label %473

473:                                              ; preds = %472, %467
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %474

474:                                              ; preds = %473, %458, %454
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  br label %475

475:                                              ; preds = %474, %396
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %480

476:                                              ; preds = %438, %387, %366
  store i32 0, ptr %12, align 4
  br label %477

477:                                              ; preds = %476, %386
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  %478 = load i32, ptr %12, align 4
  switch i32 %478, label %482 [
    i32 0, label %479
  ]

479:                                              ; preds = %477
  br label %481

480:                                              ; preds = %475, %367
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  br label %485

481:                                              ; preds = %479, %356
  store i32 0, ptr %12, align 4
  br label %482

482:                                              ; preds = %481, %477, %351
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  %483 = load i32, ptr %12, align 4
  switch i32 %483, label %510 [
    i32 0, label %484
    i32 6, label %487
  ]

484:                                              ; preds = %482
  br label %501

485:                                              ; preds = %480, %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  br label %502

486:                                              ; preds = %345
  br label %487

487:                                              ; preds = %486, %482
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %488 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %489 unwind label %492

489:                                              ; preds = %487
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef 1, ptr noundef @.str.3, i32 noundef 331, ptr noundef %488)
          to label %490 unwind label %492

490:                                              ; preds = %489
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %31)
          to label %491 unwind label %496

491:                                              ; preds = %490
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %501

492:                                              ; preds = %489, %487
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %5, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %6, align 4
  br label %500

496:                                              ; preds = %490
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %5, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %6, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  br label %500

500:                                              ; preds = %496, %492
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  br label %502

501:                                              ; preds = %491, %484
  ret void

502:                                              ; preds = %500, %485, %344, %329, %188, %173
  %503 = load ptr, ptr %5, align 8
  %504 = load i32, ptr %6, align 4
  %505 = insertvalue { ptr, i32 } poison, ptr %503, 0
  %506 = insertvalue { ptr, i32 } %505, i32 %504, 1
  resume { ptr, i32 } %506

507:                                              ; preds = %471, %450, %315, %294, %159, %138
  %508 = landingpad { ptr, i32 }
          catch ptr null
  %509 = extractvalue { ptr, i32 } %508, 0
  call void @__clang_call_terminate(ptr %509) #10
  unreachable

510:                                              ; preds = %482, %326, %170
  unreachable
}

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() #2

declare noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

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

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

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

declare noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef) #2

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, i32 noundef) #2

declare i32 @fflush(ptr noundef) #2

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

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

declare noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv() #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 = { 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 #4 = { 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 #5 = { 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 #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 memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "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 #9 = { nounwind }
attributes #10 = { noreturn 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}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.testing::Matcher" = type { %"class.testing::internal::MatcherBase" }
%"class.testing::internal::MatcherBase" = type { %"class.testing::MatcherDescriberInterface", ptr, %"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" }
%"class.testing::MatcherDescriberInterface" = type { ptr }
%"union.testing::internal::MatcherBase<const std::__cxx11::basic_string<char> &>::Buffer" = type { ptr }
%"class.std::unique_ptr.35" = type { %"struct.std::__uniq_ptr_data.36" }
%"struct.std::__uniq_ptr_data.36" = type { %"class.std::__uniq_ptr_impl.37" }
%"class.std::__uniq_ptr_impl.37" = type { %"class.std::tuple.38" }
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Head_base.42" }
%"struct.std::_Head_base.42" = type { ptr }
%"class.testing::internal::DeathTest::ReturnSentinel" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.testing::Message" = type { %"class.std::unique_ptr.2" }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.121 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZTISt9exception = external constant ptr
@stderr = external local_unnamed_addr global ptr, align 8
@.str.123 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.124 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.125 = external hidden unnamed_addr constant [39 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: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 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 #3

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN4gem5L5log2iEi(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN32IntmathDeathTest_Log2iDeath_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.testing::Matcher", align 8
  %4 = alloca %"class.std::unique_ptr.35", align 8
  %5 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.testing::Message", align 8
  %8 = alloca %"class.testing::internal::AssertHelper", align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.testing::Matcher", align 8
  %11 = alloca %"class.std::unique_ptr.35", align 8
  %12 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.testing::Matcher", align 8
  %18 = alloca %"class.std::unique_ptr.35", align 8
  %19 = alloca %"class.testing::internal::DeathTest::ReturnSentinel", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.testing::Message", align 8
  %22 = alloca %"class.testing::internal::AssertHelper", align 8
  %23 = tail call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %23, label %24, label %112

24:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher") align 8 %3, ptr noundef nonnull @.str.122)
  %25 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef nonnull @.str.121, ptr noundef nonnull %3, ptr noundef nonnull @.str.3, i32 noundef 319, ptr noundef nonnull %2)
          to label %26 unwind label %27

26:                                               ; preds = %24
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  br i1 %25, label %29, label %110

27:                                               ; preds = %24
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  br label %111

29:                                               ; preds = %26
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %.not = icmp eq ptr %30, null
  br i1 %.not, label %.thread94, label %31

31:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %30) #10
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  %33 = load ptr, ptr %32, align 8, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %33, i64 16
  %35 = load ptr, ptr %34, align 8
  %36 = invoke noundef i32 %35(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %37 unwind label %38

37:                                               ; preds = %31
  switch i32 %36, label %.thread [
    i32 0, label %40
    i32 1, label %54
  ]

38:                                               ; preds = %48, %46, %40, %31
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %109

40:                                               ; preds = %37
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  %43 = getelementptr inbounds i8, ptr %42, i64 24
  %44 = load ptr, ptr %43, align 8
  %45 = invoke noundef i32 %44(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %46 unwind label %38

46:                                               ; preds = %40
  %47 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %45)
          to label %48 unwind label %38

48:                                               ; preds = %46
  %49 = load ptr, ptr %41, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %49, i64 32
  %51 = load ptr, ptr %50, align 8
  %52 = invoke noundef zeroext i1 %51(ptr noundef nonnull align 8 dereferenceable(8) %41, i1 noundef zeroext %47)
          to label %53 unwind label %38

53:                                               ; preds = %48
  br i1 %52, label %.thread, label %108

54:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #10
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %55)
  %56 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %57 unwind label %60

57:                                               ; preds = %54
  br i1 %56, label %58, label %84

58:                                               ; preds = %57
  %59 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef 0)
          to label %84 unwind label %62

60:                                               ; preds = %54
  %61 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %64

62:                                               ; preds = %58
  %63 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %64

64:                                               ; preds = %62, %60
  %.pn = phi { ptr, i32 } [ %63, %62 ], [ %61, %60 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.022 = extractvalue { ptr, i32 } %.pn, 1
  %65 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %66 = icmp eq i32 %.022, %65
  %67 = call ptr @__cxa_begin_catch(ptr %.0) #10
  br i1 %66, label %68, label %90

68:                                               ; preds = %64
  %69 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #10
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull @.str.3, i32 noundef 319)
          to label %70 unwind label %100

70:                                               ; preds = %68
  %71 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  %72 = load ptr, ptr %67, align 8, !tbaa !9
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %74 = load ptr, ptr %73, align 8
  %75 = call noundef ptr %74(ptr noundef nonnull align 8 dereferenceable(8) %67) #10
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef nonnull @.str.123, ptr noundef %71, ptr noundef %75) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  %77 = load ptr, ptr @stderr, align 8, !tbaa !5
  %78 = call i32 @fflush(ptr noundef %77)
  %79 = load ptr, ptr %2, align 8, !tbaa !5
  %80 = load ptr, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds i8, ptr %80, i64 40
  %82 = load ptr, ptr %81, align 8
  invoke void %82(ptr noundef nonnull align 8 dereferenceable(8) %79, i32 noundef 1)
          to label %83 unwind label %102

83:                                               ; preds = %70
  invoke void @__cxa_end_catch()
          to label %84 unwind label %104

84:                                               ; preds = %83, %58, %57, %95
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = getelementptr inbounds i8, ptr %86, i64 40
  %88 = load ptr, ptr %87, align 8
  invoke void %88(ptr noundef nonnull align 8 dereferenceable(8) %85, i32 noundef 2)
          to label %89 unwind label %98

89:                                               ; preds = %84
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %.thread

90:                                               ; preds = %64
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %92, i64 40
  %94 = load ptr, ptr %93, align 8
  invoke void %94(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 noundef 1)
          to label %95 unwind label %96

95:                                               ; preds = %90
  invoke void @__cxa_end_catch()
          to label %84 unwind label %98

96:                                               ; preds = %90
  %97 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %107 unwind label %324

98:                                               ; preds = %95, %84
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %107

100:                                              ; preds = %68
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #10
  br label %106

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

104:                                              ; preds = %83
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %107

106:                                              ; preds = %102, %100
  %.pn51 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  invoke void @__cxa_end_catch()
          to label %107 unwind label %324

107:                                              ; preds = %104, %106, %96, %98
  %.pn55 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ], [ %105, %104 ], [ %.pn51, %106 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #10
  br label %109

.thread:                                          ; preds = %37, %89, %53
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %.thread94

108:                                              ; preds = %53
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %110

109:                                              ; preds = %107, %38
  %.pn55.pn = phi { ptr, i32 } [ %.pn55, %107 ], [ %39, %38 ]
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %111

.thread94:                                        ; preds = %.thread, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  br label %122

110:                                              ; preds = %108, %26
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  br label %112

111:                                              ; preds = %109, %27
  %.pn55.pn.pn = phi { ptr, i32 } [ %.pn55.pn, %109 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  br label %323

112:                                              ; preds = %110, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #10
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #10
  %113 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %114 unwind label %117

114:                                              ; preds = %112
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef 319, ptr noundef %113)
          to label %115 unwind label %117

115:                                              ; preds = %114
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %116 unwind label %119

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

117:                                              ; preds = %114, %112
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %115
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #10
  br label %121

121:                                              ; preds = %119, %117
  %.pn59 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #10
  br label %323

122:                                              ; preds = %.thread94, %116
  %123 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %123, label %124, label %212

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher") align 8 %10, ptr noundef nonnull @.str.122)
  %125 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef nonnull @.str.124, ptr noundef nonnull %10, ptr noundef nonnull @.str.3, i32 noundef 325, ptr noundef nonnull %9)
          to label %126 unwind label %127

126:                                              ; preds = %124
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  br i1 %125, label %129, label %210

127:                                              ; preds = %124
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  br label %211

129:                                              ; preds = %126
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %.not61 = icmp eq ptr %130, null
  br i1 %.not61, label %.thread101, label %131

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %130) #10
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %132, align 8, !tbaa !9
  %134 = getelementptr inbounds i8, ptr %133, i64 16
  %135 = load ptr, ptr %134, align 8
  %136 = invoke noundef i32 %135(ptr noundef nonnull align 8 dereferenceable(8) %132)
          to label %137 unwind label %138

137:                                              ; preds = %131
  switch i32 %136, label %.thread97 [
    i32 0, label %140
    i32 1, label %154
  ]

138:                                              ; preds = %148, %146, %140, %131
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %209

140:                                              ; preds = %137
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load ptr, ptr %141, align 8, !tbaa !9
  %143 = getelementptr inbounds i8, ptr %142, i64 24
  %144 = load ptr, ptr %143, align 8
  %145 = invoke noundef i32 %144(ptr noundef nonnull align 8 dereferenceable(8) %141)
          to label %146 unwind label %138

146:                                              ; preds = %140
  %147 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %145)
          to label %148 unwind label %138

148:                                              ; preds = %146
  %149 = load ptr, ptr %141, align 8, !tbaa !9
  %150 = getelementptr inbounds i8, ptr %149, i64 32
  %151 = load ptr, ptr %150, align 8
  %152 = invoke noundef zeroext i1 %151(ptr noundef nonnull align 8 dereferenceable(8) %141, i1 noundef zeroext %147)
          to label %153 unwind label %138

153:                                              ; preds = %148
  br i1 %152, label %.thread97, label %208

154:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %155)
  %156 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %157 unwind label %160

157:                                              ; preds = %154
  br i1 %156, label %158, label %184

158:                                              ; preds = %157
  %159 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef -1)
          to label %184 unwind label %162

160:                                              ; preds = %154
  %161 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %164

162:                                              ; preds = %158
  %163 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %164

164:                                              ; preds = %162, %160
  %.pn62 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  %.7 = extractvalue { ptr, i32 } %.pn62, 0
  %.729 = extractvalue { ptr, i32 } %.pn62, 1
  %165 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %166 = icmp eq i32 %.729, %165
  %167 = call ptr @__cxa_begin_catch(ptr %.7) #10
  br i1 %166, label %168, label %190

168:                                              ; preds = %164
  %169 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull @.str.3, i32 noundef 325)
          to label %170 unwind label %200

170:                                              ; preds = %168
  %171 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  %172 = load ptr, ptr %167, align 8, !tbaa !9
  %173 = getelementptr inbounds i8, ptr %172, i64 16
  %174 = load ptr, ptr %173, align 8
  %175 = call noundef ptr %174(ptr noundef nonnull align 8 dereferenceable(8) %167) #10
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef nonnull @.str.123, ptr noundef %171, ptr noundef %175) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  %177 = load ptr, ptr @stderr, align 8, !tbaa !5
  %178 = call i32 @fflush(ptr noundef %177)
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = load ptr, ptr %179, align 8, !tbaa !9
  %181 = getelementptr inbounds i8, ptr %180, i64 40
  %182 = load ptr, ptr %181, align 8
  invoke void %182(ptr noundef nonnull align 8 dereferenceable(8) %179, i32 noundef 1)
          to label %183 unwind label %202

183:                                              ; preds = %170
  invoke void @__cxa_end_catch()
          to label %184 unwind label %204

184:                                              ; preds = %183, %158, %157, %195
  %185 = load ptr, ptr %9, align 8, !tbaa !5
  %186 = load ptr, ptr %185, align 8, !tbaa !9
  %187 = getelementptr inbounds i8, ptr %186, i64 40
  %188 = load ptr, ptr %187, align 8
  invoke void %188(ptr noundef nonnull align 8 dereferenceable(8) %185, i32 noundef 2)
          to label %189 unwind label %198

189:                                              ; preds = %184
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %.thread97

190:                                              ; preds = %164
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = load ptr, ptr %191, align 8, !tbaa !9
  %193 = getelementptr inbounds i8, ptr %192, i64 40
  %194 = load ptr, ptr %193, align 8
  invoke void %194(ptr noundef nonnull align 8 dereferenceable(8) %191, i32 noundef 1)
          to label %195 unwind label %196

195:                                              ; preds = %190
  invoke void @__cxa_end_catch()
          to label %184 unwind label %198

196:                                              ; preds = %190
  %197 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %207 unwind label %324

198:                                              ; preds = %195, %184
  %199 = landingpad { ptr, i32 }
          cleanup
  br label %207

200:                                              ; preds = %168
  %201 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  br label %206

202:                                              ; preds = %170
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %183
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %207

206:                                              ; preds = %202, %200
  %.pn64 = phi { ptr, i32 } [ %203, %202 ], [ %201, %200 ]
  invoke void @__cxa_end_catch()
          to label %207 unwind label %324

207:                                              ; preds = %204, %206, %196, %198
  %.pn68 = phi { ptr, i32 } [ %199, %198 ], [ %197, %196 ], [ %205, %204 ], [ %.pn64, %206 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  br label %209

.thread97:                                        ; preds = %137, %189, %153
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %.thread101

208:                                              ; preds = %153
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %210

209:                                              ; preds = %207, %138
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %207 ], [ %139, %138 ]
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %211

.thread101:                                       ; preds = %.thread97, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %222

210:                                              ; preds = %208, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %212

211:                                              ; preds = %209, %127
  %.pn68.pn.pn = phi { ptr, i32 } [ %.pn68.pn, %209 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %323

212:                                              ; preds = %210, %122
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %213 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %214 unwind label %217

214:                                              ; preds = %212
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef 325, ptr noundef %213)
          to label %215 unwind label %217

215:                                              ; preds = %214
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %216 unwind label %219

216:                                              ; preds = %215
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %222

217:                                              ; preds = %214, %212
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %215
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  br label %221

221:                                              ; preds = %219, %217
  %.pn72 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %323

222:                                              ; preds = %.thread101, %216
  %223 = call noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
  br i1 %223, label %224, label %312

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  call void @_ZN7testing8internal20MakeDeathTestMatcherB5cxx11EPKc(ptr dead_on_unwind nonnull writable sret(%"class.testing::Matcher") align 8 %17, ptr noundef nonnull @.str.2)
  %225 = invoke noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef nonnull @.str.125, ptr noundef nonnull %17, ptr noundef nonnull @.str.3, i32 noundef 331, ptr noundef nonnull %16)
          to label %226 unwind label %227

226:                                              ; preds = %224
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br i1 %225, label %229, label %310

227:                                              ; preds = %224
  %228 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal11MatcherBaseIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %311

229:                                              ; preds = %226
  %230 = load ptr, ptr %16, align 8, !tbaa !5
  %.not74 = icmp eq ptr %230, null
  br i1 %.not74, label %.thread108, label %231

231:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #10
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EEC2IS4_vEEPS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull %230) #10
  %232 = load ptr, ptr %16, align 8, !tbaa !5
  %233 = load ptr, ptr %232, align 8, !tbaa !9
  %234 = getelementptr inbounds i8, ptr %233, i64 16
  %235 = load ptr, ptr %234, align 8
  %236 = invoke noundef i32 %235(ptr noundef nonnull align 8 dereferenceable(8) %232)
          to label %237 unwind label %238

237:                                              ; preds = %231
  switch i32 %236, label %.thread104 [
    i32 0, label %240
    i32 1, label %254
  ]

238:                                              ; preds = %248, %246, %240, %231
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %309

240:                                              ; preds = %237
  %241 = load ptr, ptr %16, align 8, !tbaa !5
  %242 = load ptr, ptr %241, align 8, !tbaa !9
  %243 = getelementptr inbounds i8, ptr %242, i64 24
  %244 = load ptr, ptr %243, align 8
  %245 = invoke noundef i32 %244(ptr noundef nonnull align 8 dereferenceable(8) %241)
          to label %246 unwind label %238

246:                                              ; preds = %240
  %247 = invoke noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef %245)
          to label %248 unwind label %238

248:                                              ; preds = %246
  %249 = load ptr, ptr %241, align 8, !tbaa !9
  %250 = getelementptr inbounds i8, ptr %249, i64 32
  %251 = load ptr, ptr %250, align 8
  %252 = invoke noundef zeroext i1 %251(ptr noundef nonnull align 8 dereferenceable(8) %241, i1 noundef zeroext %247)
          to label %253 unwind label %238

253:                                              ; preds = %248
  br i1 %252, label %.thread104, label %308

254:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #10
  %255 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %255)
  %256 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %257 unwind label %260

257:                                              ; preds = %254
  br i1 %256, label %258, label %284

258:                                              ; preds = %257
  %259 = invoke noundef i32 @_ZN4gem5L5log2iEi(i32 noundef 5)
          to label %284 unwind label %262

260:                                              ; preds = %254
  %261 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %264

262:                                              ; preds = %258
  %263 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %264

264:                                              ; preds = %262, %260
  %.pn75 = phi { ptr, i32 } [ %263, %262 ], [ %261, %260 ]
  %.14 = extractvalue { ptr, i32 } %.pn75, 0
  %.1436 = extractvalue { ptr, i32 } %.pn75, 1
  %265 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #10
  %266 = icmp eq i32 %.1436, %265
  %267 = call ptr @__cxa_begin_catch(ptr %.14) #10
  br i1 %266, label %268, label %290

268:                                              ; preds = %264
  %269 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #10
  invoke void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull @.str.3, i32 noundef 331)
          to label %270 unwind label %300

270:                                              ; preds = %268
  %271 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  %272 = load ptr, ptr %267, align 8, !tbaa !9
  %273 = getelementptr inbounds i8, ptr %272, i64 16
  %274 = load ptr, ptr %273, align 8
  %275 = call noundef ptr %274(ptr noundef nonnull align 8 dereferenceable(8) %267) #10
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef nonnull @.str.123, ptr noundef %271, ptr noundef %275) #11
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  %277 = load ptr, ptr @stderr, align 8, !tbaa !5
  %278 = call i32 @fflush(ptr noundef %277)
  %279 = load ptr, ptr %16, align 8, !tbaa !5
  %280 = load ptr, ptr %279, align 8, !tbaa !9
  %281 = getelementptr inbounds i8, ptr %280, i64 40
  %282 = load ptr, ptr %281, align 8
  invoke void %282(ptr noundef nonnull align 8 dereferenceable(8) %279, i32 noundef 1)
          to label %283 unwind label %302

283:                                              ; preds = %270
  invoke void @__cxa_end_catch()
          to label %284 unwind label %304

284:                                              ; preds = %283, %258, %257, %295
  %285 = load ptr, ptr %16, align 8, !tbaa !5
  %286 = load ptr, ptr %285, align 8, !tbaa !9
  %287 = getelementptr inbounds i8, ptr %286, i64 40
  %288 = load ptr, ptr %287, align 8
  invoke void %288(ptr noundef nonnull align 8 dereferenceable(8) %285, i32 noundef 2)
          to label %289 unwind label %298

289:                                              ; preds = %284
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br label %.thread104

290:                                              ; preds = %264
  %291 = load ptr, ptr %16, align 8, !tbaa !5
  %292 = load ptr, ptr %291, align 8, !tbaa !9
  %293 = getelementptr inbounds i8, ptr %292, i64 40
  %294 = load ptr, ptr %293, align 8
  invoke void %294(ptr noundef nonnull align 8 dereferenceable(8) %291, i32 noundef 1)
          to label %295 unwind label %296

295:                                              ; preds = %290
  invoke void @__cxa_end_catch()
          to label %284 unwind label %298

296:                                              ; preds = %290
  %297 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %307 unwind label %324

298:                                              ; preds = %295, %284
  %299 = landingpad { ptr, i32 }
          cleanup
  br label %307

300:                                              ; preds = %268
  %301 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  br label %306

302:                                              ; preds = %270
  %303 = landingpad { ptr, i32 }
          cleanup
  br label %306

304:                                              ; preds = %283
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %307

306:                                              ; preds = %302, %300
  %.pn77 = phi { ptr, i32 } [ %303, %302 ], [ %301, %300 ]
  invoke void @__cxa_end_catch()
          to label %307 unwind label %324

307:                                              ; preds = %304, %306, %296, %298
  %.pn81 = phi { ptr, i32 } [ %299, %298 ], [ %297, %296 ], [ %305, %304 ], [ %.pn77, %306 ]
  call void @_ZN7testing8internal9DeathTest14ReturnSentinelD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #10
  br label %309

.thread104:                                       ; preds = %237, %289, %253
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  br label %.thread108

308:                                              ; preds = %253
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  br label %310

309:                                              ; preds = %307, %238
  %.pn81.pn = phi { ptr, i32 } [ %.pn81, %307 ], [ %239, %238 ]
  call void @_ZNSt10unique_ptrIN7testing8internal9DeathTestESt14default_deleteIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #10
  br label %311

.thread108:                                       ; preds = %.thread104, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %322

310:                                              ; preds = %308, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %312

311:                                              ; preds = %309, %227
  %.pn81.pn.pn = phi { ptr, i32 } [ %.pn81.pn, %309 ], [ %228, %227 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  br label %323

312:                                              ; preds = %310, %222
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #10
  call void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #10
  %313 = invoke noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv()
          to label %314 unwind label %317

314:                                              ; preds = %312
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef 331, ptr noundef %313)
          to label %315 unwind label %317

315:                                              ; preds = %314
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %316 unwind label %319

316:                                              ; preds = %315
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #10
  br label %322

317:                                              ; preds = %314, %312
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %321

319:                                              ; preds = %315
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #10
  br label %321

321:                                              ; preds = %319, %317
  %.pn85 = phi { ptr, i32 } [ %320, %319 ], [ %318, %317 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #10
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #10
  br label %323

322:                                              ; preds = %.thread108, %316
  ret void

323:                                              ; preds = %321, %311, %221, %211, %121, %111
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %321 ], [ %.pn81.pn.pn, %311 ], [ %.pn72, %221 ], [ %.pn68.pn.pn, %211 ], [ %.pn59, %121 ], [ %.pn55.pn.pn, %111 ]
  resume { ptr, i32 } %.pn85.pn

324:                                              ; preds = %306, %296, %206, %196, %106, %96
  %325 = landingpad { ptr, i32 }
          catch ptr null
  %326 = extractvalue { ptr, i32 } %325, 0
  call void @__clang_call_terminate(ptr %326) #12
  unreachable
}

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() local_unnamed_addr #2

declare noundef zeroext i1 @_ZN7testing8internal9DeathTest6CreateEPKcNS_7MatcherIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEES3_iPPS1_(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

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

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

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

declare noundef zeroext i1 @_ZN7testing8internal20ExitedUnsuccessfullyEi(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

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

declare void @_ZN7testing8internal18FormatFileLocationB5cxx11EPKci(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

declare noundef ptr @_ZN7testing8internal9DeathTest11LastMessageEv() local_unnamed_addr #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 = { 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 #4 = { 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 #5 = { 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 #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 = { nofree nosync nounwind memory(none) }
attributes #8 = { noinline noreturn nounwind uwtable "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 #9 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { noreturn 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}


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