Home
last modified time | relevance | path

Searched refs:Cases (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DswitchBuilder.cpp31 for (size_t i = 0; i < stmt_->Cases().size(); i++) { in SwitchBuilder()
43 pg_->SetLabel(stmt_->Cases()[index], caseLabels_[index]); in SetCaseTarget()
54 for (const auto *stmt : stmt_->Cases()[index]->Consequent()) { in CompileCaseStatements()
61 const ir::SwitchCaseStatement *caseTarget = stmt_->Cases()[index]; in JumpIfCase()
68 const ir::SwitchCaseStatement *defaultTarget = stmt_->Cases()[defaultIndex]; in JumpToDefault()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DswitchBuilder.h40 for (size_t i = 0; i < stmt_->Cases().size(); i++) { in SwitchBuilder()
54 cg_->SetLabel(stmt_->Cases()[index], caseLabels_[index]); in SetCaseTarget()
68 for (const auto *stmt : stmt_->Cases()[index]->Consequent()) { in CompileCaseStatements()
75 const auto *const caseTarget = stmt_->Cases()[index]; in JumpIfCase()
88 const ir::SwitchCaseStatement *defaultTarget = stmt_->Cases()[defaultIndex]; in JumpToDefault()
H A DJSCompiler.cpp1525 for (size_t i = 0; i < self->Cases().size(); i++) { in CompileImpl()
1526 const auto *clause = self->Cases()[i]; in CompileImpl()
1542 for (size_t i = 0; i < self->Cases().size(); i++) { in CompileImpl()
H A DETSCompiler.cpp1606 for (size_t i = 0; i < self->Cases().size(); i++) { in CompileImpl()
1607 const auto *clause = self->Cases()[i]; in CompileImpl()
1623 for (size_t i = 0; i < self->Cases().size(); i++) { in CompileImpl()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DswitchStatement.h54 [[nodiscard]] const ArenaVector<SwitchCaseStatement *> &Cases() const noexcept
59 [[nodiscard]] ArenaVector<SwitchCaseStatement *> &Cases() noexcept
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DswitchStatement.h57 const ArenaVector<SwitchCaseStatement *> &Cases() const in Cases() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::SwitchStatement
62 ArenaVector<SwitchCaseStatement *> &Cases() in Cases() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::SwitchStatement
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.cpp395 for (std::size_t i = 0, size = switchStmt->Cases().size(); i < size; i++) { in AnalyzeSwitch()
396 const auto *caseClause = switchStmt->Cases()[i]; in AnalyzeSwitch()
H A DassignAnalyzer.cpp840 for (const auto caseClause : switchStmt->Cases()) { in AnalyzeSwitch()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.cpp2366 for (auto &it : st->Cases()) { in Check()
2371 if (it != st->Cases().back()) { in Check()
2395 checker->CheckForSameSwitchCases(st->Cases()); in Check()
H A DTSAnalyzer.cpp1257 for (auto *it : st->Cases()) { in Check()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.cpp873 for (auto *it : switchStatement->Cases()) { in ResolveReference()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.cpp240 CallNode(switchStmt->Cases()); in VisitSwitchStatement()

Completed in 21 milliseconds