Home
last modified time | relevance | path

Searched refs:LabelTarget (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DlabelTarget.h30 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 DdynamicContext.h72 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 DlabelTarget.cpp21 LabelTarget::LabelTarget(CodeGen *cg) in LabelTarget() function in ark::es2panda::compiler::LabelTarget
H A DdynamicContext.cpp34 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 DenvScope.h78 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 DswitchBuilder.h38 : cg_(cg), end_(cg->AllocLabel()), labelCtx_(cg, LabelTarget(end_, LabelTarget::BREAK_LABEL)), stmt_(stmt) in SwitchBuilder()
H A DcodeGen.cpp206 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 DJSCompiler.cpp1315 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 DETSCompiler.cpp1384 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 DlabelTarget.h31 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 DdynamicContext.h72 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 DlabelTarget.cpp22 LabelTarget::LabelTarget(PandaGen *pg) in LabelTarget() function in panda::es2panda::compiler::LabelTarget
H A DenvScope.h71 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 DdynamicContext.cpp26 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 DswitchBuilder.cpp29 : pg_(pg), end_(pg->AllocLabel()), labelCtx_(pg, LabelTarget(end_, LabelTarget::BREAK_LABEL)), stmt_(stmt) in SwitchBuilder()
H A Dpandagen.cpp810 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 DclassStaticBlock.cpp38 compiler::LabelTarget target(pg); in Compile()
H A DclassDefinition.cpp391 compiler::LabelTarget target(pg); in Compile()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DwhileStatement.cpp43 compiler::LabelTarget labelTarget(pg); in Compile()
H A DdoWhileStatement.cpp43 compiler::LabelTarget labelTarget(pg); in Compile()
H A DforOfStatement.cpp74 compiler::LabelTarget labelTarget(pg); in Compile()
H A DforInStatement.cpp79 compiler::LabelTarget labelTarget(pg); in Compile()
H A DforUpdateStatement.cpp58 compiler::LabelTarget labelTarget(pg); in Compile()

Completed in 16 milliseconds