; LLVM IR from zsiciarz/aquila :: tests/functions.ll (ZNK14SuiteFunctions23TestIsPowerOf2ForPowers7RunImplEv)

; 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.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, [3 x i8] }>
%"class.UnitTest::MemoryOutStream" = type { %"class.std::__cxx11::basic_ostringstream.base", %"class.std::__cxx11::basic_string", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@_ZTISt9exception = external constant ptr
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [54 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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() #1

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

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

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

declare ptr @__cxa_begin_catch(ptr)

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(29), ptr noundef) #1

declare void @__cxa_end_catch()

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5

declare noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK14SuiteFunctions23TestIsPowerOf2ForPowers7RunImplEv(ptr noundef nonnull align 8 dereferenceable(49) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.UnitTest::TestDetails", align 8
  %6 = alloca %"class.UnitTest::TestDetails", align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %9 = alloca %"class.UnitTest::TestDetails", align 8
  %10 = alloca %"class.UnitTest::TestDetails", align 8
  %11 = alloca %"class.UnitTest::TestDetails", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %14 = alloca %"class.UnitTest::TestDetails", align 8
  %15 = alloca %"class.UnitTest::TestDetails", align 8
  %16 = alloca %"class.UnitTest::TestDetails", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %19 = alloca %"class.UnitTest::TestDetails", align 8
  %20 = alloca %"class.UnitTest::TestDetails", align 8
  %21 = alloca %"class.UnitTest::TestDetails", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %24 = alloca %"class.UnitTest::TestDetails", align 8
  %25 = alloca %"class.UnitTest::TestDetails", align 8
  %26 = alloca %"class.UnitTest::TestDetails", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %29 = alloca %"class.UnitTest::TestDetails", align 8
  %30 = alloca %"class.UnitTest::TestDetails", align 8
  %31 = alloca %"class.UnitTest::TestDetails", align 8
  %32 = alloca ptr, align 8
  %33 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %34 = alloca %"class.UnitTest::TestDetails", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %35 = load ptr, ptr %2, align 8
  br label %36

36:                                               ; preds = %1
  %37 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 1)
          to label %38 unwind label %50

38:                                               ; preds = %36
  %39 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %37)
          to label %40 unwind label %50

40:                                               ; preds = %38
  br i1 %39, label %114, label %41

41:                                               ; preds = %40
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %43 unwind label %50

43:                                               ; preds = %41
  %44 = load ptr, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #8
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %46 unwind label %54

46:                                               ; preds = %43
  %47 = load ptr, ptr %45, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %5, ptr noundef nonnull align 8 dereferenceable(29) %47, i32 noundef 80)
          to label %48 unwind label %54

48:                                               ; preds = %46
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %44, ptr noundef nonnull align 8 dereferenceable(29) %5, ptr noundef @.str.52)
          to label %49 unwind label %54

49:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  br label %114

50:                                               ; preds = %41, %38, %36
  %51 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  br label %58

54:                                               ; preds = %48, %46, %43
  %55 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %3, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  br label %58

58:                                               ; preds = %54, %50
  %59 = load i32, ptr %4, align 4
  %60 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %61 = icmp eq i32 %59, %60
  br i1 %61, label %62, label %103

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %63 = load ptr, ptr %3, align 8
  %64 = call ptr @__cxa_begin_catch(ptr %63) #8
  store ptr %64, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %8) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %65 unwind label %125

65:                                               ; preds = %62
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef @.str.4)
          to label %67 unwind label %129

67:                                               ; preds = %65
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds ptr, ptr %69, i64 2
  %71 = load ptr, ptr %70, align 8
  %72 = call noundef ptr %71(ptr noundef nonnull align 8 dereferenceable(8) %68) #8
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %72)
          to label %74 unwind label %129

74:                                               ; preds = %67
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @.str.54)
          to label %76 unwind label %129

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %78 unwind label %129

78:                                               ; preds = %76
  %79 = load ptr, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %81 unwind label %133

81:                                               ; preds = %78
  %82 = load ptr, ptr %80, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef nonnull align 8 dereferenceable(29) %82, i32 noundef 80)
          to label %83 unwind label %133

83:                                               ; preds = %81
  %84 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %85 unwind label %133

85:                                               ; preds = %83
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %79, ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef %84)
          to label %86 unwind label %133

86:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %8) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %87

87:                                               ; preds = %114, %113, %86
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  %90 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 2)
          to label %91 unwind label %140

91:                                               ; preds = %89
  %92 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %90)
          to label %93 unwind label %140

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

94:                                               ; preds = %93
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %96 unwind label %140

96:                                               ; preds = %94
  %97 = load ptr, ptr %95, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %99 unwind label %144

99:                                               ; preds = %96
  %100 = load ptr, ptr %98, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %10, ptr noundef nonnull align 8 dereferenceable(29) %100, i32 noundef 81)
          to label %101 unwind label %144

101:                                              ; preds = %99
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %97, ptr noundef nonnull align 8 dereferenceable(29) %10, ptr noundef @.str.55)
          to label %102 unwind label %144

102:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  br label %204

103:                                              ; preds = %58
  %104 = load ptr, ptr %3, align 8
  %105 = call ptr @__cxa_begin_catch(ptr %104) #8
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %107 unwind label %115

107:                                              ; preds = %103
  %108 = load ptr, ptr %106, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #8
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %110 unwind label %119

110:                                              ; preds = %107
  %111 = load ptr, ptr %109, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %6, ptr noundef nonnull align 8 dereferenceable(29) %111, i32 noundef 80)
          to label %112 unwind label %119

112:                                              ; preds = %110
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %108, ptr noundef nonnull align 8 dereferenceable(29) %6, ptr noundef @.str.53)
          to label %113 unwind label %119

113:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  call void @__cxa_end_catch()
  br label %87

114:                                              ; preds = %49, %40
  br label %87

115:                                              ; preds = %103
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %3, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %4, align 4
  br label %123

119:                                              ; preds = %112, %110, %107
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %3, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #8
  br label %123

123:                                              ; preds = %119, %115
  invoke void @__cxa_end_catch()
          to label %124 unwind label %581

124:                                              ; preds = %123
  br label %576

125:                                              ; preds = %62
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %3, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %4, align 4
  br label %138

129:                                              ; preds = %76, %74, %67, %65
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %3, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %4, align 4
  br label %137

133:                                              ; preds = %85, %83, %81, %78
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %3, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  br label %137

137:                                              ; preds = %133, %129
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #8
  br label %138

138:                                              ; preds = %137, %125
  call void @llvm.lifetime.end.p0(i64 408, ptr %8) #8
  invoke void @__cxa_end_catch()
          to label %139 unwind label %581

139:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %576

140:                                              ; preds = %94, %91, %89
  %141 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %3, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %4, align 4
  br label %148

144:                                              ; preds = %101, %99, %96
  %145 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %3, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  br label %148

148:                                              ; preds = %144, %140
  %149 = load i32, ptr %4, align 4
  %150 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %151 = icmp eq i32 %149, %150
  br i1 %151, label %152, label %193

152:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %153 = load ptr, ptr %3, align 8
  %154 = call ptr @__cxa_begin_catch(ptr %153) #8
  store ptr %154, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %13) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %13)
          to label %155 unwind label %215

155:                                              ; preds = %152
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef @.str.4)
          to label %157 unwind label %219

