; LLVM IR from BitFunnel/NativeJIT :: test/CodeGen (FunctionBufferTest)

; 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.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo" = type { [32 x i64], [17 x i64], [8 x i8] }
%"class.NativeJIT::FunctionSpecification" = type { i32, %"class.Allocators::StlAllocator", %"class.std::vector.18", %"class.std::vector.18", %"class.std::vector.18" }
%"class.Allocators::StlAllocator" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl" = type { %"class.Allocators::StlAllocator", %"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::internal::HasNewFatalFailureHelper" = type { %"class.testing::TestPartResultReporterInterface", i8, ptr }
%"class.testing::TestPartResultReporterInterface" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.20" }
%"class.testing::internal::scoped_ptr.20" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr.21" }
%"class.testing::internal::scoped_ptr.21" = type { ptr }
%"class.NativeJIT::Register" = type { i32 }
%"class.NativeJIT::Register.40" = type { i32 }

@.str.3 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [27 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @_ZN9NativeJIT11TestFixture8GetSetupEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(256)) #1

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

declare noundef nonnull align 8 dereferenceable(133) ptr @_ZN9NativeJIT13TestCaseSetup7GetCodeEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NativeJIT13TestCaseSetup12GetAllocatorEv(ptr noundef nonnull align 8 dereferenceable(16)) #1

declare noundef ptr @_ZNK9NativeJIT11TestFixture20GetDiagnosticsStreamEv(ptr noundef nonnull align 8 dereferenceable(256)) #1

declare void @_ZN9NativeJIT21FunctionSpecificationC1ERN10Allocators10IAllocatorEijjjNS0_16BaseRegisterTypeEPSo(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) unnamed_addr #1

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() #1

declare void @_ZN7testing8internal24HasNewFatalFailureHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest18ValidateUnwindInfoERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NativeJIT15CodeGenUnitTest44FunctionBufferTest_RegisterPreservation_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(280) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", align 16
  %4 = alloca %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", align 16
  %5 = alloca %"class.std::unique_ptr", align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.NativeJIT::FunctionSpecification", align 8
  %12 = alloca %"class.testing::internal::HasNewFatalFailureHelper", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.testing::Message", align 8
  %15 = alloca %"class.testing::internal::AssertHelper", align 8
  %16 = alloca %"class.testing::internal::HasNewFatalFailureHelper", align 8
  %17 = alloca %"class.testing::Message", align 8
  %18 = alloca %"class.testing::internal::AssertHelper", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.testing::AssertionResult", align 8
  %23 = alloca %"class.testing::Message", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.NativeJIT::Register", align 4
  %26 = alloca %"class.testing::internal::AssertHelper", align 8
  %27 = alloca %"class.testing::AssertionResult", align 8
  %28 = alloca %"class.testing::Message", align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.NativeJIT::Register.40", align 4
  %31 = alloca %"class.testing::internal::AssertHelper", align 8
  %32 = alloca %"class.testing::AssertionResult", align 8
  %33 = alloca i64, align 8
  %34 = alloca i64, align 8
  %35 = alloca %"class.testing::Message", align 8
  %36 = alloca ptr, align 8
  %37 = alloca %"class.NativeJIT::Register.40", align 4
  %38 = alloca %"class.testing::internal::AssertHelper", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %39 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 400, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 400, ptr %4) #8
  call void @llvm.memset.p0.i64(ptr align 16 %3, i8 1, i64 400, i1 false)
  call void @llvm.memset.p0.i64(ptr align 16 %4, i8 2, i64 400, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #8
  call void @_ZN9NativeJIT11TestFixture8GetSetupEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8 %5, ptr noundef nonnull align 8 dereferenceable(256) %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %40 = call noundef ptr @_ZNKSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %41 = invoke noundef nonnull align 8 dereferenceable(133) ptr @_ZN9NativeJIT13TestCaseSetup7GetCodeEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %42 unwind label %63

42:                                               ; preds = %1
  store ptr %41, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = invoke noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280) %39, ptr noundef nonnull align 8 dereferenceable(133) %43, ptr noundef nonnull align 16 dereferenceable(400) %3)
          to label %45 unwind label %67

45:                                               ; preds = %42
  store ptr %44, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = invoke noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280) %39, ptr noundef nonnull align 8 dereferenceable(133) %46, ptr noundef nonnull align 16 dereferenceable(400) %4)
          to label %48 unwind label %71

48:                                               ; preds = %45
  store ptr %47, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 112, ptr %11) #8
  %49 = call noundef ptr @_ZNKSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NativeJIT13TestCaseSetup12GetAllocatorEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %51 unwind label %75

51:                                               ; preds = %48
  %52 = invoke noundef ptr @_ZNK9NativeJIT11TestFixture20GetDiagnosticsStreamEv(ptr noundef nonnull align 8 dereferenceable(256) %39)
          to label %53 unwind label %75

53:                                               ; preds = %51
  invoke void @_ZN9NativeJIT21FunctionSpecificationC1ERN10Allocators10IAllocatorEijjjNS0_16BaseRegisterTypeEPSo(ptr noundef nonnull align 8 dereferenceable(112) %11, ptr noundef nonnull align 8 dereferenceable(8) %50, i32 noundef -1, i32 noundef 12, i32 noundef 61496, i32 noundef 0, i32 noundef 0, ptr noundef %52)
          to label %54 unwind label %75

