Home
last modified time | relevance | path

Searched refs:NumHandlers (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/clang/include/clang/AST/
DStmtCXX.h75 unsigned NumHandlers; variable
76 size_t numTrailingObjects(OverloadToken<Stmt *>) const { return NumHandlers; } in numTrailingObjects()
80 : Stmt(CXXTryStmtClass), NumHandlers(numHandlers) { } in CXXTryStmt()
96 return getStmts()[NumHandlers]->getEndLoc(); in getEndLoc()
106 unsigned getNumHandlers() const { return NumHandlers; } in getNumHandlers()
/external/clang/include/clang/AST/
DStmtCXX.h67 unsigned NumHandlers; variable
72 : Stmt(CXXTryStmtClass), NumHandlers(numHandlers) { } in CXXTryStmt()
93 return getStmts()[NumHandlers]->getLocEnd(); in getEndLoc()
103 unsigned getNumHandlers() const { return NumHandlers; } in getNumHandlers()
/external/clang/lib/CodeGen/
DCGCleanup.h61 unsigned NumHandlers : 32 - NumCommonBits; variable
185 CatchBits.NumHandlers = numHandlers; in EHCatchScope()
186 assert(CatchBits.NumHandlers == numHandlers && "NumHandlers overflow?"); in EHCatchScope()
190 return CatchBits.NumHandlers; in getNumHandlers()
DCGException.cpp543 unsigned NumHandlers = S.getNumHandlers(); in EnterCXXTryStmt() local
544 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt()
546 for (unsigned I = 0; I != NumHandlers; ++I) { in EnterCXXTryStmt()
889 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitCatchPadBlock() local
891 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
894 for (unsigned I = 0; I < NumHandlers; ++I) { in emitCatchPadBlock()
1004 unsigned NumHandlers = S.getNumHandlers(); in ExitCXXTryStmt() local
1006 assert(CatchScope.getNumHandlers() == NumHandlers); in ExitCXXTryStmt()
1021 CatchScope.begin(), CatchScope.begin() + NumHandlers); in ExitCXXTryStmt()
1046 for (unsigned I = NumHandlers; I != 0; --I) { in ExitCXXTryStmt()
DEHScopeStack.h323 class EHCatchScope *pushCatch(unsigned NumHandlers);
/external/llvm-project/clang/lib/CodeGen/
DCGCleanup.h60 unsigned NumHandlers : 32 - NumCommonBits; variable
184 CatchBits.NumHandlers = numHandlers; in EHCatchScope()
185 assert(CatchBits.NumHandlers == numHandlers && "NumHandlers overflow?"); in EHCatchScope()
189 return CatchBits.NumHandlers; in getNumHandlers()
DCGException.cpp585 unsigned NumHandlers = S.getNumHandlers(); in EnterCXXTryStmt() local
586 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt()
588 for (unsigned I = 0; I != NumHandlers; ++I) { in EnterCXXTryStmt()
924 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitCatchPadBlock() local
926 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitCatchPadBlock()
929 for (unsigned I = 0; I < NumHandlers; ++I) { in emitCatchPadBlock()
968 unsigned NumHandlers = CatchScope.getNumHandlers(); in emitWasmCatchPadBlock() local
970 CGF.Builder.CreateCatchSwitch(ParentPad, UnwindBB, NumHandlers); in emitWasmCatchPadBlock()
980 for (unsigned I = 0, E = NumHandlers; I < E; ++I) { in emitWasmCatchPadBlock()
1011 for (unsigned I = 0, E = NumHandlers;; ++I) { in emitWasmCatchPadBlock()
[all …]
DEHScopeStack.h320 class EHCatchScope *pushCatch(unsigned NumHandlers);
/external/clang/lib/AST/
DStmtCXX.cpp46 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
/external/llvm-project/clang/lib/AST/
DStmtCXX.cpp41 : Stmt(CXXTryStmtClass), TryLoc(tryLoc), NumHandlers(handlers.size()) { in CXXTryStmt()
/external/llvm-project/llvm/tools/llvm-c-test/
Decho.cpp765 unsigned NumHandlers = LLVMGetNumHandlers(Src); in CloneInstruction() local
766 Dst = LLVMBuildCatchSwitch(Builder, ParentPad, UnwindBB, NumHandlers, Name); in CloneInstruction()
767 if (NumHandlers > 0) { in CloneInstruction()
769 safe_malloc(NumHandlers * sizeof(LLVMBasicBlockRef))); in CloneInstruction()
771 for (unsigned i = 0; i < NumHandlers; i++) in CloneInstruction()
/external/llvm/include/llvm/IR/
DInstructions.h3962 unsigned NumHandlers, const Twine &NameStr,
3970 unsigned NumHandlers, const Twine &NameStr,
3980 unsigned NumHandlers,
3983 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
3987 unsigned NumHandlers, const Twine &NameStr,
3989 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
DIRBuilder.h727 unsigned NumHandlers,
729 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/llvm-project/llvm/include/llvm/IR/
DInstructions.h4230 unsigned NumHandlers, const Twine &NameStr,
4238 unsigned NumHandlers, const Twine &NameStr,
4255 unsigned NumHandlers,
4258 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4263 unsigned NumHandlers, const Twine &NameStr,
4265 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
DIRBuilder.h1100 unsigned NumHandlers,
1102 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h4236 unsigned NumHandlers, const Twine &NameStr,
4244 unsigned NumHandlers, const Twine &NameStr,
4261 unsigned NumHandlers,
4264 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
4269 unsigned NumHandlers, const Twine &NameStr,
4271 return new CatchSwitchInst(ParentPad, UnwindDest, NumHandlers, NameStr,
DIRBuilder.h1116 unsigned NumHandlers,
1118 return Insert(CatchSwitchInst::Create(ParentPad, UnwindBB, NumHandlers),
/external/clang/lib/Sema/
DSemaStmt.cpp3658 const unsigned NumHandlers = Handlers.size(); in ActOnCXXTryBlock() local
3663 for (unsigned i = 0; i < NumHandlers; ++i) { in ActOnCXXTryBlock()
3670 if (i < NumHandlers - 1) in ActOnCXXTryBlock()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp4164 const unsigned NumHandlers = Handlers.size(); in ActOnCXXTryBlock() local
4169 for (unsigned i = 0; i < NumHandlers; ++i) { in ActOnCXXTryBlock()
4176 if (i < NumHandlers - 1) in ActOnCXXTryBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3619 unsigned NumHandlers, const char *Name);
/external/llvm-project/llvm/include/llvm-c/
DCore.h3656 unsigned NumHandlers, const char *Name);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4301 unsigned NumHandlers = Record[Idx++]; in parseFunctionBody() local
4304 for (unsigned Op = 0; Op != NumHandlers; ++Op) { in parseFunctionBody()
4322 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4916 unsigned NumHandlers = Record[Idx++]; in parseFunctionBody() local
4919 for (unsigned Op = 0; Op != NumHandlers; ++Op) { in parseFunctionBody()
4937 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2499 unsigned NumHandlers = CatchSwitch.getNumHandlers(); in writeInstruction() local
2500 Vals.push_back(NumHandlers); in writeInstruction()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4403 unsigned NumHandlers = Record[Idx++]; in parseFunctionBody() local
4406 for (unsigned Op = 0; Op != NumHandlers; ++Op) { in parseFunctionBody()
4424 CatchSwitchInst::Create(ParentPad, UnwindDest, NumHandlers); in parseFunctionBody()

12