157:                                              ; preds = %155
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = load ptr, ptr %158, align 8, !tbaa !9
  %160 = getelementptr inbounds ptr, ptr %159, i64 2
  %161 = load ptr, ptr %160, align 8
  %162 = call noundef ptr %161(ptr noundef nonnull align 8 dereferenceable(8) %158) #8
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef %162)
          to label %164 unwind label %219

164:                                              ; preds = %157
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef @.str.57)
          to label %166 unwind label %219

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %168 unwind label %219

168:                                              ; preds = %166
  %169 = load ptr, ptr %167, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %171 unwind label %223

171:                                              ; preds = %168
  %172 = load ptr, ptr %170, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %14, ptr noundef nonnull align 8 dereferenceable(29) %172, i32 noundef 81)
          to label %173 unwind label %223

173:                                              ; preds = %171
  %174 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %13)
          to label %175 unwind label %223

175:                                              ; preds = %173
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %169, ptr noundef nonnull align 8 dereferenceable(29) %14, ptr noundef %174)
          to label %176 unwind label %223

176:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %13) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %177

177:                                              ; preds = %204, %203, %176
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  %180 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 16)
          to label %181 unwind label %230

181:                                              ; preds = %179
  %182 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %180)
          to label %183 unwind label %230

183:                                              ; preds = %181
  br i1 %182, label %294, label %184

184:                                              ; preds = %183
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %186 unwind label %230

186:                                              ; preds = %184
  %187 = load ptr, ptr %185, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %189 unwind label %234

189:                                              ; preds = %186
  %190 = load ptr, ptr %188, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef nonnull align 8 dereferenceable(29) %190, i32 noundef 82)
          to label %191 unwind label %234

191:                                              ; preds = %189
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %187, ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef @.str.58)
          to label %192 unwind label %234

192:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %294

193:                                              ; preds = %148
  %194 = load ptr, ptr %3, align 8
  %195 = call ptr @__cxa_begin_catch(ptr %194) #8
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %197 unwind label %205

197:                                              ; preds = %193
  %198 = load ptr, ptr %196, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %200 unwind label %209

200:                                              ; preds = %197
  %201 = load ptr, ptr %199, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef nonnull align 8 dereferenceable(29) %201, i32 noundef 81)
          to label %202 unwind label %209

202:                                              ; preds = %200
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %198, ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef @.str.56)
          to label %203 unwind label %209

203:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @__cxa_end_catch()
  br label %177

204:                                              ; preds = %102, %93
  br label %177

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

209:                                              ; preds = %202, %200, %197
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %3, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %213

213:                                              ; preds = %209, %205
  invoke void @__cxa_end_catch()
          to label %214 unwind label %581

214:                                              ; preds = %213
  br label %576

215:                                              ; preds = %152
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %3, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %4, align 4
  br label %228

219:                                              ; preds = %166, %164, %157, %155
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %3, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %4, align 4
  br label %227

223:                                              ; preds = %175, %173, %171, %168
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %3, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %227

227:                                              ; preds = %223, %219
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %13) #8
  br label %228

228:                                              ; preds = %227, %215
  call void @llvm.lifetime.end.p0(i64 408, ptr %13) #8
  invoke void @__cxa_end_catch()
          to label %229 unwind label %581

229:                                              ; preds = %228
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %576

230:                                              ; preds = %184, %181, %179
  %231 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %3, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %4, align 4
  br label %238

234:                                              ; preds = %191, %189, %186
  %235 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %3, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  br label %238

238:                                              ; preds = %234, %230
  %239 = load i32, ptr %4, align 4
  %240 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %241 = icmp eq i32 %239, %240
  br i1 %241, label %242, label %283

242:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %243 = load ptr, ptr %3, align 8
  %244 = call ptr @__cxa_begin_catch(ptr %243) #8
  store ptr %244, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %18) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %18)
          to label %245 unwind label %305

245:                                              ; preds = %242
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef @.str.4)
          to label %247 unwind label %309

247:                                              ; preds = %245
  %248 = load ptr, ptr %17, align 8, !tbaa !5
  %249 = load ptr, ptr %248, align 8, !tbaa !9
  %250 = getelementptr inbounds ptr, ptr %249, i64 2
  %251 = load ptr, ptr %250, align 8
  %252 = call noundef ptr %251(ptr noundef nonnull align 8 dereferenceable(8) %248) #8
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %246, ptr noundef %252)
          to label %254 unwind label %309

254:                                              ; preds = %247
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef @.str.60)
          to label %256 unwind label %309

256:                                              ; preds = %254
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %258 unwind label %309

258:                                              ; preds = %256
  %259 = load ptr, ptr %257, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %261 unwind label %313

261:                                              ; preds = %258
  %262 = load ptr, ptr %260, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %19, ptr noundef nonnull align 8 dereferenceable(29) %262, i32 noundef 82)
          to label %263 unwind label %313

263:                                              ; preds = %261
  %264 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %18)
          to label %265 unwind label %313

265:                                              ; preds = %263
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %259, ptr noundef nonnull align 8 dereferenceable(29) %19, ptr noundef %264)
          to label %266 unwind label %313

266:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %18) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %18) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %267

267:                                              ; preds = %294, %293, %266
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268
  %270 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 1024)
          to label %271 unwind label %320

271:                                              ; preds = %269
  %272 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %270)
          to label %273 unwind label %320

273:                                              ; preds = %271
  br i1 %272, label %384, label %274

274:                                              ; preds = %273
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %276 unwind label %320

276:                                              ; preds = %274
  %277 = load ptr, ptr %275, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #8
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %279 unwind label %324

279:                                              ; preds = %276
  %280 = load ptr, ptr %278, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %20, ptr noundef nonnull align 8 dereferenceable(29) %280, i32 noundef 83)
          to label %281 unwind label %324

281:                                              ; preds = %279
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %277, ptr noundef nonnull align 8 dereferenceable(29) %20, ptr noundef @.str.61)
          to label %282 unwind label %324

282:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  br label %384

283:                                              ; preds = %238
  %284 = load ptr, ptr %3, align 8
  %285 = call ptr @__cxa_begin_catch(ptr %284) #8
  %286 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %287 unwind label %295

287:                                              ; preds = %283
  %288 = load ptr, ptr %286, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %290 unwind label %299

290:                                              ; preds = %287
  %291 = load ptr, ptr %289, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %16, ptr noundef nonnull align 8 dereferenceable(29) %291, i32 noundef 82)
          to label %292 unwind label %299

292:                                              ; preds = %290
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %288, ptr noundef nonnull align 8 dereferenceable(29) %16, ptr noundef @.str.59)
          to label %293 unwind label %299

293:                                              ; preds = %292
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  call void @__cxa_end_catch()
  br label %267

294:                                              ; preds = %192, %183
  br label %267

295:                                              ; preds = %283
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %3, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %4, align 4
  br label %303

299:                                              ; preds = %292, %290, %287
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %3, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  br label %303

303:                                              ; preds = %299, %295
  invoke void @__cxa_end_catch()
          to label %304 unwind label %581

304:                                              ; preds = %303
  br label %576

305:                                              ; preds = %242
  %306 = landingpad { ptr, i32 }
          cleanup
  %307 = extractvalue { ptr, i32 } %306, 0
  store ptr %307, ptr %3, align 8
  %308 = extractvalue { ptr, i32 } %306, 1
  store i32 %308, ptr %4, align 4
  br label %318