54:                                               ; preds = %53
  %55 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %56 unwind label %79

56:                                               ; preds = %54
  br i1 %55, label %57, label %100

57:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  invoke void @_ZN7testing8internal24HasNewFatalFailureHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %58 unwind label %83

58:                                               ; preds = %57
  %59 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %60 unwind label %87

60:                                               ; preds = %58
  br i1 %59, label %61, label %91

61:                                               ; preds = %60
  invoke void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest18ValidateUnwindInfoERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(280) %39, ptr noundef nonnull align 8 dereferenceable(112) %11)
          to label %62 unwind label %87

62:                                               ; preds = %61
  br label %91

63:                                               ; preds = %1
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %7, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %8, align 4
  br label %415

67:                                               ; preds = %42
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %7, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %8, align 4
  br label %414

71:                                               ; preds = %45
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %7, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %8, align 4
  br label %413

75:                                               ; preds = %53, %51, %48
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  br label %412

79:                                               ; preds = %167, %121, %119, %54
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %7, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %8, align 4
  br label %411

83:                                               ; preds = %57
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %7, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %8, align 4
  br label %99

87:                                               ; preds = %91, %61, %58
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %7, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %8, align 4
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %99

91:                                               ; preds = %62, %60
  %92 = invoke noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %93 unwind label %87

93:                                               ; preds = %91
  br i1 %92, label %94, label %95

94:                                               ; preds = %93
  store i32 2, ptr %13, align 4
  br label %96

95:                                               ; preds = %93
  store i32 0, ptr %13, align 4
  br label %96

96:                                               ; preds = %95, %94
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  %97 = load i32, ptr %13, align 4
  switch i32 %97, label %406 [
    i32 0, label %98
    i32 2, label %101
  ]

98:                                               ; preds = %96
  br label %119

99:                                               ; preds = %87, %83
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %411

100:                                              ; preds = %56
  br label %101

101:                                              ; preds = %100, %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %102 unwind label %105

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 2, ptr noundef @.str.3, i32 noundef 623, ptr noundef @.str.4)
          to label %103 unwind label %109

103:                                              ; preds = %102
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %104 unwind label %113

104:                                              ; preds = %103
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  store i32 1, ptr %13, align 4
  br label %406

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

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

113:                                              ; preds = %103
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %117

117:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %118

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

119:                                              ; preds = %98
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9NativeJIT14FunctionBuffer27BeginFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133) %120, ptr noundef nonnull align 8 dereferenceable(112) %11)
          to label %121 unwind label %79

121:                                              ; preds = %119
  %122 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %123 unwind label %79

123:                                              ; preds = %121
  br i1 %122, label %124, label %148

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

125:                                              ; preds = %124
  %126 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %127 unwind label %135

127:                                              ; preds = %125
  br i1 %126, label %128, label %139

128:                                              ; preds = %127
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest35FillAllWritableRegistersWithGarbageERNS_14FunctionBufferE(ptr noundef nonnull align 8 dereferenceable(280) %39, ptr noundef nonnull align 8 dereferenceable(133) %129)
          to label %130 unwind label %135

130:                                              ; preds = %128
  br label %139

131:                                              ; preds = %124
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  br label %147

135:                                              ; preds = %139, %128, %125
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %7, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %8, align 4
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %147

139:                                              ; preds = %130, %127
  %140 = invoke noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %141 unwind label %135

141:                                              ; preds = %139
  br i1 %140, label %142, label %143

142:                                              ; preds = %141
  store i32 3, ptr %13, align 4
  br label %144

143:                                              ; preds = %141
  store i32 0, ptr %13, align 4
  br label %144

144:                                              ; preds = %143, %142
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  %145 = load i32, ptr %13, align 4
  switch i32 %145, label %406 [
    i32 0, label %146
    i32 3, label %149
  ]

146:                                              ; preds = %144
  br label %167

147:                                              ; preds = %135, %131
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  br label %411

148:                                              ; preds = %123
  br label %149

149:                                              ; preds = %148, %144
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %150 unwind label %153

150:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 2, ptr noundef @.str.3, i32 noundef 628, ptr noundef @.str.45)
          to label %151 unwind label %157

151:                                              ; preds = %150
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %152 unwind label %161

152:                                              ; preds = %151
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  store i32 1, ptr %13, align 4
  br label %406

153:                                              ; preds = %149
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %7, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %8, align 4
  br label %166

157:                                              ; preds = %150
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %7, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %8, align 4
  br label %165

161:                                              ; preds = %151
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %7, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %166

166:                                              ; preds = %165, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %411

167:                                              ; preds = %146
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9NativeJIT14FunctionBuffer25EndFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133) %168, ptr noundef nonnull align 8 dereferenceable(112) %11)
          to label %169 unwind label %79

169:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = invoke noundef ptr @_ZNK9NativeJIT14FunctionBuffer13GetEntryPointEv(ptr noundef nonnull align 8 dereferenceable(133) %170)
          to label %172 unwind label %197

172:                                              ; preds = %169
  store ptr %171, ptr %19, align 8, !tbaa !5
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void %173()
          to label %174 unwind label %197

174:                                              ; preds = %172
  %175 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void %175()
          to label %176 unwind label %197

176:                                              ; preds = %174
  %177 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void %177()
          to label %178 unwind label %197

178:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 61496, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  br label %179

