Home
last modified time | relevance | path

Searched full:labelpair (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/core/
DlabelPair.h23 class LabelPair {
25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() function
26 explicit LabelPair(LabelPair *labelPair) : begin_(labelPair->begin_), end_(labelPair->end_) {} in LabelPair() function
DlabelTarget.h20 #include "compiler/core/labelPair.h"
38 class LabelTarget : public LabelPair {
43 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget()
46 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
DdynamicContext.cpp201 CatchTable *ETSCatchContext::AddNewCathTable(const util::StringView assemblerType, const LabelPair in AddNewCathTable()
212 LabelPair trycatchLabelPair, in EmitFinalizer()
213 const ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> &finalizerInsertions) in EmitFinalizer() argument
229 for (std::pair<compiler::LabelPair, const ir::Statement *> insertion : finalizerInsertions) { in EmitFinalizer()
245 void ETSTryContext::EmitFinalizerInsertion(ETSGen *etsg, compiler::LabelPair labelPair, const ir::S… in EmitFinalizerInsertion() argument
247 etsg->SetLabel(tryStmt_, labelPair.Begin()); in EmitFinalizerInsertion()
270 if (labelPair.End() != nullptr) { in EmitFinalizerInsertion()
271 etsg->Branch(tryStmt_, labelPair.End()); in EmitFinalizerInsertion()
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 *stat…
DlabelTarget.cpp22 …: LabelPair(cg->AllocLabel(), cg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE… in LabelTarget()
DcodeGen.h140 …[[nodiscard]] CatchTable *CreateCatchTable(LabelPair tryLabelPair, util::StringView exceptionType …
DcodeGen.cpp279 CatchTable *CodeGen::CreateCatchTable(const LabelPair tryLabelPair, const util::StringView exceptio… in CreateCatchTable()
DETSCompiler.cpp1494 compiler::LabelPair tryLabelPair(etsg->AllocLabel(), etsg->AllocLabel()); in Compile()
1520 auto trycatchLabelPair = compiler::LabelPair(tryLabelPair.Begin(), statementEnd); in Compile()
DETSGen.cpp3322 LabelPair insertion = compiler::LabelPair(beginLabel, endLabel); in ExtendWithFinalizer()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
DcatchTable.h20 #include "compiler/core/labelPair.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()
DcatchTable.cpp26 TryLabelSet::TryLabelSet(CodeGen *cg, LabelPair tryLabelPair) in TryLabelSet()
/arkcompiler/ets_frontend/es2panda/compiler/base/
DcatchTable.h20 #include <compiler/core/labelPair.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/
DtryStatement.h19 #include "compiler/core/labelPair.h"
44 … ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions) in TryStatement() argument
55 ArenaVector<compiler::LabelPair> finalizerInsertionsLabelPair, in TryStatement()
87 …std::pair<compiler::LabelPair, const Statement *> AddFinalizerInsertion(compiler::LabelPair insert… in AddFinalizerInsertion()
90 …finalizerInsertions_.push_back(std::pair<compiler::LabelPair, const Statement *>(insertion, insert… in AddFinalizerInsertion()
137 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
/arkcompiler/ets_frontend/es2panda/compiler/core/
DlabelTarget.h20 #include <compiler/core/labelPair.h>
39 class LabelTarget : public LabelPair {
44 : LabelPair(target, nullptr), breakLabel_(label), continueLabel_(label) in LabelTarget()
47 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget()
DlabelPair.h23 class LabelPair {
25 LabelPair(Label *begin, Label *end) : begin_(begin), end_(end) {} in LabelPair() function
DlabelTarget.cpp23 …: LabelPair(pg->AllocLabel(), pg->AllocLabel()), breakLabel_(BREAK_LABEL), continueLabel_(CONTINUE… in LabelTarget()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
DtryStatementBuilder.h50 …TryStatementBuilder &AddCatchClause(std::pair<compiler::LabelPair, const Statement *> finalizerIns… in AddCatchClause() argument
66 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
/arkcompiler/ets_frontend/ets2panda/test/unit/plugin_conversion_rule/
Dplugin_conversion_rule_part_iii.cpp441 ArenaVector<compiler::LabelPair > finalizerInsertionsLabelPairArenaVector in TEST_F()
446 finalizerInsertionsLabelPairArenaVector.push_back(std::forward<compiler::LabelPair> in TEST_F()
447 (*reinterpret_cast<compiler::LabelPair *>(finalizerInsertionsLabelPairElement1))); in TEST_F()
483 … std::forward<compiler::LabelPair>(*reinterpret_cast<compiler::LabelPair *>(insertion)), in TEST_F()
487 ->New<compiler::LabelPair>(resultPair.first)); in TEST_F()
509 … std::forward<compiler::LabelPair>(*reinterpret_cast<compiler::LabelPair *>(insertion)), in TEST_F()
513 ->New<compiler::LabelPair>(resultPair.first)); in TEST_F()
/arkcompiler/ets_frontend/ets2panda/public/
DignoredAllowed.yaml248 - LabelPair
DcppToCTypes.yaml2616 name: 'LabelPair'
2627 reinterpret_cast<compiler::LabelPair |es2panda_arg.type.ptr_depth|>(|arg_name|);
2638 (reinterpret_cast<?const? compiler::LabelPair *>(classInstance))->
2641 ctxAllocator->New<compiler::LabelPair>(
2648 name: 'LabelPair'
2658 …var_name: 'std::forward<compiler::LabelPair>(*reinterpret_cast<compiler::LabelPair *>(|arg_name|))'
2661 reinterpret_cast<?const? es2panda_LabelPair *>(ctxAllocator->New<compiler::LabelPair>
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserStatements.cpp340 …ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()… in ParseTryStatement()
DstatementParser.cpp1412 …ArenaVector<std::pair<compiler::LabelPair, const ir::Statement *>> finalizerInsertions(Allocator()… in ParseTryStatement()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2LabelPair(e,a),s=V.TryStatement.getCurrentTryStatement();V.TryStatement.setCurrentTryStatement(n.g…