/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | catchTable.h | 28 explicit TryLabelSet(CodeGen *cg, LabelPair tryLabelPair); 34 const LabelPair &TryLabelPair() const in TryLabelPair() 39 const LabelPair &CatchLabelPair() const in CatchLabelPair() 65 LabelPair try_; 66 LabelPair catch_; 75 CatchTable(CodeGen *cg, uint32_t depth, LabelPair tryLabelPair, util::StringView exceptionType) in CatchTable()
|
H A D | catchTable.cpp | 26 TryLabelSet::TryLabelSet(CodeGen *cg, LabelPair tryLabelPair) in TryLabelSet()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | labelPair.h | 23 class LabelPair { class 25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() function in ark::es2panda::compiler::LabelPair 26 explicit LabelPair(LabelPair *labelPair) : begin_(labelPair->begin_), end_(labelPair->end_) {} in LabelPair() function in ark::es2panda::compiler::LabelPair
|
H A D | labelTarget.h | 38 class LabelTarget : public LabelPair { 43 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget() 46 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
|
H A D | dynamicContext.h | 256 CatchTable *AddNewCathTable(util::StringView assemblerType, LabelPair tryLabelPair); 288 void EmitFinalizer(LabelPair trycatchLabelPair, 289 const ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> &finalizerInsertions); 290 void EmitFinalizerInsertion(ETSGen *etsg, compiler::LabelPair labelPair, const ir::Statement *statement);
|
H A D | dynamicContext.cpp | 200 CatchTable *ETSCatchContext::AddNewCathTable(const util::StringView assemblerType, const LabelPair tryLabelPair) in AddNewCathTable() 211 LabelPair trycatchLabelPair, in EmitFinalizer() 212 const ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> &finalizerInsertions) in EmitFinalizer() 227 for (std::pair<compiler::LabelPair, const ir::Statement *> insertion : finalizerInsertions) { in EmitFinalizer() 243 void ETSTryContext::EmitFinalizerInsertion(ETSGen *etsg, compiler::LabelPair labelPair, const ir::Statement *statement) in EmitFinalizerInsertion()
|
H A D | labelTarget.cpp | 22 : LabelPair(cg->AllocLabel(), cg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE_LABEL) in LabelTarget()
|
H A D | codeGen.cpp | 278 CatchTable *CodeGen::CreateCatchTable(const LabelPair tryLabelPair, const util::StringView exceptionType) in CreateCatchTable()
|
H A D | codeGen.h | 140 [[nodiscard]] CatchTable *CreateCatchTable(LabelPair tryLabelPair, util::StringView exceptionType = "");
|
H A D | ETSCompiler.cpp | 1647 compiler::LabelPair tryLabelPair(etsg->AllocLabel(), etsg->AllocLabel()); in Compile() 1673 auto trycatchLabelPair = compiler::LabelPair(tryLabelPair.Begin(), statementEnd); in Compile()
|
H A D | ETSGen.cpp | 2777 LabelPair insertion = compiler::LabelPair(beginLabel, endLabel); in ExtendWithFinalizer()
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A D | catchTable.h | 34 const LabelPair &TryLabelPair() const in TryLabelPair() 39 const LabelPair &CatchLabelPair() const in CatchLabelPair() 65 LabelPair try_; 66 LabelPair catch_;
|
/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | tryStatement.h | 44 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions) in TryStatement() 55 ArenaVector<compiler::LabelPair> finalizerInsertionsLabelPair, in TryStatement() 86 std::pair<compiler::LabelPair, const Statement *> AddFinalizerInsertion(compiler::LabelPair insertion, in AddFinalizerInsertion() 89 finalizerInsertions_.push_back(std::pair<compiler::LabelPair, const Statement *>(insertion, insertionStmt)); in AddFinalizerInsertion() 134 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | labelTarget.h | 39 class LabelTarget : public LabelPair { 44 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget() 47 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
|
H A D | labelPair.h | 23 class LabelPair { class 25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() function in panda::es2panda::compiler::LabelPair
|
H A D | labelTarget.cpp | 23 : LabelPair(pg->AllocLabel(), pg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE_LABEL) in LabelTarget()
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | tryStatementBuilder.h | 50 TryStatementBuilder &AddCatchClause(std::pair<compiler::LabelPair, const Statement *> finalizerInsertion) in AddCatchClause() 66 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserStatements.cpp | 306 ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()->Adapter()); in ParseTryStatement()
|
H A D | statementParser.cpp | 1278 ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()->Adapter()); in ParseTryStatement()
|