179:                                              ; preds = %256, %178
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = zext i32 %180 to i64
  %182 = invoke noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef %181, ptr noundef %21)
          to label %183 unwind label %201

183:                                              ; preds = %179
  br i1 %182, label %184, label %259

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  %185 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %3, i32 0, i32 1
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = zext i32 %186 to i64
  %188 = getelementptr inbounds [17 x i64], ptr %185, i64 0, i64 %187
  %189 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %4, i32 0, i32 1
  %190 = load i32, ptr %21, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds [17 x i64], ptr %189, i64 0, i64 %191
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %22, ptr noundef @.str.46, ptr noundef @.str.47, ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull align 8 dereferenceable(8) %192)
          to label %193 unwind label %205

193:                                              ; preds = %184
  %194 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %195 unwind label %209

195:                                              ; preds = %193
  br i1 %194, label %196, label %213

196:                                              ; preds = %195
  br label %251

197:                                              ; preds = %176, %174, %172, %169
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %7, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %8, align 4
  br label %410

201:                                              ; preds = %399, %260, %254, %179
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %7, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %8, align 4
  br label %409

205:                                              ; preds = %184
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %7, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %8, align 4
  br label %258

209:                                              ; preds = %193
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %7, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %8, align 4
  br label %257

213:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %214 unwind label %227

214:                                              ; preds = %213
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %216 unwind label %231

216:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %217 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN9NativeJIT8RegisterILj8ELb0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %217)
          to label %218 unwind label %235

218:                                              ; preds = %216
  %219 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb0EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %220 unwind label %235

220:                                              ; preds = %218
  store ptr %219, ptr %24, align 8, !tbaa !5
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %222 unwind label %235

222:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %223 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %224 unwind label %239

224:                                              ; preds = %222
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 2, ptr noundef @.str.3, i32 noundef 647, ptr noundef %223)
          to label %225 unwind label %239

225:                                              ; preds = %224
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %221)
          to label %226 unwind label %243

226:                                              ; preds = %225
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  store i32 1, ptr %13, align 4
  br label %252

227:                                              ; preds = %213
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %7, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %8, align 4
  br label %250

231:                                              ; preds = %214
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %7, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %8, align 4
  br label %249

235:                                              ; preds = %220, %218, %216
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %7, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %8, align 4
  br label %248

239:                                              ; preds = %224, %222
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %7, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %8, align 4
  br label %247

243:                                              ; preds = %225
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %7, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br label %247

247:                                              ; preds = %243, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %248

248:                                              ; preds = %247, %235
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %249

249:                                              ; preds = %248, %231
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %250

250:                                              ; preds = %249, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %257

251:                                              ; preds = %196
  store i32 0, ptr %13, align 4
  br label %252

252:                                              ; preds = %251, %226
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  %253 = load i32, ptr %13, align 4
  switch i32 %253, label %405 [
    i32 0, label %254
  ]

254:                                              ; preds = %252
  %255 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef %20, i32 noundef %255)
          to label %256 unwind label %201

256:                                              ; preds = %254
  br label %179, !llvm.loop !11

257:                                              ; preds = %250, %209
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  br label %258

258:                                              ; preds = %257, %205
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %409

259:                                              ; preds = %183
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %260

260:                                              ; preds = %401, %259
  %261 = load i32, ptr %20, align 4, !tbaa !9
  %262 = zext i32 %261 to i64
  %263 = invoke noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef %262, ptr noundef %21)
          to label %264 unwind label %201

264:                                              ; preds = %260
  br i1 %263, label %265, label %404

265:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #8
  %266 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %3, i32 0, i32 0
  %267 = load i32, ptr %21, align 4, !tbaa !9
  %268 = mul i32 2, %267
  %269 = zext i32 %268 to i64
  %270 = getelementptr inbounds [32 x i64], ptr %266, i64 0, i64 %269
  %271 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %4, i32 0, i32 0
  %272 = load i32, ptr %21, align 4, !tbaa !9
  %273 = mul i32 2, %272
  %274 = zext i32 %273 to i64
  %275 = getelementptr inbounds [32 x i64], ptr %271, i64 0, i64 %274
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %27, ptr noundef @.str.49, ptr noundef @.str.50, ptr noundef nonnull align 8 dereferenceable(8) %270, ptr noundef nonnull align 8 dereferenceable(8) %275)
          to label %276 unwind label %280

276:                                              ; preds = %265
  %277 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %278 unwind label %284

278:                                              ; preds = %276
  br i1 %277, label %279, label %288

279:                                              ; preds = %278
  br label %326

280:                                              ; preds = %265
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %7, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %8, align 4
  br label %349

284:                                              ; preds = %276
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %7, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %8, align 4
  br label %348

288:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %289 unwind label %302

289:                                              ; preds = %288
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %291 unwind label %306

291:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %292 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN9NativeJIT8RegisterILj8ELb1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 noundef %292)
          to label %293 unwind label %310

293:                                              ; preds = %291
  %294 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb1EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %295 unwind label %310

295:                                              ; preds = %293
  store ptr %294, ptr %29, align 8, !tbaa !5
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %297 unwind label %310

297:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %298 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %299 unwind label %314

299:                                              ; preds = %297
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef 2, ptr noundef @.str.3, i32 noundef 657, ptr noundef %298)
          to label %300 unwind label %314

300:                                              ; preds = %299
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %296)
          to label %301 unwind label %318