309:                                              ; preds = %256, %254, %247, %245
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %3, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %4, align 4
  br label %317

313:                                              ; preds = %265, %263, %261, %258
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %3, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %317

317:                                              ; preds = %313, %309
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %18) #8
  br label %318

318:                                              ; preds = %317, %305
  call void @llvm.lifetime.end.p0(i64 408, ptr %18) #8
  invoke void @__cxa_end_catch()
          to label %319 unwind label %581

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

320:                                              ; preds = %274, %271, %269
  %321 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %3, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %4, align 4
  br label %328

324:                                              ; preds = %281, %279, %276
  %325 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %3, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #8
  br label %328

328:                                              ; preds = %324, %320
  %329 = load i32, ptr %4, align 4
  %330 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %331 = icmp eq i32 %329, %330
  br i1 %331, label %332, label %373

332:                                              ; preds = %328
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %333 = load ptr, ptr %3, align 8
  %334 = call ptr @__cxa_begin_catch(ptr %333) #8
  store ptr %334, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %23) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %335 unwind label %395

335:                                              ; preds = %332
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef @.str.4)
          to label %337 unwind label %399

337:                                              ; preds = %335
  %338 = load ptr, ptr %22, align 8, !tbaa !5
  %339 = load ptr, ptr %338, align 8, !tbaa !9
  %340 = getelementptr inbounds ptr, ptr %339, i64 2
  %341 = load ptr, ptr %340, align 8
  %342 = call noundef ptr %341(ptr noundef nonnull align 8 dereferenceable(8) %338) #8
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %336, ptr noundef %342)
          to label %344 unwind label %399

344:                                              ; preds = %337
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef @.str.63)
          to label %346 unwind label %399

346:                                              ; preds = %344
  %347 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %348 unwind label %399

348:                                              ; preds = %346
  %349 = load ptr, ptr %347, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %351 unwind label %403

351:                                              ; preds = %348
  %352 = load ptr, ptr %350, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %24, ptr noundef nonnull align 8 dereferenceable(29) %352, i32 noundef 83)
          to label %353 unwind label %403

353:                                              ; preds = %351
  %354 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %23)
          to label %355 unwind label %403

355:                                              ; preds = %353
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %349, ptr noundef nonnull align 8 dereferenceable(29) %24, ptr noundef %354)
          to label %356 unwind label %403

356:                                              ; preds = %355
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %23) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %23) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %357

357:                                              ; preds = %384, %383, %356
  br label %358

358:                                              ; preds = %357
  br label %359

359:                                              ; preds = %358
  %360 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 32768)
          to label %361 unwind label %410

361:                                              ; preds = %359
  %362 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %360)
          to label %363 unwind label %410

363:                                              ; preds = %361
  br i1 %362, label %474, label %364

364:                                              ; preds = %363
  %365 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %366 unwind label %410

366:                                              ; preds = %364
  %367 = load ptr, ptr %365, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %369 unwind label %414

369:                                              ; preds = %366
  %370 = load ptr, ptr %368, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %25, ptr noundef nonnull align 8 dereferenceable(29) %370, i32 noundef 84)
          to label %371 unwind label %414

371:                                              ; preds = %369
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %367, ptr noundef nonnull align 8 dereferenceable(29) %25, ptr noundef @.str.64)
          to label %372 unwind label %414

372:                                              ; preds = %371
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %474

373:                                              ; preds = %328
  %374 = load ptr, ptr %3, align 8
  %375 = call ptr @__cxa_begin_catch(ptr %374) #8
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %377 unwind label %385

377:                                              ; preds = %373
  %378 = load ptr, ptr %376, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %380 unwind label %389

380:                                              ; preds = %377
  %381 = load ptr, ptr %379, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %21, ptr noundef nonnull align 8 dereferenceable(29) %381, i32 noundef 83)
          to label %382 unwind label %389

382:                                              ; preds = %380
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %378, ptr noundef nonnull align 8 dereferenceable(29) %21, ptr noundef @.str.62)
          to label %383 unwind label %389

383:                                              ; preds = %382
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  call void @__cxa_end_catch()
  br label %357

384:                                              ; preds = %282, %273
  br label %357

385:                                              ; preds = %373
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %3, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %4, align 4
  br label %393

389:                                              ; preds = %382, %380, %377
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %3, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %393

393:                                              ; preds = %389, %385
  invoke void @__cxa_end_catch()
          to label %394 unwind label %581

394:                                              ; preds = %393
  br label %576

395:                                              ; preds = %332
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %3, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %4, align 4
  br label %408

399:                                              ; preds = %346, %344, %337, %335
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %3, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %4, align 4
  br label %407

403:                                              ; preds = %355, %353, %351, %348
  %404 = landingpad { ptr, i32 }
          cleanup
  %405 = extractvalue { ptr, i32 } %404, 0
  store ptr %405, ptr %3, align 8
  %406 = extractvalue { ptr, i32 } %404, 1
  store i32 %406, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %407

407:                                              ; preds = %403, %399
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %23) #8
  br label %408

408:                                              ; preds = %407, %395
  call void @llvm.lifetime.end.p0(i64 408, ptr %23) #8
  invoke void @__cxa_end_catch()
          to label %409 unwind label %581

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

410:                                              ; preds = %364, %361, %359
  %411 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %3, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %4, align 4
  br label %418

414:                                              ; preds = %371, %369, %366
  %415 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %3, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  br label %418

418:                                              ; preds = %414, %410
  %419 = load i32, ptr %4, align 4
  %420 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %421 = icmp eq i32 %419, %420
  br i1 %421, label %422, label %463

422:                                              ; preds = %418
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %423 = load ptr, ptr %3, align 8
  %424 = call ptr @__cxa_begin_catch(ptr %423) #8
  store ptr %424, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %28) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %28)
          to label %425 unwind label %485

425:                                              ; preds = %422
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.4)
          to label %427 unwind label %489

427:                                              ; preds = %425
  %428 = load ptr, ptr %27, align 8, !tbaa !5
  %429 = load ptr, ptr %428, align 8, !tbaa !9
  %430 = getelementptr inbounds ptr, ptr %429, i64 2
  %431 = load ptr, ptr %430, align 8
  %432 = call noundef ptr %431(ptr noundef nonnull align 8 dereferenceable(8) %428) #8
  %433 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %426, ptr noundef %432)
          to label %434 unwind label %489

434:                                              ; preds = %427
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %433, ptr noundef @.str.66)
          to label %436 unwind label %489

436:                                              ; preds = %434
  %437 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %438 unwind label %489

438:                                              ; preds = %436
  %439 = load ptr, ptr %437, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #8
  %440 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %441 unwind label %493

441:                                              ; preds = %438
  %442 = load ptr, ptr %440, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %29, ptr noundef nonnull align 8 dereferenceable(29) %442, i32 noundef 84)
          to label %443 unwind label %493

443:                                              ; preds = %441
  %444 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %28)
          to label %445 unwind label %493

445:                                              ; preds = %443
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %439, ptr noundef nonnull align 8 dereferenceable(29) %29, ptr noundef %444)
          to label %446 unwind label %493

446:                                              ; preds = %445
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %28) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %28) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %447

447:                                              ; preds = %474, %473, %446
  br label %448

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448
  %450 = invoke noundef zeroext i1 @_ZN6Aquila10isPowerOf2ImEEbT_(i64 noundef 1152921504606846976)
          to label %451 unwind label %500

