| /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| WebAssemblyLateEHPrepare.cpp | 163 // Hoist catch instructions to the beginning of their matching EH pad BBs in 165 // (1) catch instruction is not the first instruction in EH pad. 169 // %exn = catch 0 170 // (2) catch instruction is in a non-EH pad BB. For example, 174 // %exn = catch 0 183 for (auto *Catch : Catches) { 184 MachineBasicBlock *EHPad = getMatchingEHPad(Catch); 185 assert(EHPad && "No matching EH pad for catch"); 192 if (InsertPos == Catch) 195 EHPad->insert(InsertPos, Catch->removeFromParent()) [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| arraytypes.h | 43 typedef Array<class Catch *> Catches;
|
| arraytypes.d | 43 alias Catches = Array!(Catch);
|
| statement_rewrite_walker.d | 168 Catch c = (*s.catches)[i];
|
| statement.h | 590 class Catch : public RootObject 606 Catch *syntaxCopy();
|
| statement.d | 1594 * https://dlang.org/spec/statement.html#Catch 1596 extern (C++) final class Catch : RootObject 1611 //printf("Catch(%s, loc = %s)\n", id.toChars(), loc.toChars()); 1618 Catch syntaxCopy() 1620 auto c = new Catch(loc, type ? type.syntaxCopy() : getThrowable(), ident, (handler ? handler.syntaxCopy() : null));
|
| func.d | 163 * try { s.body; } catch(Throwable __o) { nrvo_var.edtor; throw __o; } 179 auto ctch = new Catch(Loc.initial, getThrowable(), id, handler); 203 hasCatches = 0x80, /// function has try-catch statements 2255 * catch () { 2285 * catch (Throwable) { frequire; } 2291 auto c = new Catch(loc, getThrowable(), null, sf); 2313 * catch () { 2343 * catch (Throwable thr) { __require(params); assert(false, "Logic error: " ~ thr.msg); } 2358 auto c = new Catch(loc, getThrowable(), id, s3);
|
| statementsem.d | 325 * catch (Throwable __o) 346 auto ctch = new Catch(Loc.initial, getThrowable(), id, handler); 2839 deprecationSupplemental(rs.loc, "Use try-catch blocks for this purpose"); 3567 tcs.error("Cannot use try-catch statements with -betterC"); 3573 tcs.error("Cannot use try-catch statements because `object.Throwable` was not declared"); 3598 // Determine if current catch 'hides' any previous catches 3601 Catch cj = (*tcs.catches)[j]; 3606 tcs.error("`catch` at %s hides `catch` at %s", sj, si); 3617 tcs.error("cannot mix catching D and C++ exceptions in the same try-catch"); [all...] |
| transitivevisitor.d | 314 void visit(AST.Catch c) 316 //printf("Visiting Catch\n");
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| WinEHFuncInfo.h | 79 enum class ClrHandlerType { Catch, Finally, Fault, Filter };
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGCleanup.h | 36 /// type of a catch handler, so we use this wrapper. 105 enum Kind { Cleanup, Catch, Terminate, Filter }; 146 /// after the catch scope. 156 /// for a catch-all. 159 /// The catch handler for this type. 183 : EHScope(Catch, enclosingEHScope) { 227 return Scope->getKind() == Catch; 510 case EHScope::Catch:
|
| CGObjCRuntime.cpp | 148 // Jump destination for falling out of catch bodies. 164 // Enter the catch, if there is one. 174 Handler.Block = CGF.createBasicBlock("catch"); 177 // @catch(...) always matches. 189 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); 191 Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block); 240 // Enter the catch. 248 // Add a cleanup to leave the catch. 256 // Bind the catch parameter if it exists. 271 // Leave any cleanups associated with the catch [all...] |
| CGCoroutine.cpp | 239 auto *Catch = new (CGF.getContext()) 243 TryStmt = CXXTryStmt::Create(CGF.getContext(), Loc, TryBody, Catch); 669 CXXCatchStmt Catch(Loc, /*exDecl=*/nullptr, 672 CXXTryStmt::Create(getContext(), Loc, S.getBody(), &Catch);
|
| CGException.cpp | 281 // Check if the catch value has the ObjC prefix. 373 /// presence of a catch-all. 375 // Possibly we should use @llvm.eh.catch.all.value here. 539 // If this isn't a catch-all filter, we need to check whether we got 618 llvm::BasicBlock *Handler = createBasicBlock("catch"); 621 // impossible to correctly implement catch-by-reference 638 // No exception decl indicates '...', a catch-all. 640 // Under async exceptions, catch(...) need to catch HW exception too 664 case EHScope::Catch: [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| WinEHPrepare.cpp | 14 // personality requires catch handler code to be outlined. 249 "shouldn't revist catch funclets!"); 268 // MSVC FrameHandler3/4 on x64&Arm64 expect Catch Handlers in $tryMap$ 289 // enclosing catch pad doesn't it must be post-dominated by an 369 "shouldn't revist catch funclets!"); 407 // enclosing catch pad doesn't it must be post-dominated by an 579 // Create the entry for this catch with the appropriate handler 581 const auto *Catch = cast<CatchPadInst>(CatchBlock->getFirstNonPHI()); 583 cast<ConstantInt>(Catch->getArgOperand(0))->getZExtValue()); 586 ClrHandlerType::Catch, TypeToken, CatchBlock) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaExceptionSpec.cpp | 795 // want to merge declarations. Checks after instantiation will catch any 846 // catch an exception of each source type. 1547 // try /*...*/ catch (...) { H } can throw only if H can throw. 1548 // Any other try-catch can throw if any substatement can throw. 1561 // @catch(...) need not be last in Objective-C. Walk backwards until we 1567 const ObjCAtCatchStmt *Catch = TS->getCatchStmt(I - 1); 1568 CT = mergeCanThrow(CT, canThrow(Catch)); 1569 // If we reach a @catch(...), no earlier exceptions can escape. 1570 if (Catch->hasEllipsis()) 1574 // Didn't find an @catch(...). Exceptions from the @try body can escape [all...] |
| AnalysisBasedWarnings.cpp | 302 if (auto *Catch = 304 QualType Caught = Catch->getCaughtType(); 305 if (Caught.isNull() || // catch (...) catches everything 412 // from CallExprs to the catch clauses, we have to go back and 419 // When not adding EH edges from calls, catch clauses
|
| /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| RewriteObjC.cpp | 1817 buf = " /* @catch begin */ else {\n"; 1822 buf += " else { /* @catch continue */"; 1825 } else { /* no catch list */ 1833 ObjCAtCatchStmt *Catch = S->getCatchStmt(I); 1834 VarDecl *catchDecl = Catch->getCatchParamDecl(); 1837 buf = "if ("; // we are generating code for the first catch clause 1840 startLoc = Catch->getBeginLoc(); 1843 assert((*startBuf == '@') && "bogus @catch location"); 1847 if (Catch->hasEllipsis()) { 1849 lastCatchBody = Catch->getCatchBody() [all...] |
| RewriteModernObjC.cpp | 1903 buf = "} catch (id e) {_rethrow = e;}\n"; 1961 ObjCAtCatchStmt *Catch = S->getCatchStmt(I); 1962 VarDecl *catchDecl = Catch->getCatchParamDecl(); 1964 startLoc = Catch->getBeginLoc(); 1973 ConvertSourceLocationToLineDirective(Catch->getBeginLoc(), Result); 1976 assert((*startBuf == '@') && "bogus @catch location"); 1977 SourceLocation rParenLoc = Catch->getRParenLoc(); 1980 // _objc_exc_Foo *_e as argument to catch. 1981 Result += "catch (_objc_exc_"; Result += IDecl->getNameAsString(); 1994 SourceLocation lBraceLoc = Catch->getCatchBody()->getBeginLoc() [all...] |
| /src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/ |
| llvm_ocaml.c | 1786 LLVMBasicBlockRef Catch, value Name, 1789 Wosize_val(Args), Then, Catch, String_val(Name));
|
| /src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| Core.h | 321 LLVMLandingPadCatch, /**< A catch clause */ 3654 LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, 3658 LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, 3694 /* Add a catch or filter clause to the landingpad instruction */
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| WinException.cpp | 197 StringRef HandlerPrefix = MBB->isCleanupFuncletEntry() ? "dtor" : "catch"; 280 // If this is a C++ catch funclet (or the parent function), 548 /// function is actually a cleanup handler with the same prototype. A catch-all 566 /// imagerel32 FilterOrFinally; // One means catch-all. 657 // For an except, the filter can be 1 (catch-all) or a function 855 // Get the frame escape label with the offset of the catch object. If 856 // the index is INT_MAX, then there is no catch object, and we should 861 assert(Offset != 0 && "Illegal offset for catch object!"); 1256 DWORD ClassToken; // use for catch clauses 1306 case ClrHandlerType::Catch [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| Core.cpp | 3171 LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, 3178 unwrap(B)->CreateInvoke(FnT, unwrap(Fn), unwrap(Then), unwrap(Catch), 3184 LLVMBasicBlockRef Then, LLVMBasicBlockRef Catch, 3187 unwrap<FunctionType>(Ty), unwrap(Fn), unwrap(Then), unwrap(Catch),
|
| /src/external/gpl3/gcc.old/dist/gcc/d/ |
| toir.cc | 390 "cannot %<goto%> into %<catch%> block"); 414 error_at (location, "cannot %<goto%> into %<catch%> block"); 565 try/catch/finally. At this point, this statement is just an empty 760 /* Need to error if the goto is jumping into a try or catch block. */ 1196 /* Build a try-catch statement, one of the building blocks for exception 1215 Catch *vcatch = (*s->catches)[i]; 1226 D or C++ catch handler. This is different from the generic 1256 the end catch callback. */ 1274 if there is only a single catch to push. */
|
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParseObjc.cpp | 2494 /// objc-try-catch-statement: 2495 /// @try compound-statement objc-catch-list[opt] 2496 /// @try compound-statement objc-catch-list[opt] @finally compound-statement 2498 /// objc-catch-list: 2499 /// @catch ( parameter-declaration ) compound-statement 2500 /// objc-catch-list @catch ( catch-parameter-declaration ) compound-statement 2501 /// catch-parameter-declaration: 2523 // of an @catch or @finally. We don't want to consume the @ token if thi [all...] |