301:                                              ; preds = %300
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  store i32 1, ptr %13, align 4
  br label %327

302:                                              ; preds = %288
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %7, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %8, align 4
  br label %325

306:                                              ; preds = %289
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %7, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %8, align 4
  br label %324

310:                                              ; preds = %295, %293, %291
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %7, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %8, align 4
  br label %323

314:                                              ; preds = %299, %297
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %7, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %8, align 4
  br label %322

318:                                              ; preds = %300
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %7, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br label %322

322:                                              ; preds = %318, %314
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %323

323:                                              ; preds = %322, %310
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %324

324:                                              ; preds = %323, %306
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br label %325

325:                                              ; preds = %324, %302
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %348

326:                                              ; preds = %279
  store i32 0, ptr %13, align 4
  br label %327

327:                                              ; preds = %326, %301
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  %328 = load i32, ptr %13, align 4
  switch i32 %328, label %405 [
    i32 0, label %329
  ]

329:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %330 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %3, i32 0, i32 0
  %331 = load i32, ptr %21, align 4, !tbaa !9
  %332 = mul i32 2, %331
  %333 = zext i32 %332 to i64
  %334 = getelementptr inbounds [32 x i64], ptr %330, i64 0, i64 %333
  %335 = load i64, ptr %334, align 8, !tbaa !13
  %336 = add i64 %335, 1
  store i64 %336, ptr %33, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %337 = getelementptr inbounds %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", ptr %4, i32 0, i32 0
  %338 = load i32, ptr %21, align 4, !tbaa !9
  %339 = mul i32 2, %338
  %340 = zext i32 %339 to i64
  %341 = getelementptr inbounds [32 x i64], ptr %337, i64 0, i64 %340
  %342 = load i64, ptr %341, align 8, !tbaa !13
  %343 = add i64 %342, 1
  store i64 %343, ptr %34, align 8, !tbaa !13
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %32, ptr noundef @.str.51, ptr noundef @.str.52, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %344 unwind label %350

344:                                              ; preds = %329
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  %345 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %346 unwind label %354

346:                                              ; preds = %344
  br i1 %345, label %347, label %358

347:                                              ; preds = %346
  br label %396

348:                                              ; preds = %325, %284
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  br label %349

349:                                              ; preds = %348, %280
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #8
  br label %409

350:                                              ; preds = %329
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %7, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %403

354:                                              ; preds = %344
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %7, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %8, align 4
  br label %402

358:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %359 unwind label %372

359:                                              ; preds = %358
  %360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %361 unwind label %376

361:                                              ; preds = %359
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %362 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN9NativeJIT8RegisterILj8ELb1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %37, i32 noundef %362)
          to label %363 unwind label %380

363:                                              ; preds = %361
  %364 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb1EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %365 unwind label %380

365:                                              ; preds = %363
  store ptr %364, ptr %36, align 8, !tbaa !5
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %360, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %367 unwind label %380

367:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %368 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %32)
          to label %369 unwind label %384

369:                                              ; preds = %367
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef 2, ptr noundef @.str.3, i32 noundef 661, ptr noundef %368)
          to label %370 unwind label %384

370:                                              ; preds = %369
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %366)
          to label %371 unwind label %388

371:                                              ; preds = %370
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  store i32 1, ptr %13, align 4
  br label %397

372:                                              ; preds = %358
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %7, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %8, align 4
  br label %395

376:                                              ; preds = %359
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %7, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %8, align 4
  br label %394

380:                                              ; preds = %365, %363, %361
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %7, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %8, align 4
  br label %393

384:                                              ; preds = %369, %367
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %7, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %8, align 4
  br label %392

388:                                              ; preds = %370
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %7, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %8, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br label %392

392:                                              ; preds = %388, %384
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %393

393:                                              ; preds = %392, %380
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %394

394:                                              ; preds = %393, %376
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br label %395

395:                                              ; preds = %394, %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %402

396:                                              ; preds = %347
  store i32 0, ptr %13, align 4
  br label %397

397:                                              ; preds = %396, %371
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  %398 = load i32, ptr %13, align 4
  switch i32 %398, label %405 [
    i32 0, label %399
  ]

399:                                              ; preds = %397
  %400 = load i32, ptr %21, align 4, !tbaa !9
  invoke void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef %20, i32 noundef %400)
          to label %401 unwind label %201

401:                                              ; preds = %399
  br label %260, !llvm.loop !15

402:                                              ; preds = %395, %354
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #8
  br label %403

403:                                              ; preds = %402, %350
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #8
  br label %409

404:                                              ; preds = %264
  store i32 0, ptr %13, align 4
  br label %405

405:                                              ; preds = %404, %397, %327, %252
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %406

406:                                              ; preds = %405, %152, %144, %104, %96
  call void @_ZN9NativeJIT21FunctionSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @_ZNSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr %3) #8
  %407 = load i32, ptr %13, align 4
  switch i32 %407, label %421 [
    i32 0, label %408
    i32 1, label %408
  ]

408:                                              ; preds = %406, %406
  ret void

409:                                              ; preds = %403, %349, %258, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %410

410:                                              ; preds = %409, %197
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %411

411:                                              ; preds = %410, %166, %147, %118, %99, %79
  call void @_ZN9NativeJIT21FunctionSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11) #8
  br label %412

