/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | labelTarget.h | 30 class LabelTarget; 38 class LabelTarget : public LabelPair { class 40 explicit LabelTarget(CodeGen *cg); 41 explicit LabelTarget(const util::StringView &label) : LabelTarget(nullptr, label) {} in LabelTarget() function in ark::es2panda::ark::es2panda::compiler::LabelTarget 42 explicit LabelTarget(Label *target, const util::StringView &label) in LabelTarget() function in ark::es2panda::ark::es2panda::compiler::LabelTarget 46 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget() function in ark::es2panda::ark::es2panda::compiler::LabelTarget 48 ~LabelTarget() = default; 49 DEFAULT_COPY_SEMANTIC(LabelTarget); 50 DEFAULT_MOVE_SEMANTIC(LabelTarget); [all...] |
H A D | dynamicContext.h | 72 const LabelTarget &Target() const in Target() 78 explicit DynamicContext(CodeGen *cg, LabelTarget target); 80 LabelTarget &Target() in Target() 92 LabelTarget target_; 98 explicit LabelContext(CodeGen *cg, LabelTarget target) : DynamicContext(cg, target) {} in LabelContext() 116 explicit LexEnvContext(LoopEnvScope *envScope, PandaGen *pg, LabelTarget target); 140 explicit IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target);
|
H A D | labelTarget.cpp | 21 LabelTarget::LabelTarget(CodeGen *cg) in LabelTarget() function in ark::es2panda::compiler::LabelTarget
|
H A D | dynamicContext.cpp | 34 DynamicContext::DynamicContext(CodeGen *cg, LabelTarget target) : cg_(cg), target_(target), prev_(Cg()->dynamicContext_) in DynamicContext() 45 : DynamicContext(cg, LabelTarget(labelledStmt->Ident()->Name())), labelledStmt_(labelledStmt) in LabelContext() 64 LexEnvContext::LexEnvContext(LoopEnvScope *envScope, PandaGen *pg, LabelTarget target) in LexEnvContext() 118 IteratorContext::IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target) in IteratorContext()
|
H A D | envScope.h | 78 explicit LoopEnvScope(PandaGen *pg, varbinder::LoopScope *scope, LabelTarget target) in LoopEnvScope() 84 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, varbinder::LoopScope *scope) in LoopEnvScope()
|
H A D | switchBuilder.h | 38 : cg_(cg), end_(cg->AllocLabel()), labelCtx_(cg, LabelTarget(end_, LabelTarget::BREAK_LABEL)), stmt_(stmt) in SwitchBuilder()
|
H A D | codeGen.cpp | 206 util::StringView labelName = label != nullptr ? label->Name() : LabelTarget::BREAK_LABEL; in ControlFlowChangeBreak() 232 util::StringView labelName = label != nullptr ? label->Name() : LabelTarget::CONTINUE_LABEL; in ControlFlowChangeContinue()
|
H A D | JSCompiler.cpp | 1315 compiler::LabelTarget labelTarget(cg); in CompileImpl() 1349 compiler::LabelTarget labelTarget(pg); in Compile() 1390 compiler::LabelTarget labelTarget(pg); in Compile() 1430 compiler::LabelTarget labelTarget(pg); in Compile() 1705 compiler::LabelTarget labelTarget(cg); in CompileImpl()
|
H A D | ETSCompiler.cpp | 1384 compiler::LabelTarget labelTarget(etsg); in CompileImpl() 1432 compiler::LabelTarget labelTarget(etsg); in Compile() 1477 compiler::LabelTarget labelTarget(etsg); in Compile() 1708 compiler::LabelTarget labelTarget(cg); in CompileImpl()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | labelTarget.h | 31 class LabelTarget; 39 class LabelTarget : public LabelPair { class 41 explicit LabelTarget(PandaGen *pg); 42 explicit LabelTarget(const util::StringView &label) : LabelTarget(nullptr, label) {} in LabelTarget() function in panda::es2panda::panda::es2panda::compiler::LabelTarget 43 explicit LabelTarget(Label *target, const util::StringView &label) in LabelTarget() function in panda::es2panda::panda::es2panda::compiler::LabelTarget 47 LabelTarget() : LabelPair(nullptr, nullptr) {}; in LabelTarget() function in panda::es2panda::panda::es2panda::compiler::LabelTarget 49 ~LabelTarget() = default; 50 DEFAULT_COPY_SEMANTIC(LabelTarget); 51 DEFAULT_MOVE_SEMANTIC(LabelTarget); [all...] |
H A D | dynamicContext.h | 72 const LabelTarget &Target() const in Target() 78 explicit DynamicContext(PandaGen *pg, LabelTarget target); 81 LabelTarget target_; 87 explicit LabelContext(PandaGen *pg, LabelTarget target) : DynamicContext(pg, target) {} in LabelContext() 105 explicit LexEnvContext(VariableEnvScope *envScope, PandaGen *pg, LabelTarget target); 126 explicit IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target);
|
H A D | labelTarget.cpp | 22 LabelTarget::LabelTarget(PandaGen *pg) in LabelTarget() function in panda::es2panda::compiler::LabelTarget
|
H A D | envScope.h | 71 explicit VariableEnvScope(PandaGen *pg, binder::VariableScope *scope, LabelTarget target) in VariableEnvScope() 99 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope() 104 explicit LoopEnvScope(PandaGen *pg, LabelTarget target, binder::LoopScope *scope) in LoopEnvScope()
|
H A D | dynamicContext.cpp | 26 DynamicContext::DynamicContext(PandaGen *pg, LabelTarget target) : pg_(pg), target_(target), prev_(pg_->dynamicContext_) in DynamicContext() 37 : DynamicContext(pg, LabelTarget(labelledStmt->Ident()->Name())), labelledStmt_(labelledStmt) in LabelContext() 57 LexEnvContext::LexEnvContext(VariableEnvScope *envScope, PandaGen *pg, LabelTarget target) in LexEnvContext() 110 IteratorContext::IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target) in IteratorContext()
|
H A D | switchBuilder.cpp | 29 : pg_(pg), end_(pg->AllocLabel()), labelCtx_(pg, LabelTarget(end_, LabelTarget::BREAK_LABEL)), stmt_(stmt) in SwitchBuilder()
|
H A D | pandagen.cpp | 810 util::StringView labelName = label ? label->Name() : LabelTarget::BREAK_LABEL; in ControlFlowChangeBreak() 835 util::StringView labelName = label ? label->Name() : LabelTarget::CONTINUE_LABEL; in ControlFlowChangeContinue() 861 iter->AbortContext(ControlFlowChange::BREAK, LabelTarget::RETURN_LABEL); in ControlFlowChangeReturn()
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | classStaticBlock.cpp | 38 compiler::LabelTarget target(pg); in Compile()
|
H A D | classDefinition.cpp | 391 compiler::LabelTarget target(pg); in Compile()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | whileStatement.cpp | 43 compiler::LabelTarget labelTarget(pg); in Compile()
|
H A D | doWhileStatement.cpp | 43 compiler::LabelTarget labelTarget(pg); in Compile()
|
H A D | forOfStatement.cpp | 74 compiler::LabelTarget labelTarget(pg); in Compile()
|
H A D | forInStatement.cpp | 79 compiler::LabelTarget labelTarget(pg); in Compile()
|
H A D | forUpdateStatement.cpp | 58 compiler::LabelTarget labelTarget(pg); in Compile()
|