451:                                              ; preds = %449
  %452 = invoke noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %450)
          to label %453 unwind label %500

453:                                              ; preds = %451
  br i1 %452, label %550, label %454

454:                                              ; preds = %453
  %455 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %456 unwind label %500

456:                                              ; preds = %454
  %457 = load ptr, ptr %455, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  %458 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %459 unwind label %504

459:                                              ; preds = %456
  %460 = load ptr, ptr %458, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %30, ptr noundef nonnull align 8 dereferenceable(29) %460, i32 noundef 85)
          to label %461 unwind label %504

461:                                              ; preds = %459
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %457, ptr noundef nonnull align 8 dereferenceable(29) %30, ptr noundef @.str.67)
          to label %462 unwind label %504

462:                                              ; preds = %461
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  br label %550

463:                                              ; preds = %418
  %464 = load ptr, ptr %3, align 8
  %465 = call ptr @__cxa_begin_catch(ptr %464) #8
  %466 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %467 unwind label %475

467:                                              ; preds = %463
  %468 = load ptr, ptr %466, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  %469 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %470 unwind label %479

470:                                              ; preds = %467
  %471 = load ptr, ptr %469, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %26, ptr noundef nonnull align 8 dereferenceable(29) %471, i32 noundef 84)
          to label %472 unwind label %479

472:                                              ; preds = %470
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %468, ptr noundef nonnull align 8 dereferenceable(29) %26, ptr noundef @.str.65)
          to label %473 unwind label %479

473:                                              ; preds = %472
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @__cxa_end_catch()
  br label %447

474:                                              ; preds = %372, %363
  br label %447

475:                                              ; preds = %463
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %3, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %4, align 4
  br label %483

479:                                              ; preds = %472, %470, %467
  %480 = landingpad { ptr, i32 }
          cleanup
  %481 = extractvalue { ptr, i32 } %480, 0
  store ptr %481, ptr %3, align 8
  %482 = extractvalue { ptr, i32 } %480, 1
  store i32 %482, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  br label %483

483:                                              ; preds = %479, %475
  invoke void @__cxa_end_catch()
          to label %484 unwind label %581

484:                                              ; preds = %483
  br label %576

485:                                              ; preds = %422
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %3, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %4, align 4
  br label %498

489:                                              ; preds = %436, %434, %427, %425
  %490 = landingpad { ptr, i32 }
          cleanup
  %491 = extractvalue { ptr, i32 } %490, 0
  store ptr %491, ptr %3, align 8
  %492 = extractvalue { ptr, i32 } %490, 1
  store i32 %492, ptr %4, align 4
  br label %497

493:                                              ; preds = %445, %443, %441, %438
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %3, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  br label %497

497:                                              ; preds = %493, %489
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %28) #8
  br label %498

498:                                              ; preds = %497, %485
  call void @llvm.lifetime.end.p0(i64 408, ptr %28) #8
  invoke void @__cxa_end_catch()
          to label %499 unwind label %581

499:                                              ; preds = %498
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %576

500:                                              ; preds = %454, %451, %449
  %501 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %3, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %4, align 4
  br label %508

504:                                              ; preds = %461, %459, %456
  %505 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %506 = extractvalue { ptr, i32 } %505, 0
  store ptr %506, ptr %3, align 8
  %507 = extractvalue { ptr, i32 } %505, 1
  store i32 %507, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  br label %508

508:                                              ; preds = %504, %500
  %509 = load i32, ptr %4, align 4
  %510 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #8
  %511 = icmp eq i32 %509, %510
  br i1 %511, label %512, label %539

512:                                              ; preds = %508
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %513 = load ptr, ptr %3, align 8
  %514 = call ptr @__cxa_begin_catch(ptr %513) #8
  store ptr %514, ptr %32, align 8
  call void @llvm.lifetime.start.p0(i64 408, ptr %33) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %33)
          to label %515 unwind label %561

515:                                              ; preds = %512
  %516 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @.str.4)
          to label %517 unwind label %565

517:                                              ; preds = %515
  %518 = load ptr, ptr %32, align 8, !tbaa !5
  %519 = load ptr, ptr %518, align 8, !tbaa !9
  %520 = getelementptr inbounds ptr, ptr %519, i64 2
  %521 = load ptr, ptr %520, align 8
  %522 = call noundef ptr %521(ptr noundef nonnull align 8 dereferenceable(8) %518) #8
  %523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %516, ptr noundef %522)
          to label %524 unwind label %565

524:                                              ; preds = %517
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %523, ptr noundef @.str.69)
          to label %526 unwind label %565

526:                                              ; preds = %524
  %527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %528 unwind label %565

528:                                              ; preds = %526
  %529 = load ptr, ptr %527, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #8
  %530 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %531 unwind label %569

531:                                              ; preds = %528
  %532 = load ptr, ptr %530, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %34, ptr noundef nonnull align 8 dereferenceable(29) %532, i32 noundef 85)
          to label %533 unwind label %569

533:                                              ; preds = %531
  %534 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %33)
          to label %535 unwind label %569

535:                                              ; preds = %533
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %529, ptr noundef nonnull align 8 dereferenceable(29) %34, ptr noundef %534)
          to label %536 unwind label %569

536:                                              ; preds = %535
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %33) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr %33) #8
  call void @__cxa_end_catch()
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %537

537:                                              ; preds = %550, %549, %536
  br label %538

538:                                              ; preds = %537
  ret void

539:                                              ; preds = %508
  %540 = load ptr, ptr %3, align 8
  %541 = call ptr @__cxa_begin_catch(ptr %540) #8
  %542 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %543 unwind label %551

543:                                              ; preds = %539
  %544 = load ptr, ptr %542, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  %545 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %546 unwind label %555

546:                                              ; preds = %543
  %547 = load ptr, ptr %545, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %31, ptr noundef nonnull align 8 dereferenceable(29) %547, i32 noundef 85)
          to label %548 unwind label %555

548:                                              ; preds = %546
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %544, ptr noundef nonnull align 8 dereferenceable(29) %31, ptr noundef @.str.68)
          to label %549 unwind label %555

549:                                              ; preds = %548
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  call void @__cxa_end_catch()
  br label %537

550:                                              ; preds = %462, %453
  br label %537

551:                                              ; preds = %539
  %552 = landingpad { ptr, i32 }
          cleanup
  %553 = extractvalue { ptr, i32 } %552, 0
  store ptr %553, ptr %3, align 8
  %554 = extractvalue { ptr, i32 } %552, 1
  store i32 %554, ptr %4, align 4
  br label %559

555:                                              ; preds = %548, %546, %543
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %3, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %559

559:                                              ; preds = %555, %551
  invoke void @__cxa_end_catch()
          to label %560 unwind label %581

560:                                              ; preds = %559
  br label %576

561:                                              ; preds = %512
  %562 = landingpad { ptr, i32 }
          cleanup
  %563 = extractvalue { ptr, i32 } %562, 0
  store ptr %563, ptr %3, align 8
  %564 = extractvalue { ptr, i32 } %562, 1
  store i32 %564, ptr %4, align 4
  br label %574

565:                                              ; preds = %526, %524, %517, %515
  %566 = landingpad { ptr, i32 }
          cleanup
  %567 = extractvalue { ptr, i32 } %566, 0
  store ptr %567, ptr %3, align 8
  %568 = extractvalue { ptr, i32 } %566, 1
  store i32 %568, ptr %4, align 4
  br label %573