412:                                              ; preds = %411, %75
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #8
  br label %413

413:                                              ; preds = %412, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %414

414:                                              ; preds = %413, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %415

415:                                              ; preds = %414, %63
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @_ZNSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr %3) #8
  br label %416

416:                                              ; preds = %415
  %417 = load ptr, ptr %7, align 8
  %418 = load i32, ptr %8, align 4
  %419 = insertvalue { ptr, i32 } poison, ptr %417, 0
  %420 = insertvalue { ptr, i32 } %419, i32 %418, 1
  resume { ptr, i32 } %420

421:                                              ; preds = %406
  unreachable
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 16 dereferenceable(400)) #3 align 2

declare void @_ZN9NativeJIT14FunctionBuffer27BeginFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 8 dereferenceable(112)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest35FillAllWritableRegistersWithGarbageERNS_14FunctionBufferE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(133)) #3 align 2

declare void @_ZN9NativeJIT14FunctionBuffer25EndFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 8 dereferenceable(112)) #1

declare noundef ptr @_ZNK9NativeJIT14FunctionBuffer13GetEntryPointEv(ptr noundef nonnull align 8 dereferenceable(133)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef, ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(23)) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb0EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef, i32 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb1EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !12}


; 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.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo" = type { [32 x i64], [17 x i64], [8 x i8] }
%"class.NativeJIT::FunctionSpecification" = type { i32, %"class.Allocators::StlAllocator", %"class.std::vector.18", %"class.std::vector.18", %"class.std::vector.18" }
%"class.Allocators::StlAllocator" = type { ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl" = type { %"class.Allocators::StlAllocator", %"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, Allocators::StlAllocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.testing::internal::HasNewFatalFailureHelper" = type { %"class.testing::TestPartResultReporterInterface", i8, ptr }
%"class.testing::TestPartResultReporterInterface" = type { ptr }
%"class.testing::Message" = type { %"class.testing::internal::scoped_ptr.20" }
%"class.testing::internal::scoped_ptr.20" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }
%"class.testing::AssertionResult" = type { i8, %"class.testing::internal::scoped_ptr.21" }
%"class.testing::internal::scoped_ptr.21" = type { ptr }
%"class.NativeJIT::Register" = type { i32 }
%"class.NativeJIT::Register.40" = type { i32 }

@.str.3 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [113 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [130 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [27 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @_ZN9NativeJIT11TestFixture8GetSetupEv(ptr dead_on_unwind writable sret(%"class.std::unique_ptr") align 8, ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1

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

declare noundef nonnull align 8 dereferenceable(133) ptr @_ZN9NativeJIT13TestCaseSetup7GetCodeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NativeJIT13TestCaseSetup12GetAllocatorEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

declare noundef ptr @_ZNK9NativeJIT11TestFixture20GetDiagnosticsStreamEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1

declare void @_ZN9NativeJIT21FunctionSpecificationC1ERN10Allocators10IAllocatorEijjjNS0_16BaseRegisterTypeEPSo(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) unnamed_addr #1

declare noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv() local_unnamed_addr #1

declare void @_ZN7testing8internal24HasNewFatalFailureHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest18ValidateUnwindInfoERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9NativeJIT15CodeGenUnitTest44FunctionBufferTest_RegisterPreservation_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(280) %0) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", align 16
  %3 = alloca %"struct.NativeJIT::CodeGenUnitTest::FunctionBufferTest::RegInfo", align 16
  %4 = alloca %"class.std::unique_ptr", align 8
  %5 = alloca %"class.NativeJIT::FunctionSpecification", align 8
  %6 = alloca %"class.testing::internal::HasNewFatalFailureHelper", align 8
  %7 = alloca %"class.testing::Message", align 8
  %8 = alloca %"class.testing::internal::AssertHelper", align 8
  %9 = alloca %"class.testing::internal::HasNewFatalFailureHelper", align 8
  %10 = alloca %"class.testing::Message", align 8
  %11 = alloca %"class.testing::internal::AssertHelper", align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.testing::AssertionResult", align 8
  %15 = alloca %"class.testing::Message", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.NativeJIT::Register", align 4
  %18 = alloca %"class.testing::internal::AssertHelper", align 8
  %19 = alloca %"class.testing::AssertionResult", align 8
  %20 = alloca %"class.testing::Message", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.NativeJIT::Register.40", align 4
  %23 = alloca %"class.testing::internal::AssertHelper", align 8
  %24 = alloca %"class.testing::AssertionResult", align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca %"class.testing::Message", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.NativeJIT::Register.40", align 4
  %30 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %3) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(400) %2, i8 1, i64 400, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(400) %3, i8 2, i64 400, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  call void @_ZN9NativeJIT11TestFixture8GetSetupEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr") align 8 %4, ptr noundef nonnull align 8 dereferenceable(256) %0)
  %31 = call noundef ptr @_ZNKSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %32 = invoke noundef nonnull align 8 dereferenceable(133) ptr @_ZN9NativeJIT13TestCaseSetup7GetCodeEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %33 unwind label %51

33:                                               ; preds = %1
  %34 = invoke noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(133) %32, ptr noundef nonnull align 16 dereferenceable(400) %2)
          to label %35 unwind label %53

35:                                               ; preds = %33
  %36 = invoke noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(133) %32, ptr noundef nonnull align 16 dereferenceable(400) %3)
          to label %37 unwind label %55

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #8
  %38 = call noundef ptr @_ZNKSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %39 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN9NativeJIT13TestCaseSetup12GetAllocatorEv(ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %40 unwind label %57

40:                                               ; preds = %37
  %41 = invoke noundef ptr @_ZNK9NativeJIT11TestFixture20GetDiagnosticsStreamEv(ptr noundef nonnull align 8 dereferenceable(256) %0)
          to label %42 unwind label %57

42:                                               ; preds = %40
  invoke void @_ZN9NativeJIT21FunctionSpecificationC1ERN10Allocators10IAllocatorEijjjNS0_16BaseRegisterTypeEPSo(ptr noundef nonnull align 8 dereferenceable(112) %5, ptr noundef nonnull align 8 dereferenceable(8) %39, i32 noundef -1, i32 noundef 12, i32 noundef 61496, i32 noundef 0, i32 noundef 0, ptr noundef %41)
          to label %43 unwind label %57

43:                                               ; preds = %42
  %44 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %45 unwind label %59

45:                                               ; preds = %43
  br i1 %44, label %46, label %68

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  invoke void @_ZN7testing8internal24HasNewFatalFailureHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %47 unwind label %61

47:                                               ; preds = %46
  %48 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %49 unwind label %63

49:                                               ; preds = %47
  br i1 %48, label %50, label %65

50:                                               ; preds = %49
  invoke void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest18ValidateUnwindInfoERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(112) %5)
          to label %65 unwind label %63

