| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
| D | mir_parser.cpp | 28 bool MIRParser::ParseStmtDassign(StmtNodePtr &stmt) in ParseStmtDassign() 68 bool MIRParser::ParseStmtDassignoff(StmtNodePtr &stmt) in ParseStmtDassignoff() 117 bool MIRParser::ParseStmtRegassign(StmtNodePtr &stmt) in ParseStmtRegassign() 165 bool MIRParser::ParseStmtIassign(StmtNodePtr &stmt) in ParseStmtIassign() 198 bool MIRParser::ParseStmtIassignoff(StmtNodePtr &stmt) in ParseStmtIassignoff() 225 bool MIRParser::ParseStmtIassignFPoff(StmtNodePtr &stmt) in ParseStmtIassignFPoff() 251 bool MIRParser::ParseStmtBlkassignoff(StmtNodePtr &stmt) in ParseStmtBlkassignoff() 284 bool MIRParser::ParseStmtDoloop(StmtNodePtr &stmt) in ParseStmtDoloop() 374 bool MIRParser::ParseStmtForeachelem(StmtNodePtr &stmt) in ParseStmtForeachelem() 414 bool MIRParser::ParseStmtIf(StmtNodePtr &stmt) in ParseStmtIf() [all …]
|
| D | mir_builder.cpp | 912 …auto *stmt = GetCurrentFuncCodeMp()->New<CallNode>(*GetCurrentFuncCodeMpAllocator(), opCode, puIdx… in CreateStmtCall() local 930 auto *stmt = GetCurrentFuncCodeMp()->New<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icall); in CreateStmtIcall() local 938 …auto *stmt = GetCurrentFuncCodeMp()->New<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallprot… in CreateStmtIcallproto() local 946 …auto *stmt = GetCurrentFuncCodeMp()->New<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallassi… in CreateStmtIcallAssigned() local 964 …auto *stmt = GetCurrentFuncCodeMp()->New<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallassi… in CreateStmtIcallAssigned() local 985 …auto *stmt = GetCurrentFuncCodeMp()->New<IcallNode>(*GetCurrentFuncCodeMpAllocator(), OP_icallprot… in CreateStmtIcallprotoAssigned() local 1004 auto *stmt = GetCurrentFuncCodeMp()->New<IntrinsiccallNode>( in CreateStmtIntrinsicCall() local 1013 auto *stmt = in CreateStmtXintrinsicCall() local 1022 auto *stmt = GetCurrentFuncCodeMp()->New<CallNode>(*GetCurrentFuncCodeMpAllocator(), op, puIdx); in CreateStmtCallAssigned() local 1033 …auto *stmt = GetCurrentFuncCodeMp()->New<CallNode>(*GetCurrentFuncCodeMpAllocator(), opcode, puIdx… in CreateStmtCallAssigned() local [all …]
|
| /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
|
| D | bbt.h | 119 void SetFirstStmt(StmtNode &stmt) in SetFirstStmt() 129 void SetLastStmt(StmtNode &stmt) in SetLastStmt()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/src/ |
| D | meexpr_use_info.cpp | 64 void MeExprUseInfo::CollectUseInfoInExpr(MeExpr *expr, MeStmt *stmt) in CollectUseInfoInExpr() 90 void MeExprUseInfo::CollectUseInfoInStmt(MeStmt *stmt) in CollectUseInfoInStmt() 123 for (auto &stmt : bb->GetMeStmts()) { in CollectUseInfoInBB() local
|
| D | me_cfg.cpp | 32 #define MATCH_STMT(stmt, kOpCode) \ argument 44 const StmtNode *stmt = bb.GetStmtNodes().begin().d(); in IfReplaceWithAssertNonNull() local 99 bool MeCFG::FindUse(const StmtNode &stmt, StIdx stIdx) const in FindUse() argument 172 bool MeCFG::FindDef(const StmtNode &stmt, StIdx stIdx) const in FindDef() argument 197 for (StmtNode *stmt = &from; stmt && stmt != &to; stmt = stmt->GetNext()) { in HasNoOccBetween() local 448 StmtNode *stmt = nextStmt; in CreateBasicBlocks() local 979 for (auto &stmt : bb->GetStmtNodes()) { in ConstructStmtFreq() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_me/include/ |
| D | ssa_mir_nodes.h | 89 StmtNode *stmt; variable 164 StmtNode *stmt = nullptr; variable 472 AccessSSANodes *SSAPartOf(const StmtNode &stmt) in SSAPartOf() 476 const AccessSSANodes *SSAPartOf(const StmtNode &stmt) const in SSAPartOf() 481 bool HasMayDef(const StmtNode &stmt) in HasMayDef() 486 TypeOfMayDefList &GetMayDefNodesOf(const StmtNode &stmt) in GetMayDefNodesOf() 491 TypeOfMayUseList &GetMayUseNodesOf(const StmtNode &stmt) in GetMayUseNodesOf() 496 MapleVector<MustDefNode> &GetMustDefNodesOf(const StmtNode &stmt) in GetMustDefNodesOf() 500 const MapleVector<MustDefNode> &GetMustDefNodesOf(const StmtNode &stmt) const in GetMustDefNodesOf() 505 VersionSt *GetAssignedVarOf(const StmtNode &stmt) in GetAssignedVarOf() [all …]
|
| D | ssa_tab.h | 181 const TypeOfMayUseList &GetStmtMayUseNodes(const StmtNode &stmt) const in GetStmtMayUseNodes() 186 MapleVector<MustDefNode> &GetStmtMustDefNodes(const StmtNode &stmt) in GetStmtMustDefNodes() 227 const MIRSymbol &GetStmtMIRSymbol(const StmtNode &stmt) const in GetStmtMIRSymbol()
|
| D | pme_mir_extension.h | 32 PreMeMIRExtension(BaseNode *p, MeStmt *stmt) : parent(p), mestmt(stmt) {} in PreMeMIRExtension()
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | switchBuilder.cpp | 28 SwitchBuilder::SwitchBuilder(PandaGen *pg, const ir::SwitchStatement *stmt) in SwitchBuilder() 54 for (const auto *stmt : stmt_->Cases()[index]->Consequent()) { in CompileCaseStatements() local
|
| D | function.cpp | 54 for (const auto *stmt : statements) { in CompileSourceBlock() local 187 for (auto const &stmt : statements) { in CompileClassInitializer() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | cgfunc.cpp | 1232 void HandleLabel(StmtNode &stmt, CGFunc &cgFunc) in HandleLabel() 1245 void HandleGoto(StmtNode &stmt, CGFunc &cgFunc) in HandleGoto() 1259 void HandleIgoto(StmtNode &stmt, CGFunc &cgFunc) in HandleIgoto() 1267 void HandleCondbr(StmtNode &stmt, CGFunc &cgFunc) in HandleCondbr() 1353 void HandleReturn(StmtNode &stmt, CGFunc &cgFunc) in HandleReturn() 1372 void HandleCall(StmtNode &stmt, CGFunc &cgFunc) in HandleCall() 1391 void HandleICall(StmtNode &stmt, CGFunc &cgFunc) in HandleICall() 1403 void HandleIntrinCall(StmtNode &stmt, CGFunc &cgFunc) in HandleIntrinCall() 1409 void HandleDassign(StmtNode &stmt, CGFunc &cgFunc) in HandleDassign() 1435 void HandleDassignoff(StmtNode &stmt, CGFunc &cgFunc) in HandleDassignoff() [all …]
|
| D | memlayout.cpp | 34 StmtNode *stmt = mirFunction->GetBody()->GetFirst(); in FindLargestActualArea() local
|
| D | isel.cpp | 142 void HandleDassign(StmtNode &stmt, MPISel &iSel) in HandleDassign() 155 void HandleDassignoff(StmtNode &stmt, MPISel &iSel) in HandleDassignoff() 164 void HandleIassign(StmtNode &stmt, MPISel &iSel) in HandleIassign() 184 void HandleRegassign(StmtNode &stmt, MPISel &iSel) in HandleRegassign() 194 void HandleIassignoff(StmtNode &stmt, MPISel &iSel) in HandleIassignoff() 200 void HandleLabel(StmtNode &stmt, const MPISel &iSel) in HandleLabel() 211 void HandleGoto(StmtNode &stmt, MPISel &iSel) in HandleGoto() 226 void HandleIntrinCall(StmtNode &stmt, MPISel &iSel) in HandleIntrinCall() 232 void HandleRangeGoto(StmtNode &stmt, MPISel &iSel) in HandleRangeGoto() 243 void HandleIgoto(StmtNode &stmt, MPISel &iSel) in HandleIgoto() [all …]
|
| /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_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
| D | simplify.cpp | 129 bool Simplify::SimplifyMathMethod(const StmtNode &stmt, BlockNode &block) in SimplifyMathMethod() 174 void Simplify::SimplifyCallAssigned(StmtNode &stmt, BlockNode &block) in SimplifyCallAssigned() 427 void Simplify::ProcessStmt(StmtNode &stmt) in ProcessStmt() 783 …ic void InsertAndMayPrintStmt(BlockNode &block, const StmtNode &anchor, bool debug, StmtNode *stmt) in InsertAndMayPrintStmt() 862 static void AddNullptrHandlerIR(const StmtNode &stmt, MIRBuilder *mirBuilder, BlockNode &block, Stm… in AddNullptrHandlerIR() 870 static void AddMemsetCallStmt(const StmtNode &stmt, MIRFunction &func, BlockNode &block, BaseNode *… in AddMemsetCallStmt() 887 static void AddResetHandlerIR(const StmtNode &stmt, MIRFunction &func, BlockNode &block, StmtNode *… in AddResetHandlerIR() 912 static void InsertCheckFailedBranch(MIRFunction &func, StmtNode &stmt, BlockNode &block, LabelIdx b… in InsertCheckFailedBranch() 922 …tNode *InsertMemsetCallStmt(const MapleVector<BaseNode *> &args, MIRFunction &func, StmtNode &stmt, in InsertMemsetCallStmt() 935 …d CreateAndInsertCheckStmt(Opcode op, BaseNode *lhs, BaseNode *rhs, LabelIdx label, StmtNode &stmt, in CreateAndInsertCheckStmt() [all …]
|
| D | call_graph.cpp | 515 void CallGraph::CollectAddroffuncFromStmt(const StmtNode *stmt) in CollectAddroffuncFromStmt() 534 void CallGraph::RecordLocalConstValue(const StmtNode *stmt) in RecordLocalConstValue() 576 void CallGraph::HandleCall(CGNode &node, StmtNode *stmt, uint32 loopDepth) in HandleCall() 631 void CallGraph::HandleICall(BlockNode &body, CGNode &node, StmtNode *stmt, uint32 loopDepth) in HandleICall() 788 for (StmtNode *stmt = body.GetFirst(); stmt != nullptr; stmt = stmtNext) { in HandleBody() local 1010 for (StmtNode *stmt = func->GetBody()->GetFirst(); stmt != nullptr; stmt = stmtNext) { in SearchDefInClinit() local 1133 for (StmtNode *stmt = func->GetBody()->GetFirst(); stmt != nullptr; stmt = stmtNext) { in SearchDefInMemberMethods() local 1245 for (StmtNode *stmt = func->GetBody()->GetFirst(); stmt != nullptr; stmt = stmtNext) { in DoDevirtual() local 1689 StmtNode *stmt = candidate.first->GetCallStmt(); in FixIcallCallee() local
|
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | tryStatement.ts | 111 private stmt: ts.Statement; property in TryStatement 187 protected stmt: ts.Statement; property in TryBuilderBase
|
| D | switchStatement.ts | 29 private stmt: ts.SwitchStatement; property in SwitchBase
|
| /arkcompiler/ets_frontend/ets2panda/ir/statements/ |
| D | blockStatement.h | 63 void AddTrailingBlock(AstNode *stmt, BlockStatement *trailingBlock) in AddTrailingBlock()
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | ETSBinder.cpp | 231 for (auto *stmt : decl->Body()->Body()) { in ResolveInterfaceDeclaration() local 244 for (auto *stmt : decl->Body()->Body()) { in ResolveInterfaceDeclaration() local 342 for (auto *stmt : classDef->Body()) { in BuildClassDefinitionImpl() local 356 for (auto *stmt : classDef->Body()) { in BuildClassDefinitionImpl() local 982 const auto etsGlobal = std::find_if(stmts.begin(), stmts.end(), [](const ir::Statement *stmt) { in BuildProgram() 987 … const auto begin = std::find_if(stmts.rbegin(), stmts.rend(), [](const ir::Statement *stmt) { in BuildProgram() 995 for (auto *stmt : stmts) { in BuildProgram() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_cgfunc.cpp | 70 void X64CGFunc::SelectDassign(DassignNode &stmt, Operand &opnd0) in SelectDassign() 74 void X64CGFunc::SelectDassignoff(DassignoffNode &stmt, Operand &opnd0) in SelectDassignoff() 78 void X64CGFunc::SelectRegassign(RegassignNode &stmt, Operand &opnd0) in SelectRegassign() 86 void X64CGFunc::SelectAssertNull(UnaryStmtNode &stmt) in SelectAssertNull() 94 void X64CGFunc::SelectAggDassign(DassignNode &stmt) in SelectAggDassign() 98 void X64CGFunc::SelectIassign(IassignNode &stmt) in SelectIassign() 102 void X64CGFunc::SelectIassignoff(IassignoffNode &stmt) in SelectIassignoff() 106 void X64CGFunc::SelectIassignfpoff(IassignFPoffNode &stmt, Operand &opnd) in SelectIassignfpoff() 118 void X64CGFunc::SelectAggIassign(IassignNode &stmt, Operand &lhsAddrOpnd) in SelectAggIassign() 134 void X64CGFunc::SelectCondGoto(CondGotoNode &stmt, Operand &opnd0, Operand &opnd1) in SelectCondGoto() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | unionLowering.cpp | 239 auto *stmt = GenExpressionStmtWithAssignment(checker, varDeclId, expr); in GenBlockStmtForAssignmentBinary() local 303 void InsertInstanceofTreeBeforeStmt(ir::Statement *stmt, ir::VariableDeclaration *binaryVarDecl, in InsertInstanceofTreeBeforeStmt() 321 auto *stmt = FindStatementFromNode(expr); in ReplaceBinaryExprInStmt() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/ |
| D | phase_impl.cpp | 56 void FuncOptimizeImpl::ProcessBlock(StmtNode &stmt) in ProcessBlock()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
| D | trycatchblockslower.cpp | 114 for (StmtNode *stmt = next; stmt != nullptr; stmt = next) { in RecoverBasicBlock() local 464 StmtNode *stmt = threadHead->GetFirstStmt(); in WrapCatchWithTryEndTryBlock() local 898 for (StmtNode *stmt = body.GetFirst(); stmt; stmt = stmt->GetNext()) { in CheckTryCatchPattern() local
|