569:                                              ; preds = %535, %533, %531, %528
  %570 = landingpad { ptr, i32 }
          cleanup
  %571 = extractvalue { ptr, i32 } %570, 0
  store ptr %571, ptr %3, align 8
  %572 = extractvalue { ptr, i32 } %570, 1
  store i32 %572, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #8
  br label %573

573:                                              ; preds = %569, %565
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %33) #8
  br label %574

574:                                              ; preds = %573, %561
  call void @llvm.lifetime.end.p0(i64 408, ptr %33) #8
  invoke void @__cxa_end_catch()
          to label %575 unwind label %581

575:                                              ; preds = %574
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %576

576:                                              ; preds = %575, %560, %499, %484, %409, %394, %319, %304, %229, %214, %139, %124
  %577 = load ptr, ptr %3, align 8
  %578 = load i32, ptr %4, align 4
  %579 = insertvalue { ptr, i32 } poison, ptr %577, 0
  %580 = insertvalue { ptr, i32 } %579, i32 %578, 1
  resume { ptr, i32 } %580

581:                                              ; preds = %574, %559, %498, %483, %408, %393, %318, %303, %228, %213, %138, %123
  %582 = landingpad { ptr, i32 }
          catch ptr null
  %583 = extractvalue { ptr, i32 } %582, 0
  call void @__clang_call_terminate(ptr %583) #9
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Aquila10isPowerOf2ImEEbT_(i64 noundef) #7

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 = { nounwind memory(none) }
attributes #3 = { noinline noreturn nounwind uwtable "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

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

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


; 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.UnitTest::TestDetails" = type <{ ptr, ptr, ptr, i32, i8, [3 x i8] }>
%"class.UnitTest::MemoryOutStream" = type { %"class.std::__cxx11::basic_ostringstream.base", %"class.std::__cxx11::basic_string", %"class.std::basic_ios" }
%"class.std::__cxx11::basic_ostringstream.base" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@_ZTISt9exception = external constant ptr
@.str.4 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [72 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [54 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 noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv() local_unnamed_addr #1

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(29), ptr noundef) local_unnamed_addr #1

declare void @__cxa_end_catch() local_unnamed_addr

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK14SuiteFunctions23TestIsPowerOf2ForPowers7RunImplEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(49) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.UnitTest::TestDetails", align 8
  %3 = alloca %"class.UnitTest::TestDetails", align 8
  %4 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %5 = alloca %"class.UnitTest::TestDetails", align 8
  %6 = alloca %"class.UnitTest::TestDetails", align 8
  %7 = alloca %"class.UnitTest::TestDetails", align 8
  %8 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %9 = alloca %"class.UnitTest::TestDetails", align 8
  %10 = alloca %"class.UnitTest::TestDetails", align 8
  %11 = alloca %"class.UnitTest::TestDetails", align 8
  %12 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %13 = alloca %"class.UnitTest::TestDetails", align 8
  %14 = alloca %"class.UnitTest::TestDetails", align 8
  %15 = alloca %"class.UnitTest::TestDetails", align 8
  %16 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %17 = alloca %"class.UnitTest::TestDetails", align 8
  %18 = alloca %"class.UnitTest::TestDetails", align 8
  %19 = alloca %"class.UnitTest::TestDetails", align 8
  %20 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %21 = alloca %"class.UnitTest::TestDetails", align 8
  %22 = alloca %"class.UnitTest::TestDetails", align 8
  %23 = alloca %"class.UnitTest::TestDetails", align 8
  %24 = alloca %"class.UnitTest::MemoryOutStream", align 8
  %25 = alloca %"class.UnitTest::TestDetails", align 8
  %26 = tail call noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 1)
  %27 = tail call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %26)
  br i1 %27, label %67, label %28

28:                                               ; preds = %1
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %30 unwind label %37

30:                                               ; preds = %28
  %31 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #8
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %33 unwind label %39

33:                                               ; preds = %30
  %34 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %2, ptr noundef nonnull align 8 dereferenceable(29) %34, i32 noundef 80)
          to label %35 unwind label %39

35:                                               ; preds = %33
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %31, ptr noundef nonnull align 8 dereferenceable(29) %2, ptr noundef nonnull @.str.52)
          to label %36 unwind label %39

36:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  br label %67

37:                                               ; preds = %28
  %38 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %41

39:                                               ; preds = %35, %33, %30
  %40 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #8
  br label %41

41:                                               ; preds = %39, %37
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %38, %37 ]
  %.0 = extractvalue { ptr, i32 } %.pn, 0
  %.026 = extractvalue { ptr, i32 } %.pn, 1
  %42 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %43 = icmp eq i32 %.026, %42
  %44 = call ptr @__cxa_begin_catch(ptr %.0) #8
  br i1 %43, label %45, label %79

45:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %4) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4)
          to label %46 unwind label %93

46:                                               ; preds = %45
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.4)
          to label %48 unwind label %95

48:                                               ; preds = %46
  %49 = load ptr, ptr %44, align 8, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %49, i64 16
  %51 = load ptr, ptr %50, align 8
  %52 = call noundef ptr %51(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef %52)
          to label %54 unwind label %95

54:                                               ; preds = %48
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @.str.54)
          to label %56 unwind label %95

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %58 unwind label %95

58:                                               ; preds = %56
  %59 = load ptr, ptr %57, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %61 unwind label %97

61:                                               ; preds = %58
  %62 = load ptr, ptr %60, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %5, ptr noundef nonnull align 8 dereferenceable(29) %62, i32 noundef 80)
          to label %63 unwind label %97

63:                                               ; preds = %61
  %64 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %4)
          to label %65 unwind label %97

65:                                               ; preds = %63
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %59, ptr noundef nonnull align 8 dereferenceable(29) %5, ptr noundef %64)
          to label %66 unwind label %97

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %4) #8
  call void @__cxa_end_catch()
  br label %67

67:                                               ; preds = %1, %36, %87, %66
  %68 = call noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 2)
  %69 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %68)
  br i1 %69, label %131, label %70

70:                                               ; preds = %67
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %72 unwind label %101

72:                                               ; preds = %70
  %73 = load ptr, ptr %71, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %75 unwind label %103

75:                                               ; preds = %72
  %76 = load ptr, ptr %74, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %6, ptr noundef nonnull align 8 dereferenceable(29) %76, i32 noundef 81)
          to label %77 unwind label %103

77:                                               ; preds = %75
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %73, ptr noundef nonnull align 8 dereferenceable(29) %6, ptr noundef nonnull @.str.55)
          to label %78 unwind label %103

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %131

79:                                               ; preds = %41
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %81 unwind label %88

81:                                               ; preds = %79
  %82 = load ptr, ptr %80, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #8
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %84 unwind label %90

84:                                               ; preds = %81
  %85 = load ptr, ptr %83, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %3, ptr noundef nonnull align 8 dereferenceable(29) %85, i32 noundef 80)
          to label %86 unwind label %90

86:                                               ; preds = %84
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %82, ptr noundef nonnull align 8 dereferenceable(29) %3, ptr noundef nonnull @.str.53)
          to label %87 unwind label %90

87:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  call void @__cxa_end_catch()
  br label %67

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %92

90:                                               ; preds = %86, %84, %81
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #8
  br label %92

92:                                               ; preds = %90, %88
  %.pn52 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

