Home
last modified time | relevance | path

Searched refs:getNumHandlers (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/CodeGen/
DCGCleanup.h189 unsigned getNumHandlers() const { in getNumHandlers() function
198 assert(I < getNumHandlers()); in setHandler()
204 assert(I < getNumHandlers()); in setHandler()
210 assert(I < getNumHandlers()); in getHandler()
219 for (unsigned I = 0, N = getNumHandlers(); I != N; ++I) in clearHandlerBlocks()
225 iterator end() const { return getHandlers() + getNumHandlers(); } in end()
525 static_cast<const EHCatchScope *>(get())->getNumHandlers());
581 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers())); in popCatch()
DCGException.cpp543 unsigned NumHandlers = S.getNumHandlers(); in EnterCXXTryStmt()
594 if (catchScope.getNumHandlers() == 1 && in getEHDispatchBlock()
813 for (unsigned hi = 0, he = catchScope.getNumHandlers(); hi != he; ++hi) { in EmitLandingPad()
889 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitCatchPadBlock()
928 if (catchScope.getNumHandlers() == 1 && in emitCatchDispatchBlock()
945 for (unsigned i = 0, e = catchScope.getNumHandlers(); ; ++i) { in emitCatchDispatchBlock()
1004 unsigned NumHandlers = S.getNumHandlers(); in ExitCXXTryStmt()
1006 assert(CatchScope.getNumHandlers() == NumHandlers); in ExitCXXTryStmt()
DCodeGenPGO.cpp515 for (unsigned I = 0, E = S->getNumHandlers(); I < E; ++I) in VisitCXXTryStmt()
DCoverageMappingGen.cpp874 for (unsigned I = 0, E = S->getNumHandlers(); I < E; ++I) in VisitCXXTryStmt()
/external/clang/include/clang/AST/
DStmtCXX.h103 unsigned getNumHandlers() const { return NumHandlers; } in getNumHandlers() function
116 return child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp340 assert(CatchSwitch->getNumHandlers() == 1 && in calculateSEHStateNumbers()
563 assert(CatchSwitch->getNumHandlers()); in calculateClrEHStateNumbers()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp370 for (unsigned I = 0, E = TS->getNumHandlers(); I != E; ++I) { in BuildScopeInformation()
DTreeTransform.h6897 for (unsigned I = 0, N = S->getNumHandlers(); I != N; ++I) { in TransformCXXTryStmt()
DSemaDeclCXX.cpp13136 for (unsigned I = 0, E = TryBlock->getNumHandlers(); I != E; ++I) { in DiagnoseReturnInConstructorExceptionHandler()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp1159 Record.push_back(S->getNumHandlers()); in VisitCXXTryStmt()
1162 for (unsigned i = 0, e = S->getNumHandlers(); i != e; ++i) in VisitCXXTryStmt()
DASTReaderStmt.cpp1198 assert(Record[Idx] == S->getNumHandlers() && "NumStmtFields is wrong ?"); in VisitCXXTryStmt()
1202 for (unsigned i = 0, e = S->getNumHandlers(); i != e; ++i) in VisitCXXTryStmt()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp1529 CatchSwitch->getParentPad(), nullptr, CatchSwitch->getNumHandlers(), in removeUnwindEdge()
DInlineFunction.cpp651 CatchSwitch->getNumHandlers(), CatchSwitch->getName(), in HandleInlinedEHPad()
DSimplifyCFG.cpp3827 if (CSI->getNumHandlers() == 0) { in SimplifyUnreachable()
/external/clang/lib/AST/
DStmtPrinter.cpp533 for (unsigned i = 0, e = Node->getNumHandlers(); i < e; ++i) { in VisitCXXTryStmt()
DASTImporter.cpp5181 SmallVector<Stmt *, 1> ToHandlers(S->getNumHandlers()); in VisitCXXTryStmt()
5182 for (unsigned HI = 0, HE = S->getNumHandlers(); HI != HE; ++HI) { in VisitCXXTryStmt()
/external/clang/lib/Analysis/
DCFG.cpp3330 for (unsigned h = 0; h <Terminator->getNumHandlers(); ++h) { in VisitCXXTryStmt()
/external/llvm/include/llvm/IR/
DInstructions.h4016 unsigned getNumHandlers() const {
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2499 unsigned NumHandlers = CatchSwitch.getNumHandlers(); in writeInstruction()
/external/llvm/lib/IR/
DVerifier.cpp3529 Assert(CatchSwitch.getNumHandlers() != 0, in visitCatchSwitchInst()