; LLVM IR from QAQdev/mini-sql-engine :: thirdparty/googletest/test (gtest_all_test)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.testing::AssertionResult" = type { i8, %"class.std::unique_ptr" }
%"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.87" }
%"struct.std::_Head_base.87" = type { ptr }
%struct.Bool = type { i8 }
%"class.testing::Message" = type { %"class.std::unique_ptr.88" }
%"class.std::unique_ptr.88" = type { %"struct.std::__uniq_ptr_data.89" }
%"struct.std::__uniq_ptr_data.89" = type { %"class.std::__uniq_ptr_impl.90" }
%"class.std::__uniq_ptr_impl.90" = type { %"class.std::tuple.91" }
%"class.std::tuple.91" = type { %"struct.std::_Tuple_impl.92" }
%"struct.std::_Tuple_impl.92" = type { %"struct.std::_Head_base.95" }
%"struct.std::_Head_base.95" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.565 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.571 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.620 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.663 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN14Predicate5Test9finished_E = external dso_local global i8, align 1
@_ZN14Predicate5Test3n1_E = external dso_local global i32, align 4
@_ZN14Predicate5Test3n2_E = external dso_local global i32, align 4
@_ZN14Predicate5Test3n3_E = external dso_local global i32, align 4
@_ZN14Predicate5Test3n4_E = external dso_local global i32, align 4
@_ZN14Predicate5Test3n5_E = external dso_local global i32, align 4
@.str.748 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.749 = external hidden unnamed_addr constant [12 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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17PredFunction5Bool4BoolS_S_S_S_(i8, i8, i8, i8, i8) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN47ASSERT_PRED5Test_FunctionOnUserTypeSuccess_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.testing::AssertionResult", align 8
  %4 = alloca %struct.Bool, align 1
  %5 = alloca %struct.Bool, align 1
  %6 = alloca %struct.Bool, align 1
  %7 = alloca %struct.Bool, align 1
  %8 = alloca %struct.Bool, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.testing::Message", align 8
  %12 = alloca %"class.testing::internal::AssertHelper", align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  %15 = load i32, ptr @_ZN14Predicate5Test3n1_E, align 4, !tbaa !9
  %16 = add nsw i32 %15, 1
  store i32 %16, ptr @_ZN14Predicate5Test3n1_E, align 4, !tbaa !9
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %16)
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  %17 = load i32, ptr @_ZN14Predicate5Test3n2_E, align 4, !tbaa !9
  %18 = add nsw i32 %17, 1
  store i32 %18, ptr @_ZN14Predicate5Test3n2_E, align 4, !tbaa !9
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %18)
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %19 = load i32, ptr @_ZN14Predicate5Test3n3_E, align 4, !tbaa !9
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr @_ZN14Predicate5Test3n3_E, align 4, !tbaa !9
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %6, i32 noundef %20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  %21 = load i32, ptr @_ZN14Predicate5Test3n4_E, align 4, !tbaa !9
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr @_ZN14Predicate5Test3n4_E, align 4, !tbaa !9
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef %22)
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  %23 = load i32, ptr @_ZN14Predicate5Test3n5_E, align 4, !tbaa !9
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @_ZN14Predicate5Test3n5_E, align 4, !tbaa !9
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %24)
  call void @_ZN7testing17AssertPred5HelperIPFb4BoolS1_S1_S1_S1_ES1_S1_S1_S1_S1_EENS_15AssertionResultEPKcS6_S6_S6_S6_S6_T_RKT0_RKT1_RKT2_RKT3_RKT4_(ptr dead_on_unwind writable sret(%"class.testing::AssertionResult") align 8 %3, ptr noundef @.str.748, ptr noundef @.str.571, ptr noundef @.str.620, ptr noundef @.str.663, ptr noundef @.str.706, ptr noundef @.str.749, ptr noundef @_Z17PredFunction5Bool4BoolS_S_S_S_, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  %25 = invoke noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %26 unwind label %28

26:                                               ; preds = %1
  br i1 %25, label %27, label %32

27:                                               ; preds = %26
  br label %52

28:                                               ; preds = %1
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %9, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %10, align 4
  br label %57

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %33 unwind label %38

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %34 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %35 unwind label %42

35:                                               ; preds = %33
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 2, ptr noundef @.str.565, i32 noundef 2124, ptr noundef %34)
          to label %36 unwind label %42

36:                                               ; preds = %35
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %37 unwind label %46

37:                                               ; preds = %36
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  store i32 1, ptr %13, align 4
  br label %53

38:                                               ; preds = %32
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %10, align 4
  br label %51

42:                                               ; preds = %35, %33
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  br label %50

46:                                               ; preds = %36
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %9, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %10, align 4
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %50

50:                                               ; preds = %46, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %51

51:                                               ; preds = %50, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %57

52:                                               ; preds = %27
  store i32 0, ptr %13, align 4
  br label %53

53:                                               ; preds = %52, %37
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  %54 = load i32, ptr %13, align 4
  switch i32 %54, label %63 [
    i32 0, label %55
    i32 1, label %56
  ]

55:                                               ; preds = %53
  store i8 1, ptr @_ZN14Predicate5Test9finished_E, align 1, !tbaa !11
  br label %56

56:                                               ; preds = %55, %53
  ret void

57:                                               ; preds = %51, %28
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  br label %58

58:                                               ; preds = %57
  %59 = load ptr, ptr %9, align 8
  %60 = load i32, ptr %10, align 4
  %61 = insertvalue { ptr, i32 } poison, ptr %59, 0
  %62 = insertvalue { ptr, i32 } %61, i32 %60, 1
  resume { ptr, i32 } %62