93:                                               ; preds = %45
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %100

95:                                               ; preds = %56, %54, %48, %46
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %65, %63, %61, %58
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  br label %99

99:                                               ; preds = %97, %95
  %.pn54 = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %4) #8
  br label %100

100:                                              ; preds = %99, %93
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %99 ], [ %94, %93 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %4) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

101:                                              ; preds = %70
  %102 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %105

103:                                              ; preds = %77, %75, %72
  %104 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %105

105:                                              ; preds = %103, %101
  %.pn57 = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  %.4 = extractvalue { ptr, i32 } %.pn57, 0
  %.430 = extractvalue { ptr, i32 } %.pn57, 1
  %106 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %107 = icmp eq i32 %.430, %106
  %108 = call ptr @__cxa_begin_catch(ptr %.4) #8
  br i1 %107, label %109, label %143

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %8) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %110 unwind label %157

110:                                              ; preds = %109
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @.str.4)
          to label %112 unwind label %159

112:                                              ; preds = %110
  %113 = load ptr, ptr %108, align 8, !tbaa !9
  %114 = getelementptr inbounds i8, ptr %113, i64 16
  %115 = load ptr, ptr %114, align 8
  %116 = call noundef ptr %115(ptr noundef nonnull align 8 dereferenceable(8) %108) #8
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef %116)
          to label %118 unwind label %159

118:                                              ; preds = %112
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull @.str.57)
          to label %120 unwind label %159

120:                                              ; preds = %118
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %122 unwind label %159

122:                                              ; preds = %120
  %123 = load ptr, ptr %121, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %125 unwind label %161

125:                                              ; preds = %122
  %126 = load ptr, ptr %124, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef nonnull align 8 dereferenceable(29) %126, i32 noundef 81)
          to label %127 unwind label %161

127:                                              ; preds = %125
  %128 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %8)
          to label %129 unwind label %161

129:                                              ; preds = %127
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %123, ptr noundef nonnull align 8 dereferenceable(29) %9, ptr noundef %128)
          to label %130 unwind label %161

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %8) #8
  call void @__cxa_end_catch()
  br label %131

131:                                              ; preds = %67, %78, %151, %130
  %132 = call noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 16)
  %133 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %132)
  br i1 %133, label %195, label %134

134:                                              ; preds = %131
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %136 unwind label %165

136:                                              ; preds = %134
  %137 = load ptr, ptr %135, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  %138 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %139 unwind label %167

139:                                              ; preds = %136
  %140 = load ptr, ptr %138, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %10, ptr noundef nonnull align 8 dereferenceable(29) %140, i32 noundef 82)
          to label %141 unwind label %167

141:                                              ; preds = %139
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %137, ptr noundef nonnull align 8 dereferenceable(29) %10, ptr noundef nonnull @.str.58)
          to label %142 unwind label %167

142:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %195

143:                                              ; preds = %105
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %145 unwind label %152

145:                                              ; preds = %143
  %146 = load ptr, ptr %144, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %148 unwind label %154

148:                                              ; preds = %145
  %149 = load ptr, ptr %147, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %7, ptr noundef nonnull align 8 dereferenceable(29) %149, i32 noundef 81)
          to label %150 unwind label %154

150:                                              ; preds = %148
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %146, ptr noundef nonnull align 8 dereferenceable(29) %7, ptr noundef nonnull @.str.56)
          to label %151 unwind label %154

151:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @__cxa_end_catch()
  br label %131

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

154:                                              ; preds = %150, %148, %145
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  br label %156

156:                                              ; preds = %154, %152
  %.pn59 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

157:                                              ; preds = %109
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %164

159:                                              ; preds = %120, %118, %112, %110
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %163

161:                                              ; preds = %129, %127, %125, %122
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %163

163:                                              ; preds = %161, %159
  %.pn61 = phi { ptr, i32 } [ %162, %161 ], [ %160, %159 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %8) #8
  br label %164

164:                                              ; preds = %163, %157
  %.pn61.pn = phi { ptr, i32 } [ %.pn61, %163 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %8) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

165:                                              ; preds = %134
  %166 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %169

167:                                              ; preds = %141, %139, %136
  %168 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br label %169

169:                                              ; preds = %167, %165
  %.pn64 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  %.8 = extractvalue { ptr, i32 } %.pn64, 0
  %.834 = extractvalue { ptr, i32 } %.pn64, 1
  %170 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %171 = icmp eq i32 %.834, %170
  %172 = call ptr @__cxa_begin_catch(ptr %.8) #8
  br i1 %171, label %173, label %207

173:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %12) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %12)
          to label %174 unwind label %221

174:                                              ; preds = %173
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull @.str.4)
          to label %176 unwind label %223

176:                                              ; preds = %174
  %177 = load ptr, ptr %172, align 8, !tbaa !9
  %178 = getelementptr inbounds i8, ptr %177, i64 16
  %179 = load ptr, ptr %178, align 8
  %180 = call noundef ptr %179(ptr noundef nonnull align 8 dereferenceable(8) %172) #8
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef %180)
          to label %182 unwind label %223

182:                                              ; preds = %176
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull @.str.60)
          to label %184 unwind label %223

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %186 unwind label %223

186:                                              ; preds = %184
  %187 = load ptr, ptr %185, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %188 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %189 unwind label %225

189:                                              ; preds = %186
  %190 = load ptr, ptr %188, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %13, ptr noundef nonnull align 8 dereferenceable(29) %190, i32 noundef 82)
          to label %191 unwind label %225

191:                                              ; preds = %189
  %192 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %12)
          to label %193 unwind label %225

193:                                              ; preds = %191
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %187, ptr noundef nonnull align 8 dereferenceable(29) %13, ptr noundef %192)
          to label %194 unwind label %225

194:                                              ; preds = %193
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %12) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %12) #8
  call void @__cxa_end_catch()
  br label %195

195:                                              ; preds = %131, %142, %215, %194
  %196 = call noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 1024)
  %197 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %196)
  br i1 %197, label %259, label %198

198:                                              ; preds = %195
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %200 unwind label %229

200:                                              ; preds = %198
  %201 = load ptr, ptr %199, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %203 unwind label %231

203:                                              ; preds = %200
  %204 = load ptr, ptr %202, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %14, ptr noundef nonnull align 8 dereferenceable(29) %204, i32 noundef 83)
          to label %205 unwind label %231

205:                                              ; preds = %203
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %201, ptr noundef nonnull align 8 dereferenceable(29) %14, ptr noundef nonnull @.str.61)
          to label %206 unwind label %231

206:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %259

207:                                              ; preds = %169
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %209 unwind label %216

209:                                              ; preds = %207
  %210 = load ptr, ptr %208, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %212 unwind label %218

212:                                              ; preds = %209
  %213 = load ptr, ptr %211, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef nonnull align 8 dereferenceable(29) %213, i32 noundef 82)
          to label %214 unwind label %218

214:                                              ; preds = %212
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %210, ptr noundef nonnull align 8 dereferenceable(29) %11, ptr noundef nonnull @.str.59)
          to label %215 unwind label %218

215:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @__cxa_end_catch()
  br label %195

216:                                              ; preds = %207
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %220

218:                                              ; preds = %214, %212, %209
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %220