51:                                               ; preds = %1
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %254

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

55:                                               ; preds = %35
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %254

57:                                               ; preds = %42, %40, %37
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %253

59:                                               ; preds = %108, %81, %80, %43
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %252

61:                                               ; preds = %46
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %67

63:                                               ; preds = %50, %47
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br label %67

65:                                               ; preds = %50, %49
  %66 = call noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br i1 %66, label %68, label %80

67:                                               ; preds = %63, %61
  %.pn = phi { ptr, i32 } [ %64, %63 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br label %252

68:                                               ; preds = %65, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %69 unwind label %72

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 623, ptr noundef nonnull @.str.4)
          to label %70 unwind label %74

70:                                               ; preds = %69
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %71 unwind label %76

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

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

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

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

78:                                               ; preds = %76, %74
  %.pn52 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br label %79

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

80:                                               ; preds = %65
  invoke void @_ZN9NativeJIT14FunctionBuffer27BeginFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133) %32, ptr noundef nonnull align 8 dereferenceable(112) %5)
          to label %81 unwind label %59

81:                                               ; preds = %80
  %82 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %83 unwind label %59

83:                                               ; preds = %81
  br i1 %82, label %84, label %96

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #8
  invoke void @_ZN7testing8internal24HasNewFatalFailureHelperC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %85 unwind label %89

85:                                               ; preds = %84
  %86 = invoke noundef zeroext i1 @_ZN7testing8internal10AlwaysTrueEv()
          to label %87 unwind label %91

87:                                               ; preds = %85
  br i1 %86, label %88, label %93

88:                                               ; preds = %87
  invoke void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest35FillAllWritableRegistersWithGarbageERNS_14FunctionBufferE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(133) %32)
          to label %93 unwind label %91

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

91:                                               ; preds = %88, %85
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  br label %95

93:                                               ; preds = %88, %87
  %94 = call noundef zeroext i1 @_ZNK7testing8internal24HasNewFatalFailureHelper21has_new_fatal_failureEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  call void @_ZN7testing8internal24HasNewFatalFailureHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  br i1 %94, label %96, label %108

95:                                               ; preds = %91, %89
  %.pn55 = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #8
  br label %252

96:                                               ; preds = %93, %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %97 unwind label %100

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 628, ptr noundef nonnull @.str.45)
          to label %98 unwind label %102

98:                                               ; preds = %97
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %99 unwind label %104

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

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

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

104:                                              ; preds = %98
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br label %106

106:                                              ; preds = %104, %102
  %.pn57 = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br label %107

107:                                              ; preds = %106, %100
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %106 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %252

108:                                              ; preds = %93
  invoke void @_ZN9NativeJIT14FunctionBuffer25EndFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133) %32, ptr noundef nonnull align 8 dereferenceable(112) %5)
          to label %109 unwind label %59

109:                                              ; preds = %108
  %110 = invoke noundef ptr @_ZNK9NativeJIT14FunctionBuffer13GetEntryPointEv(ptr noundef nonnull align 8 dereferenceable(133) %32)
          to label %111 unwind label %125

111:                                              ; preds = %109
  invoke void %34()
          to label %112 unwind label %125

112:                                              ; preds = %111
  invoke void %110()
          to label %113 unwind label %125

113:                                              ; preds = %112
  invoke void %36()
          to label %114 unwind label %125

114:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #8
  store i32 61496, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  %115 = call noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef 61496, ptr noundef nonnull %13)
  br i1 %115, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %114
  %116 = getelementptr inbounds i8, ptr %2, i64 256
  %117 = getelementptr inbounds i8, ptr %3, i64 256
  br label %118

118:                                              ; preds = %.lr.ph, %157
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds [17 x i64], ptr %116, i64 0, i64 %120
  %122 = getelementptr inbounds [17 x i64], ptr %117, i64 0, i64 %120
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %14, ptr noundef nonnull @.str.46, ptr noundef nonnull @.str.47, ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull align 8 dereferenceable(8) %122)
          to label %123 unwind label %127

