Home
last modified time | relevance | path

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

123

/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/llvm-project/clang/lib/CodeGen/
DCGCleanup.h188 unsigned getNumHandlers() const { in getNumHandlers() function
197 assert(I < getNumHandlers()); in setHandler()
203 assert(I < getNumHandlers()); in setHandler()
209 assert(I < getNumHandlers()); in getHandler()
218 for (unsigned I = 0, N = getNumHandlers(); I != N; ++I) in clearHandlerBlocks()
224 iterator end() const { return getHandlers() + getNumHandlers(); } in end()
512 static_cast<const EHCatchScope *>(get())->getNumHandlers());
564 deallocate(EHCatchScope::getSizeForNumHandlers(scope.getNumHandlers())); in popCatch()
DCGException.cpp585 unsigned NumHandlers = S.getNumHandlers(); in EnterCXXTryStmt()
636 if (catchScope.getNumHandlers() == 1 && in getEHDispatchBlock()
848 for (unsigned hi = 0, he = catchScope.getNumHandlers(); hi != he; ++hi) { in EmitLandingPad()
924 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitCatchPadBlock()
968 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitWasmCatchPadBlock()
1003 if (CatchScope.getNumHandlers() == 1 && in emitWasmCatchPadBlock()
1074 if (catchScope.getNumHandlers() == 1 && in emitCatchDispatchBlock()
1091 for (unsigned i = 0, e = catchScope.getNumHandlers(); ; ++i) { in emitCatchDispatchBlock()
1150 unsigned NumHandlers = S.getNumHandlers(); in ExitCXXTryStmt()
1152 assert(CatchScope.getNumHandlers() == NumHandlers); in ExitCXXTryStmt()
DCodeGenPGO.cpp664 for (unsigned I = 0, E = S->getNumHandlers(); I < E; ++I) in VisitCXXTryStmt()
DCoverageMappingGen.cpp1312 for (unsigned I = 0, E = S->getNumHandlers(); I < E; ++I) in VisitCXXTryStmt()
/external/llvm-project/clang/include/clang/AST/
DStmtCXX.h106 unsigned getNumHandlers() const { return NumHandlers; } in getNumHandlers() function
119 return child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
123 return const_child_range(getStmts(), getStmts() + getNumHandlers() + 1); in children()
/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-project/clang-tools-extra/clang-tidy/utils/
DExceptionAnalyzer.cpp161 for (unsigned i = 0; i < Try->getNumHandlers(); ++i) { in throwsException()
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp340 assert(CatchSwitch->getNumHandlers() == 1 && in calculateSEHStateNumbers()
563 assert(CatchSwitch->getNumHandlers()); in calculateClrEHStateNumbers()
/external/llvm-project/llvm/lib/CodeGen/
DWinEHPrepare.cpp373 assert(CatchSwitch->getNumHandlers() == 1 && in calculateSEHStateNumbers()
596 assert(CatchSwitch->getNumHandlers()); in calculateClrEHStateNumbers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWinEHPrepare.cpp351 assert(CatchSwitch->getNumHandlers() == 1 && in calculateSEHStateNumbers()
574 assert(CatchSwitch->getNumHandlers()); in calculateClrEHStateNumbers()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp370 for (unsigned I = 0, E = TS->getNumHandlers(); I != E; ++I) { in BuildScopeInformation()
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp410 for (unsigned I = 0, E = TS->getNumHandlers(); I != E; ++I) { in BuildScopeInformation()
DSemaExceptionSpec.cpp1542 const CXXCatchStmt *FinalHandler = TS->getHandler(TS->getNumHandlers() - 1); in canThrow()
/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-project/clang/lib/Serialization/
DASTWriterStmt.cpp1525 Record.push_back(S->getNumHandlers()); in VisitCXXTryStmt()
1528 for (unsigned i = 0, e = S->getNumHandlers(); i != e; ++i) in VisitCXXTryStmt()
DASTReaderStmt.cpp1643 assert(Record.peekInt() == S->getNumHandlers() && "NumStmtFields is wrong ?"); in VisitCXXTryStmt()
1647 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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInlineFunction.cpp734 CatchSwitch->getNumHandlers(), CatchSwitch->getName(), in HandleInlinedEHPad()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp727 CatchSwitch->getNumHandlers(), CatchSwitch->getName(), in HandleInlinedEHPad()

123