220:                                              ; preds = %218, %216
  %.pn66 = phi { ptr, i32 } [ %219, %218 ], [ %217, %216 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

221:                                              ; preds = %173
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %228

223:                                              ; preds = %184, %182, %176, %174
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %227

225:                                              ; preds = %193, %191, %189, %186
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %227

227:                                              ; preds = %225, %223
  %.pn68 = phi { ptr, i32 } [ %226, %225 ], [ %224, %223 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %12) #8
  br label %228

228:                                              ; preds = %227, %221
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %227 ], [ %222, %221 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %12) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

229:                                              ; preds = %198
  %230 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %233

231:                                              ; preds = %205, %203, %200
  %232 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %233

233:                                              ; preds = %231, %229
  %.pn71 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  %.12 = extractvalue { ptr, i32 } %.pn71, 0
  %.1238 = extractvalue { ptr, i32 } %.pn71, 1
  %234 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %235 = icmp eq i32 %.1238, %234
  %236 = call ptr @__cxa_begin_catch(ptr %.12) #8
  br i1 %235, label %237, label %271

237:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %16) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16)
          to label %238 unwind label %285

238:                                              ; preds = %237
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.4)
          to label %240 unwind label %287

240:                                              ; preds = %238
  %241 = load ptr, ptr %236, align 8, !tbaa !9
  %242 = getelementptr inbounds i8, ptr %241, i64 16
  %243 = load ptr, ptr %242, align 8
  %244 = call noundef ptr %243(ptr noundef nonnull align 8 dereferenceable(8) %236) #8
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef %244)
          to label %246 unwind label %287

246:                                              ; preds = %240
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef nonnull @.str.63)
          to label %248 unwind label %287

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %250 unwind label %287

250:                                              ; preds = %248
  %251 = load ptr, ptr %249, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %253 unwind label %289

253:                                              ; preds = %250
  %254 = load ptr, ptr %252, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %17, ptr noundef nonnull align 8 dereferenceable(29) %254, i32 noundef 83)
          to label %255 unwind label %289

255:                                              ; preds = %253
  %256 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %16)
          to label %257 unwind label %289

257:                                              ; preds = %255
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %251, ptr noundef nonnull align 8 dereferenceable(29) %17, ptr noundef %256)
          to label %258 unwind label %289

258:                                              ; preds = %257
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %16) #8
  call void @__cxa_end_catch()
  br label %259

259:                                              ; preds = %195, %206, %279, %258
  %260 = call noundef zeroext i1 @_ZN6Aquila10isPowerOf2IiEEbT_(i32 noundef 32768)
  %261 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %260)
  br i1 %261, label %323, label %262

262:                                              ; preds = %259
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %264 unwind label %293

264:                                              ; preds = %262
  %265 = load ptr, ptr %263, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %267 unwind label %295

267:                                              ; preds = %264
  %268 = load ptr, ptr %266, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %18, ptr noundef nonnull align 8 dereferenceable(29) %268, i32 noundef 84)
          to label %269 unwind label %295

269:                                              ; preds = %267
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %265, ptr noundef nonnull align 8 dereferenceable(29) %18, ptr noundef nonnull @.str.64)
          to label %270 unwind label %295

270:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %323

271:                                              ; preds = %233
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %273 unwind label %280

273:                                              ; preds = %271
  %274 = load ptr, ptr %272, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  %275 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %276 unwind label %282

276:                                              ; preds = %273
  %277 = load ptr, ptr %275, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef nonnull align 8 dereferenceable(29) %277, i32 noundef 83)
          to label %278 unwind label %282

278:                                              ; preds = %276
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %274, ptr noundef nonnull align 8 dereferenceable(29) %15, ptr noundef nonnull @.str.62)
          to label %279 unwind label %282

279:                                              ; preds = %278
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @__cxa_end_catch()
  br label %259

280:                                              ; preds = %271
  %281 = landingpad { ptr, i32 }
          cleanup
  br label %284

282:                                              ; preds = %278, %276, %273
  %283 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %284

284:                                              ; preds = %282, %280
  %.pn73 = phi { ptr, i32 } [ %283, %282 ], [ %281, %280 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

285:                                              ; preds = %237
  %286 = landingpad { ptr, i32 }
          cleanup
  br label %292

287:                                              ; preds = %248, %246, %240, %238
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %257, %255, %253, %250
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  br label %291

291:                                              ; preds = %289, %287
  %.pn75 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %16) #8
  br label %292

292:                                              ; preds = %291, %285
  %.pn75.pn = phi { ptr, i32 } [ %.pn75, %291 ], [ %286, %285 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %16) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

293:                                              ; preds = %262
  %294 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %297

295:                                              ; preds = %269, %267, %264
  %296 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %297

297:                                              ; preds = %295, %293
  %.pn78 = phi { ptr, i32 } [ %296, %295 ], [ %294, %293 ]
  %.16 = extractvalue { ptr, i32 } %.pn78, 0
  %.1642 = extractvalue { ptr, i32 } %.pn78, 1
  %298 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %299 = icmp eq i32 %.1642, %298
  %300 = call ptr @__cxa_begin_catch(ptr %.16) #8
  br i1 %299, label %301, label %335

301:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %20) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %302 unwind label %349

302:                                              ; preds = %301
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @.str.4)
          to label %304 unwind label %351

304:                                              ; preds = %302
  %305 = load ptr, ptr %300, align 8, !tbaa !9
  %306 = getelementptr inbounds i8, ptr %305, i64 16
  %307 = load ptr, ptr %306, align 8
  %308 = call noundef ptr %307(ptr noundef nonnull align 8 dereferenceable(8) %300) #8
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %303, ptr noundef %308)
          to label %310 unwind label %351

310:                                              ; preds = %304
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %309, ptr noundef nonnull @.str.66)
          to label %312 unwind label %351

312:                                              ; preds = %310
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %314 unwind label %351

314:                                              ; preds = %312
  %315 = load ptr, ptr %313, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #8
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %317 unwind label %353

317:                                              ; preds = %314
  %318 = load ptr, ptr %316, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %21, ptr noundef nonnull align 8 dereferenceable(29) %318, i32 noundef 84)
          to label %319 unwind label %353

319:                                              ; preds = %317
  %320 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %20)
          to label %321 unwind label %353

321:                                              ; preds = %319
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %315, ptr noundef nonnull align 8 dereferenceable(29) %21, ptr noundef %320)
          to label %322 unwind label %353

322:                                              ; preds = %321
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %20) #8
  call void @__cxa_end_catch()
  br label %323

323:                                              ; preds = %259, %270, %343, %322
  %324 = call noundef zeroext i1 @_ZN6Aquila10isPowerOf2ImEEbT_(i64 noundef 1152921504606846976)
  %325 = call noundef zeroext i1 @_ZN8UnitTest5CheckIbEEbT_(i1 noundef zeroext %324)
  br i1 %325, label %387, label %326

326:                                              ; preds = %323
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %328 unwind label %357

328:                                              ; preds = %326
  %329 = load ptr, ptr %327, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %331 unwind label %359

331:                                              ; preds = %328
  %332 = load ptr, ptr %330, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %22, ptr noundef nonnull align 8 dereferenceable(29) %332, i32 noundef 85)
          to label %333 unwind label %359

333:                                              ; preds = %331
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %329, ptr noundef nonnull align 8 dereferenceable(29) %22, ptr noundef nonnull @.str.67)
          to label %334 unwind label %359

334:                                              ; preds = %333
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %387

335:                                              ; preds = %297
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %337 unwind label %344