123:                                              ; preds = %118
  %124 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
  br i1 %124, label %157, label %129

125:                                              ; preds = %113, %112, %111, %109
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %252

127:                                              ; preds = %118
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %162

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

130:                                              ; preds = %129
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %132 unwind label %145

132:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  %133 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @_ZN9NativeJIT8RegisterILj8ELb0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %17, i32 noundef %133)
          to label %134 unwind label %147

134:                                              ; preds = %132
  %135 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb0EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %17)
          to label %136 unwind label %147

136:                                              ; preds = %134
  store ptr %135, ptr %16, align 8, !tbaa !9
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %138 unwind label %147

138:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %139 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %140 unwind label %149

140:                                              ; preds = %138
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 647, ptr noundef %139)
          to label %141 unwind label %149

141:                                              ; preds = %140
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %137)
          to label %142 unwind label %151

142:                                              ; preds = %141
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %.loopexit

143:                                              ; preds = %129
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %156

145:                                              ; preds = %130
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %155

147:                                              ; preds = %136, %134, %132
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %154

149:                                              ; preds = %140, %138
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %141
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %153

153:                                              ; preds = %151, %149
  %.pn72 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %154

154:                                              ; preds = %153, %147
  %.pn72.pn = phi { ptr, i32 } [ %.pn72, %153 ], [ %148, %147 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %155

155:                                              ; preds = %154, %145
  %.pn72.pn.pn = phi { ptr, i32 } [ %.pn72.pn, %154 ], [ %146, %145 ]
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %156

156:                                              ; preds = %155, %143
  %.pn72.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn, %155 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %162

157:                                              ; preds = %123
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  %158 = load i32, ptr %13, align 4, !tbaa !5
  call void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef nonnull %12, i32 noundef %158)
  %159 = load i32, ptr %12, align 4, !tbaa !5
  %160 = zext i32 %159 to i64
  %161 = call noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef %160, ptr noundef nonnull %13)
  br i1 %161, label %118, label %._crit_edge, !llvm.loop !11

162:                                              ; preds = %156, %127
  %.pn72.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn, %156 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  br label %251

._crit_edge:                                      ; preds = %157, %114
  store i32 0, ptr %12, align 4, !tbaa !5
  %163 = call noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef 0, ptr noundef nonnull %13)
  br i1 %163, label %.lr.ph91, label %.loopexit

.lr.ph91:                                         ; preds = %._crit_edge, %244
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #8
  %164 = load i32, ptr %13, align 4, !tbaa !5
  %165 = shl i32 %164, 1
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds [32 x i64], ptr %2, i64 0, i64 %166
  %168 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %166
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %19, ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.50, ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull align 8 dereferenceable(8) %168)
          to label %169 unwind label %171

169:                                              ; preds = %.lr.ph91
  %170 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  br i1 %170, label %201, label %173

171:                                              ; preds = %.lr.ph91
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %213

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20)
          to label %174 unwind label %187

174:                                              ; preds = %173
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %176 unwind label %189

176:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #8
  %177 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @_ZN9NativeJIT8RegisterILj8ELb1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef %177)
          to label %178 unwind label %191

178:                                              ; preds = %176
  %179 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb1EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %180 unwind label %191

180:                                              ; preds = %178
  store ptr %179, ptr %21, align 8, !tbaa !9
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef nonnull align 8 dereferenceable(8) %21)
          to label %182 unwind label %191

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %183 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %184 unwind label %193

184:                                              ; preds = %182
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 657, ptr noundef %183)
          to label %185 unwind label %193

185:                                              ; preds = %184
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %181)
          to label %186 unwind label %195

186:                                              ; preds = %185
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  br label %.loopexit

187:                                              ; preds = %173
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %200

189:                                              ; preds = %174
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %199

191:                                              ; preds = %180, %178, %176
  %192 = landingpad { ptr, i32 }
          cleanup
  br label %198

193:                                              ; preds = %184, %182
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %197

195:                                              ; preds = %185
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %197

