| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
| D | importExportDecls.cpp | 63 …d ImportExportDecls::CollectImportedProgramsFromStmts(ark::es2panda::ir::ETSImportDeclaration *stm… in CollectImportedProgramsFromStmts() 88 for (auto stmt : program->Ast()->Statements()) { in HandleGlobalStmts() local 228 … std::set<util::StringView> &exportedStatements, ir::Statement *stmt, in HandleSimpleType() 260 for (auto stmt : program->Ast()->Statements()) { in VerifyTypeExports() local 266 void ImportExportDecls::VerifyType(ir::Statement *stmt, parser::Program *program, in VerifyType() 323 … auto verifyDefault = [&metDefaultExport, logger](ir::Statement *stmt, parser::Program *program) { in VerifySingleExportDefault() 334 for (auto stmt : program->Ast()->Statements()) { in VerifySingleExportDefault() local
|
| D | globalDeclTransformer.cpp | 34 for (auto stmt : stmts) { in TransformStatements() local 80 if (auto stmt = InitTopLevelProperty(field); stmt != nullptr) { in VisitVariableDeclaration() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
| D | switch_lowerer.h | 26 SwitchLowerer(maple::MIRModule &mod, maple::SwitchNode &stmt, maple::MapleAllocator &allocator) in SwitchLowerer() 40 maple::SwitchNode *stmt; variable
|
| /arkcompiler/ets_frontend/ets2panda/evaluate/ |
| D | evaluateContext.cpp | 35 …lClassDefIter = std::find_if(topLevelStatements.begin(), topLevelStatements.end(), [](auto *stmt) { in FindEvaluationMethod() 57 auto *stmt = methodStatements->Statements().back(); in FindEvaluationMethod() local
|
| D | scopedDebugInfoPlugin-inl.h | 24 void ScopedDebugInfoPlugin::RegisterPrologueEpilogue(ir::BlockStatement *block, ir::Statement *stmt) in RegisterPrologueEpilogue()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | cgfunc.cpp | 267 static void HandleLabel(StmtNode &stmt, CGFunc &cgFunc) in HandleLabel() 280 static void HandleGoto(StmtNode &stmt, CGFunc &cgFunc) in HandleGoto() 293 static void HandleCondbr(StmtNode &stmt, CGFunc &cgFunc) in HandleCondbr() 363 static void HandleReturn(StmtNode &stmt, CGFunc &cgFunc) in HandleReturn() 376 static void HandleCall(StmtNode &stmt, CGFunc &cgFunc) in HandleCall() 382 static void HandleICall(StmtNode &stmt, CGFunc &cgFunc) in HandleICall() 389 static void HandleIntrinsicCall(StmtNode &stmt, CGFunc &cgFunc) in HandleIntrinsicCall() 395 static void HandleDassign(StmtNode &stmt, CGFunc &cgFunc) in HandleDassign() 412 static void HandleRegassign(StmtNode &stmt, CGFunc &cgFunc) in HandleRegassign() 429 static void HandleIassign(StmtNode &stmt, CGFunc &cgFunc) in HandleIassign() [all …]
|
| D | memlayout.cpp | 35 StmtNode *stmt = mirFunction->GetBody()->GetFirst(); in FindLargestActualArea() local
|
| D | isel.cpp | 138 static void HandleDassign(StmtNode &stmt, MPISel &iSel) in HandleDassign() 151 static void HandleIassign(StmtNode &stmt, MPISel &iSel) in HandleIassign() 167 static void HandleRegassign(StmtNode &stmt, MPISel &iSel) in HandleRegassign() 177 static void HandleLabel(StmtNode &stmt, const MPISel &iSel) in HandleLabel() 188 static void HandleGoto(StmtNode &stmt, MPISel &iSel) in HandleGoto() 202 static void HandleIntrinCall(StmtNode &stmt, MPISel &iSel) in HandleIntrinCall() 208 static void HandleRangeGoto(StmtNode &stmt, MPISel &iSel) in HandleRangeGoto() 219 void HandleReturn(StmtNode &stmt, MPISel &iSel) in HandleReturn() 234 static void HandleComment(StmtNode &stmt, MPISel &iSel) in HandleComment() 239 static void HandleIcall(StmtNode &stmt, MPISel &iSel) in HandleIcall() [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | switchBuilder.cpp | 25 SwitchBuilder::SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt) in SwitchBuilder() 51 for (const auto *stmt : stmt_->Cases()[index]->Consequent()) { in CompileCaseStatements() local
|
| D | function.cpp | 48 for (const auto *stmt : statements) { in CompileSourceBlock() local 183 for (auto const &stmt : statements) { in CompileClassInitializer() local
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | packageImplicitImport.cpp | 25 for (auto *const stmt : extClassDecls) { in MergeExternalFilesIntoCompiledProgram() local 76 for (const auto *const stmt : importDeclarations) { in ValidateImportDeclarationsSourcePath() local 100 … [](const ir::Statement *const stmt) { return stmt->IsETSImportDeclaration(); }); in ValidateNoImportComesFromSamePackage()
|
| D | objectLiteralLowering.cpp | 34 for (auto *const stmt : statements) { in MaybeAllowConstAssign() local 55 for (auto stmt : statements) { in RestoreNestedBlockExpression() local 93 for (auto *const stmt : blockExpression->Statements()) { in AllowRequiredTypeInstantiation() local
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | switchBuilder.h | 37 SwitchBuilder(CodeGen *cg, const ir::SwitchStatement *stmt) in SwitchBuilder() 68 for (const auto *stmt : stmt_->Cases()[index]->Consequent()) { in CompileCaseStatements() local
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | scriptFunction.cpp | 166 for (const auto &stmt : blockStat->Statements()) { in CalculateFunctionExpectedPropertyCount() local 172 const ir::Statement *stmt, in ExtractThisPropertyFromStatement()
|
| D | classDefinition.cpp | 346 for (const auto &stmt : body_) { in CompileComputedKeys() local 469 for (const auto *stmt : body_) { in BuildClassEnvironment() local 733 for (const auto &stmt : Body()) { in CalculateClassExpectedPropertyCount() local 762 for (const auto &stmt : body->Statements()) { in ProcessConstructorBody() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | mir_builder.cpp | 310 auto *stmt = NewNode<CallNode>(*GetCurrentFuncCodeMpAllocator(), opCode, puIdx, TyIdx()); in CreateStmtCall() local 318 auto *stmt = NewNode<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icall); in CreateStmtIcall() local 326 auto *stmt = NewNode<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallproto); in CreateStmtIcallproto() local 335 auto *stmt = NewNode<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallassigned); in CreateStmtIcallAssigned() local 353 auto *stmt = NewNode<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallassigned); in CreateStmtIcallAssigned() local 375 auto *stmt = NewNode<IntrinsiccallNode>( in CreateStmtIntrinsicCall() local 385 auto *stmt = NewNode<CallNode>(*GetCurrentFuncCodeMpAllocator(), opcode, puIdx); in CreateStmtCallRegassigned() local 397 auto *stmt = in CreateStmtIntrinsicCallAssigned() local 412 auto *stmt = NewNode<NaryStmtNode>(*GetCurrentFuncCodeMpAllocator(), OP_return); in CreateStmtReturn() local
|
| D | mir_nodes.cpp | 47 void BlockNode::AddStatement(StmtNode *stmt) in AddStatement() 62 void BlockNode::InsertFirst(StmtNode *stmt) in InsertFirst() 69 void BlockNode::InsertLast(StmtNode *stmt) in InsertLast() 494 for (auto &stmt : elsePart->GetStmtNodes()) { in Dump() local 676 for (auto &stmt : GetStmtNodes()) { in Dump() local
|
| D | mir_lower.cpp | 110 auto *stmt = block.GetFirst(); in LowerBuiltinExpect() local 335 StmtNode *stmt = nextStmt; in LowerBlock() local 390 StmtNode *stmt = nextStmt; in LowerCandCior() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | lower.cpp | 131 void CGLowerer::LowerCallStmt(StmtNode &stmt, StmtNode *&nextStmt, BlockNode &newBlk, MIRType *rett… in LowerCallStmt() 165 StmtNode *CGLowerer::GenCallNode(const StmtNode &stmt, PUIdx &funcCalled, CallNode &origCall) in GenCallNode() 181 StmtNode *CGLowerer::GenIntrinsiccallNode(const StmtNode &stmt, PUIdx &funcCalled, bool &handledAtL… in GenIntrinsiccallNode() 331 BlockNode *CGLowerer::LowerCallAssignedStmt(StmtNode &stmt, bool uselvar) in LowerCallAssignedStmt() 377 BlockNode *CGLowerer::LowerIntrinsiccallToIntrinsicop(StmtNode &stmt) in LowerIntrinsiccallToIntrinsicop() 382 void CGLowerer::LowerStmt(StmtNode &stmt, BlockNode &newBlk) in LowerStmt() 390 void CGLowerer::LowerSwitchOpnd(StmtNode &stmt, BlockNode &newBlk) in LowerSwitchOpnd() 418 StmtNode *stmt = nextStmt; in LowerBlock() local 783 StmtNode *CGLowerer::LowerDassignToThreadLocal(StmtNode &stmt, const BlockNode &block) in LowerDassignToThreadLocal()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | ETSparserStatements.cpp | 136 auto stmt = ParseTopLevelStatement(); in ParseTopLevelStatements() local 146 static ir::Statement *ValidateExportableStatement(ETSParser *parser, ir::Statement *stmt, in ValidateExportableStatement()
|
| /arkcompiler/ets_frontend/ets2panda/ir/statements/ |
| D | blockStatement.h | 77 void AddTrailingBlock(AstNode *stmt, BlockStatement *trailingBlock) in AddTrailingBlock()
|
| /arkcompiler/ets_frontend/ets2panda/parser/program/ |
| D | program.cpp | 63 for (auto stmt : ast_->Statements()) { in SetDeclarationModuleInfo() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_cgfunc.cpp | 24 void X64CGFunc::SelectDassign(DassignNode &stmt, Operand &opnd0) in SelectDassign() 28 void X64CGFunc::SelectRegassign(RegassignNode &stmt, Operand &opnd0) in SelectRegassign() 32 void X64CGFunc::SelectIassign(IassignNode &stmt) in SelectIassign() 40 void X64CGFunc::SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) in SelectCondGoto() 44 void X64CGFunc::SelectCondSpecialCase1(CondGotoNode &stmt, BaseNode &opnd0) in SelectCondSpecialCase1() 48 void X64CGFunc::SelectCondSpecialCase2(const CondGotoNode &stmt, BaseNode &opnd0) in SelectCondSpecialCase2() 52 void X64CGFunc::SelectGoto(GotoNode &stmt) in SelectGoto()
|
| /arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
| D | getterSetterValidation.cpp | 96 for (auto const *const stmt : returns) { in ValidateGetter() local
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | ETSBinder.cpp | 308 for (auto *stmt : decl->Body()->Body()) { in ResolveInterfaceDeclaration() local 321 for (auto *stmt : decl->Body()->Body()) { in ResolveInterfaceDeclaration() local 449 for (auto *stmt : classDef->Body()) { in BuildClassDefinitionImpl() local 464 for (auto *stmt : classDef->Body()) { in BuildClassDefinitionImpl() local 1092 const auto etsGlobal = std::find_if(stmts.begin(), stmts.end(), [](const ir::Statement *stmt) { in BuildProgram() 1097 … const auto begin = std::find_if(stmts.rbegin(), stmts.rend(), [](const ir::Statement *stmt) { in BuildProgram() 1105 for (auto *stmt : stmts) { in BuildProgram() local
|