337:                                              ; preds = %335
  %338 = load ptr, ptr %336, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %340 unwind label %346

340:                                              ; preds = %337
  %341 = load ptr, ptr %339, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %19, ptr noundef nonnull align 8 dereferenceable(29) %341, i32 noundef 84)
          to label %342 unwind label %346

342:                                              ; preds = %340
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %338, ptr noundef nonnull align 8 dereferenceable(29) %19, ptr noundef nonnull @.str.65)
          to label %343 unwind label %346

343:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @__cxa_end_catch()
  br label %323

344:                                              ; preds = %335
  %345 = landingpad { ptr, i32 }
          cleanup
  br label %348

346:                                              ; preds = %342, %340, %337
  %347 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  br label %348

348:                                              ; preds = %346, %344
  %.pn80 = phi { ptr, i32 } [ %347, %346 ], [ %345, %344 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

349:                                              ; preds = %301
  %350 = landingpad { ptr, i32 }
          cleanup
  br label %356

351:                                              ; preds = %312, %310, %304, %302
  %352 = landingpad { ptr, i32 }
          cleanup
  br label %355

353:                                              ; preds = %321, %319, %317, %314
  %354 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %355

355:                                              ; preds = %353, %351
  %.pn82 = phi { ptr, i32 } [ %354, %353 ], [ %352, %351 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %20) #8
  br label %356

356:                                              ; preds = %355, %349
  %.pn82.pn = phi { ptr, i32 } [ %.pn82, %355 ], [ %350, %349 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %20) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

357:                                              ; preds = %326
  %358 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %361

359:                                              ; preds = %333, %331, %328
  %360 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %361

361:                                              ; preds = %359, %357
  %.pn85 = phi { ptr, i32 } [ %360, %359 ], [ %358, %357 ]
  %.20 = extractvalue { ptr, i32 } %.pn85, 0
  %.2046 = extractvalue { ptr, i32 } %.pn85, 1
  %362 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #8
  %363 = icmp eq i32 %.2046, %362
  %364 = call ptr @__cxa_begin_catch(ptr %.20) #8
  br i1 %363, label %365, label %388

365:                                              ; preds = %361
  call void @llvm.lifetime.start.p0(i64 408, ptr nonnull %24) #8
  invoke void @_ZN8UnitTest15MemoryOutStreamC1Ev(ptr noundef nonnull align 8 dereferenceable(144) %24)
          to label %366 unwind label %402

366:                                              ; preds = %365
  %367 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @.str.4)
          to label %368 unwind label %404

368:                                              ; preds = %366
  %369 = load ptr, ptr %364, align 8, !tbaa !9
  %370 = getelementptr inbounds i8, ptr %369, i64 16
  %371 = load ptr, ptr %370, align 8
  %372 = call noundef ptr %371(ptr noundef nonnull align 8 dereferenceable(8) %364) #8
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %367, ptr noundef %372)
          to label %374 unwind label %404

374:                                              ; preds = %368
  %375 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %373, ptr noundef nonnull @.str.69)
          to label %376 unwind label %404

376:                                              ; preds = %374
  %377 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %378 unwind label %404

378:                                              ; preds = %376
  %379 = load ptr, ptr %377, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #8
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %381 unwind label %406

381:                                              ; preds = %378
  %382 = load ptr, ptr %380, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %25, ptr noundef nonnull align 8 dereferenceable(29) %382, i32 noundef 85)
          to label %383 unwind label %406

383:                                              ; preds = %381
  %384 = invoke noundef ptr @_ZNK8UnitTest15MemoryOutStream7GetTextEv(ptr noundef nonnull align 8 dereferenceable(144) %24)
          to label %385 unwind label %406

385:                                              ; preds = %383
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %379, ptr noundef nonnull align 8 dereferenceable(29) %25, ptr noundef %384)
          to label %386 unwind label %406

386:                                              ; preds = %385
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #8
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %24) #8
  call void @__cxa_end_catch()
  br label %387

387:                                              ; preds = %323, %334, %386, %396
  ret void

388:                                              ; preds = %361
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7ResultsEv()
          to label %390 unwind label %397

390:                                              ; preds = %388
  %391 = load ptr, ptr %389, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #8
  %392 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8UnitTest11CurrentTest7DetailsEv()
          to label %393 unwind label %399

393:                                              ; preds = %390
  %394 = load ptr, ptr %392, align 8, !tbaa !5
  invoke void @_ZN8UnitTest11TestDetailsC1ERKS0_i(ptr noundef nonnull align 8 dereferenceable(29) %23, ptr noundef nonnull align 8 dereferenceable(29) %394, i32 noundef 85)
          to label %395 unwind label %399

395:                                              ; preds = %393
  invoke void @_ZN8UnitTest11TestResults13OnTestFailureERKNS_11TestDetailsEPKc(ptr noundef nonnull align 8 dereferenceable(21) %391, ptr noundef nonnull align 8 dereferenceable(29) %23, ptr noundef nonnull @.str.68)
          to label %396 unwind label %399

396:                                              ; preds = %395
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  call void @__cxa_end_catch()
  br label %387

397:                                              ; preds = %388
  %398 = landingpad { ptr, i32 }
          cleanup
  br label %401

399:                                              ; preds = %395, %393, %390
  %400 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  br label %401

401:                                              ; preds = %399, %397
  %.pn87 = phi { ptr, i32 } [ %400, %399 ], [ %398, %397 ]
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

402:                                              ; preds = %365
  %403 = landingpad { ptr, i32 }
          cleanup
  br label %409

404:                                              ; preds = %376, %374, %368, %366
  %405 = landingpad { ptr, i32 }
          cleanup
  br label %408

406:                                              ; preds = %385, %383, %381, %378
  %407 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  br label %408

408:                                              ; preds = %406, %404
  %.pn89 = phi { ptr, i32 } [ %407, %406 ], [ %405, %404 ]
  call void @_ZN8UnitTest15MemoryOutStreamD1Ev(ptr noundef nonnull align 8 dereferenceable(144) %24) #8
  br label %409

409:                                              ; preds = %408, %402
  %.pn89.pn = phi { ptr, i32 } [ %.pn89, %408 ], [ %403, %402 ]
  call void @llvm.lifetime.end.p0(i64 408, ptr nonnull %24) #8
  invoke void @__cxa_end_catch()
          to label %410 unwind label %411

410:                                              ; preds = %409, %356, %292, %228, %164, %100, %401, %348, %284, %220, %156, %92
  %.pn89.pn.pn = phi { ptr, i32 } [ %.pn87, %401 ], [ %.pn80, %348 ], [ %.pn73, %284 ], [ %.pn66, %220 ], [ %.pn59, %156 ], [ %.pn52, %92 ], [ %.pn54.pn, %100 ], [ %.pn61.pn, %164 ], [ %.pn68.pn, %228 ], [ %.pn75.pn, %292 ], [ %.pn82.pn, %356 ], [ %.pn89.pn, %409 ]
  resume { ptr, i32 } %.pn89.pn.pn

411:                                              ; preds = %409, %401, %356, %348, %292, %284, %228, %220, %164, %156, %100, %92
  %412 = landingpad { ptr, i32 }
          catch ptr null
  %413 = extractvalue { ptr, i32 } %412, 0
  call void @__clang_call_terminate(ptr %413) #9
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Aquila10isPowerOf2ImEEbT_(i64 noundef) local_unnamed_addr #7

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

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

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


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