1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
| $__clang_call_terminate = comdat any
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @_ZTISt13runtime_error = external constant ptr @_ZTISt16invalid_argument = external constant ptr @_ZTISt9exception = external constant ptr @_ZSt4cerr = external global %"class.std::basic_ostream", align 8 @.str.1 = private unnamed_addr constant [17 x i8] c"invalid_argument\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"runtime_error\00", align 1
; Function Attrs: mustprogress noinline optnone sspstrong uwtable define dso_local void @_Z2f2v() #0 personality ptr @__gxx_personality_v0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = call ptr @__cxa_allocate_exception(i64 16) #5 invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef @.str) to label %4 unwind label %5
4: ; preds = %0 call void @__cxa_throw(ptr %3, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #6 unreachable
5: ; preds = %0 %6 = landingpad { ptr, i32 } cleanup %7 = extractvalue { ptr, i32 } %6, 0 store ptr %7, ptr %1, align 8 %8 = extractvalue { ptr, i32 } %6, 1 store i32 %8, ptr %2, align 4 call void @__cxa_free_exception(ptr %3) #5 br label %9
9: ; preds = %5 %10 = load ptr, ptr %1, align 8 %11 = load i32, ptr %2, align 4 %12 = insertvalue { ptr, i32 } undef, ptr %10, 0 %13 = insertvalue { ptr, i32 } %12, i32 %11, 1 resume { ptr, i32 } %13 }
declare ptr @__cxa_allocate_exception(i64)
declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1
declare i32 @__gxx_personality_v0(...)
declare void @__cxa_free_exception(ptr)
; Function Attrs: nounwind declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2
declare void @__cxa_throw(ptr, ptr, ptr)
; Function Attrs: mustprogress noinline optnone sspstrong uwtable define dso_local void @_Z1fv() #0 personality ptr @__gxx_personality_v0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 invoke void @_Z2f2v() to label %6 unwind label %7
6: ; preds = %0 br label %22
7: ; preds = %0 %8 = landingpad { ptr, i32 } catch ptr @_ZTISt13runtime_error catch ptr @_ZTISt16invalid_argument catch ptr @_ZTISt9exception %9 = extractvalue { ptr, i32 } %8, 0 store ptr %9, ptr %1, align 8 %10 = extractvalue { ptr, i32 } %8, 1 store i32 %10, ptr %2, align 4 br label %11
11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = call i32 @llvm.eh.typeid.for(ptr @_ZTISt13runtime_error) #5 %14 = icmp eq i32 %12, %13 br i1 %14, label %15, label %23
15: ; preds = %11 %16 = load ptr, ptr %1, align 8 %17 = call ptr @__cxa_begin_catch(ptr %16) #5 store ptr %17, ptr %5, align 8 %18 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.2) to label %19 unwind label %58
19: ; preds = %15 %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_) to label %21 unwind label %58
21: ; preds = %19 call void @__cxa_end_catch() br label %22
22: ; preds = %21, %32, %47, %6 ret void
23: ; preds = %11 %24 = call i32 @llvm.eh.typeid.for(ptr @_ZTISt16invalid_argument) #5 %25 = icmp eq i32 %12, %24 br i1 %25, label %26, label %33
26: ; preds = %23 %27 = load ptr, ptr %1, align 8 %28 = call ptr @__cxa_begin_catch(ptr %27) #5 store ptr %28, ptr %4, align 8 %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.1) to label %30 unwind label %53
30: ; preds = %26 %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_) to label %32 unwind label %53
32: ; preds = %30 call void @__cxa_end_catch() br label %22
33: ; preds = %23 %34 = call i32 @llvm.eh.typeid.for(ptr @_ZTISt9exception) #5 %35 = icmp eq i32 %12, %34 br i1 %35, label %36, label %63
36: ; preds = %33 %37 = load ptr, ptr %1, align 8 %38 = call ptr @__cxa_begin_catch(ptr %37) #5 store ptr %38, ptr %3, align 8 %39 = load ptr, ptr %3, align 8 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 %43 = call noundef ptr %42(ptr noundef nonnull align 8 dereferenceable(8) %39) #5 %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %43) to label %45 unwind label %48
45: ; preds = %36 %46 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %44, i8 noundef signext 10) to label %47 unwind label %48
47: ; preds = %45 call void @__cxa_end_catch() br label %22
48: ; preds = %45, %36 %49 = landingpad { ptr, i32 } cleanup %50 = extractvalue { ptr, i32 } %49, 0 store ptr %50, ptr %1, align 8 %51 = extractvalue { ptr, i32 } %49, 1 store i32 %51, ptr %2, align 4 invoke void @__cxa_end_catch() to label %52 unwind label %68
52: ; preds = %48 br label %63
53: ; preds = %30, %26 %54 = landingpad { ptr, i32 } cleanup %55 = extractvalue { ptr, i32 } %54, 0 store ptr %55, ptr %1, align 8 %56 = extractvalue { ptr, i32 } %54, 1 store i32 %56, ptr %2, align 4 invoke void @__cxa_end_catch() to label %57 unwind label %68
57: ; preds = %53 br label %63
58: ; preds = %19, %15 %59 = landingpad { ptr, i32 } cleanup %60 = extractvalue { ptr, i32 } %59, 0 store ptr %60, ptr %1, align 8 %61 = extractvalue { ptr, i32 } %59, 1 store i32 %61, ptr %2, align 4 invoke void @__cxa_end_catch() to label %62 unwind label %68
62: ; preds = %58 br label %63
63: ; preds = %62, %57, %52, %33 %64 = load ptr, ptr %1, align 8 %65 = load i32, ptr %2, align 4 %66 = insertvalue { ptr, i32 } undef, ptr %64, 0 %67 = insertvalue { ptr, i32 } %66, i32 %65, 1 resume { ptr, i32 } %67
68: ; preds = %58, %53, %48 %69 = landingpad { ptr, i32 } catch ptr null %70 = extractvalue { ptr, i32 } %69, 0 call void @__clang_call_terminate(ptr %70) #7 unreachable }
; Function Attrs: nounwind readnone declare i32 @llvm.eh.typeid.for(ptr) #3
declare ptr @__cxa_begin_catch(ptr)
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #1
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1
declare void @__cxa_end_catch()
; Function Attrs: noinline noreturn nounwind define linkonce_odr hidden void @__clang_call_terminate(ptr %0) #4 comdat { %2 = call ptr @__cxa_begin_catch(ptr %0) #5 call void @_ZSt9terminatev() #7 unreachable }
declare void @_ZSt9terminatev()
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1
|