Home
last modified time | relevance | path

Searched refs:LabelPair (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A DcatchTable.h28 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 DcatchTable.cpp26 TryLabelSet::TryLabelSet(CodeGen *cg, LabelPair tryLabelPair) in TryLabelSet()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DlabelPair.h23 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 DlabelTarget.h38 class LabelTarget : public LabelPair {
43 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget()
46 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
H A DdynamicContext.h256 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 DdynamicContext.cpp200 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 DlabelTarget.cpp22 : LabelPair(cg->AllocLabel(), cg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE_LABEL) in LabelTarget()
H A DcodeGen.cpp278 CatchTable *CodeGen::CreateCatchTable(const LabelPair tryLabelPair, const util::StringView exceptionType) in CreateCatchTable()
H A DcodeGen.h140 [[nodiscard]] CatchTable *CreateCatchTable(LabelPair tryLabelPair, util::StringView exceptionType = "");
H A DETSCompiler.cpp1647 compiler::LabelPair tryLabelPair(etsg->AllocLabel(), etsg->AllocLabel()); in Compile()
1673 auto trycatchLabelPair = compiler::LabelPair(tryLabelPair.Begin(), statementEnd); in Compile()
H A DETSGen.cpp2777 LabelPair insertion = compiler::LabelPair(beginLabel, endLabel); in ExtendWithFinalizer()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A DcatchTable.h34 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 DtryStatement.h44 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 DlabelTarget.h39 class LabelTarget : public LabelPair {
44 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget()
47 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
H A DlabelPair.h23 class LabelPair { class
25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() function in panda::es2panda::compiler::LabelPair
H A DlabelTarget.cpp23 : LabelPair(pg->AllocLabel(), pg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE_LABEL) in LabelTarget()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DtryStatementBuilder.h50 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 DETSparserStatements.cpp306 ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()->Adapter()); in ParseTryStatement()
H A DstatementParser.cpp1278 ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()->Adapter()); in ParseTryStatement()

Completed in 21 milliseconds