63:                                               ; preds = %53
  unreachable
}

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


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

%"class.testing::AssertionResult" = type { i8, %"class.std::unique_ptr" }
%"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.87" }
%"struct.std::_Head_base.87" = type { ptr }
%struct.Bool = type { i8 }
%"class.testing::Message" = type { %"class.std::unique_ptr.88" }
%"class.std::unique_ptr.88" = type { %"struct.std::__uniq_ptr_data.89" }
%"struct.std::__uniq_ptr_data.89" = type { %"class.std::__uniq_ptr_impl.90" }
%"class.std::__uniq_ptr_impl.90" = type { %"class.std::tuple.91" }
%"class.std::tuple.91" = type { %"struct.std::_Tuple_impl.92" }
%"struct.std::_Tuple_impl.92" = type { %"struct.std::_Head_base.95" }
%"struct.std::_Head_base.95" = type { ptr }
%"class.testing::internal::AssertHelper" = type { ptr }

@.str.565 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.571 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.620 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.663 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.706 = external hidden unnamed_addr constant [12 x i8], align 1
@_ZN14Predicate5Test9finished_E = external dso_local local_unnamed_addr global i8, align 1
@_ZN14Predicate5Test3n1_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN14Predicate5Test3n2_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN14Predicate5Test3n3_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN14Predicate5Test3n4_E = external dso_local local_unnamed_addr global i32, align 4
@_ZN14Predicate5Test3n5_E = external dso_local local_unnamed_addr global i32, align 4
@.str.748 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.749 = external hidden unnamed_addr constant [12 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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17PredFunction5Bool4BoolS_S_S_S_(i8, i8, i8, i8, i8) #5

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN47ASSERT_PRED5Test_FunctionOnUserTypeSuccess_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.testing::AssertionResult", align 8
  %3 = alloca %struct.Bool, align 1
  %4 = alloca %struct.Bool, align 1
  %5 = alloca %struct.Bool, align 1
  %6 = alloca %struct.Bool, align 1
  %7 = alloca %struct.Bool, align 1
  %8 = alloca %"class.testing::Message", align 8
  %9 = alloca %"class.testing::internal::AssertHelper", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  %10 = load i32, ptr @_ZN14Predicate5Test3n1_E, align 4, !tbaa !5
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr @_ZN14Predicate5Test3n1_E, align 4, !tbaa !5
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %3, i32 noundef %11)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  %12 = load i32, ptr @_ZN14Predicate5Test3n2_E, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr @_ZN14Predicate5Test3n2_E, align 4, !tbaa !5
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %4, i32 noundef %13)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %14 = load i32, ptr @_ZN14Predicate5Test3n3_E, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @_ZN14Predicate5Test3n3_E, align 4, !tbaa !5
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %5, i32 noundef %15)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  %16 = load i32, ptr @_ZN14Predicate5Test3n4_E, align 4, !tbaa !5
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr @_ZN14Predicate5Test3n4_E, align 4, !tbaa !5
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %6, i32 noundef %17)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  %18 = load i32, ptr @_ZN14Predicate5Test3n5_E, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr @_ZN14Predicate5Test3n5_E, align 4, !tbaa !5
  call void @_ZN4BoolC2Ei(ptr noundef nonnull align 1 dereferenceable(1) %7, i32 noundef %19)
  call void @_ZN7testing17AssertPred5HelperIPFb4BoolS1_S1_S1_S1_ES1_S1_S1_S1_S1_EENS_15AssertionResultEPKcS6_S6_S6_S6_S6_T_RKT0_RKT1_RKT2_RKT3_RKT4_(ptr dead_on_unwind nonnull writable sret(%"class.testing::AssertionResult") align 8 %2, ptr noundef nonnull @.str.748, ptr noundef nonnull @.str.571, ptr noundef nonnull @.str.620, ptr noundef nonnull @.str.663, ptr noundef nonnull @.str.706, ptr noundef nonnull @.str.749, ptr noundef nonnull @_Z17PredFunction5Bool4BoolS_S_S_S_, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull align 1 dereferenceable(1) %4, ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  %20 = call noundef zeroext i1 @_ZNK7testing15AssertionResultcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %20, label %35, label %21

21:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  invoke void @_ZN7testing7MessageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %22 unwind label %26

22:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %23 = invoke noundef ptr @_ZNK7testing15AssertionResult15failure_messageEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %24 unwind label %28

24:                                               ; preds = %22
  invoke void @_ZN7testing8internal12AssertHelperC1ENS_14TestPartResult4TypeEPKciS5_(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 2, ptr noundef nonnull @.str.565, i32 noundef 2124, ptr noundef %23)
          to label %25 unwind label %28

25:                                               ; preds = %24
  invoke void @_ZNK7testing8internal12AssertHelperaSERKNS_7MessageE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %34 unwind label %30

26:                                               ; preds = %21
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %33

28:                                               ; preds = %24, %22
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %32

30:                                               ; preds = %25
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %32

32:                                               ; preds = %30, %28
  %.pn = phi { ptr, i32 } [ %31, %30 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %33

33:                                               ; preds = %32, %26
  %.pn.pn = phi { ptr, i32 } [ %.pn, %32 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn.pn

34:                                               ; preds = %25
  call void @_ZN7testing8internal12AssertHelperD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN7testing7MessageD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  br label %36

35:                                               ; preds = %1
  call void @_ZN7testing15AssertionResultD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  store i8 1, ptr @_ZN14Predicate5Test9finished_E, align 1, !tbaa !9
  br label %36

36:                                               ; preds = %34, %35
  ret void
}

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


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