197:                                              ; preds = %195, %193
  %.pn60 = phi { ptr, i32 } [ %196, %195 ], [ %194, %193 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br label %198

198:                                              ; preds = %197, %191
  %.pn60.pn = phi { ptr, i32 } [ %.pn60, %197 ], [ %192, %191 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %199

199:                                              ; preds = %198, %189
  %.pn60.pn.pn = phi { ptr, i32 } [ %.pn60.pn, %198 ], [ %190, %189 ]
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br label %200

200:                                              ; preds = %199, %187
  %.pn60.pn.pn.pn = phi { ptr, i32 } [ %.pn60.pn.pn, %199 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  br label %213

201:                                              ; preds = %169
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %202 = load i32, ptr %13, align 4, !tbaa !5
  %203 = shl i32 %202, 1
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds [32 x i64], ptr %2, i64 0, i64 %204
  %206 = load i64, ptr %205, align 16, !tbaa !13
  %207 = add i64 %206, 1
  store i64 %207, ptr %25, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %208 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %204
  %209 = load i64, ptr %208, align 16, !tbaa !13
  %210 = add i64 %209, 1
  store i64 %210, ptr %26, align 8, !tbaa !13
  invoke void @_ZN7testing8internal8EqHelperILb0EE7CompareImmEENS_15AssertionResultEPKcS6_RKT_RKT0_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %24, ptr noundef nonnull @.str.51, ptr noundef nonnull @.str.52, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %211 unwind label %214

211:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  %212 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
  br i1 %212, label %244, label %216

213:                                              ; preds = %200, %171
  %.pn60.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn60.pn.pn.pn, %200 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #8
  br label %251

214:                                              ; preds = %201
  %215 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  br label %249

216:                                              ; preds = %211
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %217 unwind label %230

217:                                              ; preds = %216
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 1 dereferenceable(23) @.str.48)
          to label %219 unwind label %232

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #8
  %220 = load i32, ptr %13, align 4, !tbaa !5
  invoke void @_ZN9NativeJIT8RegisterILj8ELb1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %29, i32 noundef %220)
          to label %221 unwind label %234

221:                                              ; preds = %219
  %222 = invoke noundef ptr @_ZNK9NativeJIT8RegisterILj8ELb1EE7GetNameEv(ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %223 unwind label %234

223:                                              ; preds = %221
  store ptr %222, ptr %28, align 8, !tbaa !9
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %225 unwind label %234

225:                                              ; preds = %223
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %226 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %227 unwind label %236

227:                                              ; preds = %225
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 2, ptr noundef nonnull @.str.3, i32 noundef 661, ptr noundef %226)
          to label %228 unwind label %236

228:                                              ; preds = %227
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %224)
          to label %229 unwind label %238

229:                                              ; preds = %228
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %.loopexit

230:                                              ; preds = %216
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %243

232:                                              ; preds = %217
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %242

234:                                              ; preds = %223, %221, %219
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %241

236:                                              ; preds = %227, %225
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %240

238:                                              ; preds = %228
  %239 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br label %240

240:                                              ; preds = %238, %236
  %.pn66 = phi { ptr, i32 } [ %239, %238 ], [ %237, %236 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  br label %241

241:                                              ; preds = %240, %234
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %240 ], [ %235, %234 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  br label %242

242:                                              ; preds = %241, %232
  %.pn66.pn.pn = phi { ptr, i32 } [ %.pn66.pn, %241 ], [ %233, %232 ]
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br label %243

243:                                              ; preds = %242, %230
  %.pn66.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn, %242 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  br label %249

244:                                              ; preds = %211
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  %245 = load i32, ptr %13, align 4, !tbaa !5
  call void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef nonnull %12, i32 noundef %245)
  %246 = load i32, ptr %12, align 4, !tbaa !5
  %247 = zext i32 %246 to i64
  %248 = call noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef %247, ptr noundef nonnull %13)
  br i1 %248, label %.lr.ph91, label %.loopexit, !llvm.loop !15

249:                                              ; preds = %243, %214
  %.pn66.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn66.pn.pn.pn, %243 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %251

.loopexit:                                        ; preds = %244, %._crit_edge, %229, %186, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  br label %250

250:                                              ; preds = %.loopexit, %99, %71
  call void @_ZN9NativeJIT21FunctionSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #8
  call void @_ZNSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %2) #8
  ret void

251:                                              ; preds = %249, %213, %162
  %.pn72.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn.pn, %162 ], [ %.pn66.pn.pn.pn.pn, %249 ], [ %.pn60.pn.pn.pn.pn, %213 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #8
  br label %252

252:                                              ; preds = %125, %251, %107, %95, %79, %67, %59
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %79 ], [ %.pn57.pn, %107 ], [ %60, %59 ], [ %.pn55, %95 ], [ %.pn, %67 ], [ %.pn72.pn.pn.pn.pn.pn, %251 ], [ %126, %125 ]
  call void @_ZN9NativeJIT21FunctionSpecificationD2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5) #8
  br label %253

253:                                              ; preds = %252, %57
  %.pn52.pn.pn.pn = phi { ptr, i32 } [ %.pn52.pn.pn, %252 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #8
  br label %254

254:                                              ; preds = %53, %253, %55, %51
  %.pn52.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %52, %51 ], [ %54, %53 ], [ %.pn52.pn.pn.pn, %253 ], [ %56, %55 ]
  call void @_ZNSt10unique_ptrIN9NativeJIT13TestCaseSetupESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn52.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest24EmitSaveNonVolatilesCodeERNS_14FunctionBufferERKNS1_7RegInfoE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 16 dereferenceable(400)) local_unnamed_addr #3 align 2

declare void @_ZN9NativeJIT14FunctionBuffer27BeginFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9NativeJIT15CodeGenUnitTest18FunctionBufferTest35FillAllWritableRegistersWithGarbageERNS_14FunctionBufferE(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(133)) local_unnamed_addr #3 align 2

declare void @_ZN9NativeJIT14FunctionBuffer25EndFunctionBodyGenerationERKNS_21FunctionSpecificationE(ptr noundef nonnull align 8 dereferenceable(133), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1

declare noundef ptr @_ZNK9NativeJIT14FunctionBuffer13GetEntryPointEv(ptr noundef nonnull align 8 dereferenceable(133)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9NativeJIT5BitOp15GetLowestBitSetEmPj(i64 noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIA23_cEERS0_RKT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(23)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN7testing7MessagelsIKcEERS0_RKPT_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9NativeJIT5BitOp8ClearBitIjEEvPT_j(ptr noundef, i32 noundef) local_unnamed_addr #5

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !12}


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