/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
D | lexenv.cpp | 32 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, varbinder::Variable *variab… in CheckConstAssignment() 43 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFind… in ExpandLoadLexVar() 52 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeF… in ExpandLoadNormalVar() 63 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindR… in Expand() 74 static void StoreLocalExport(PandaGen *pg, const ir::AstNode *node, varbinder::Variable *variable) in StoreLocalExport() 89 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFin… in ExpandStoreLexVar() 109 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScope… in ExpandStoreNormalVar() 127 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFind… in Expand()
|
D | hoisting.cpp | 23 static void HoistVar(PandaGen *pg, varbinder::Variable *var, const varbinder::VarDecl *decl) in HoistVar() 39 static void HoistFunction(PandaGen *pg, varbinder::Variable *var, const varbinder::FunctionDecl *de… in HoistFunction() 59 void Hoisting::Hoist(PandaGen *pg) in Hoist()
|
D | destructuring.cpp | 31 static void GenRestElement(PandaGen *pg, const ir::SpreadElement *restElement, in GenRestElement() 71 static void GenArray(PandaGen *pg, const ir::ArrayExpression *array) in GenArray() 160 static void GenDefaultInitializer(PandaGen *pg, const ir::Expression *element, const ir::Expression… in GenDefaultInitializer() 184 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest() 227 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject() 270 void Destructuring::Compile(PandaGen *pg, const ir::Expression *pattern) in Compile()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | regScope.cpp | 29 RegScope::RegScope(PandaGen *pg) : pg_(pg), regBase_(pg_->usedRegs_) {} in RegScope() 48 LocalRegScope::LocalRegScope(PandaGen *pg) : RegScope(pg) {} in LocalRegScope() 50 LocalRegScope::LocalRegScope(PandaGen *pg, binder::Scope *scope) : RegScope(pg) in LocalRegScope() 83 FunctionRegScope::FunctionRegScope(PandaGen *pg) : RegScope(pg), envScope_(pg->Allocator()->New<Env… in FunctionRegScope()
|
D | function.cpp | 47 static void CompileSourceBlock(PandaGen *pg, const ir::BlockStatement *block) in CompileSourceBlock() 73 static void CompileFunctionParameterDeclaration(PandaGen *pg, const ir::ScriptFunction *func) in CompileFunctionParameterDeclaration() 141 static void CompileField(PandaGen *pg, const ir::ClassProperty *prop, VReg thisReg, int32_t level) in CompileField() 171 static void CompileClassInitializer(PandaGen *pg, const ir::ScriptFunction *decl, bool isStatic) in CompileClassInitializer() 216 static void CompileFunction(PandaGen *pg) in CompileFunction() 268 static void CompileFunctionOrProgram(PandaGen *pg) in CompileFunctionOrProgram() 302 void Function::Compile(PandaGen *pg) in Compile()
|
D | envScope.cpp | 24 ScopeContext::ScopeContext(PandaGen *pg, binder::Scope *newScope) : pg_(pg), prevScope_(pg_->scope_) in ScopeContext() 34 void EnvScope::Initialize(PandaGen *pg) in Initialize() 50 bool VariableEnvScope::InitVariableContext(PandaGen *pg, binder::VariableScope *scope) in InitVariableContext()
|
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()
|
D | dynamicContext.cpp | 26 DynamicContext::DynamicContext(PandaGen *pg, LabelTarget target) : pg_(pg), target_(target), prev_(… in DynamicContext() 36 LabelContext::LabelContext(PandaGen *pg, const ir::LabelledStatement *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() 140 DestructuringIteratorContext::DestructuringIteratorContext(PandaGen *pg, const DestructuringIterato… in DestructuringIteratorContext()
|
D | labelTarget.cpp | 22 LabelTarget::LabelTarget(PandaGen *pg) in LabelTarget()
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | lexenv.cpp | 35 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, binder::Variable *variable) in CheckConstAssignment() 46 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in ExpandLoadLexVar() 64 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResul… in ExpandLoadNormalVar() 76 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &r… in Expand() 87 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult … in ExpandStoreLexVar() 120 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResu… in ExpandStoreNormalVar() 158 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in Expand()
|
D | hoisting.cpp | 27 static void StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::D… in StoreModuleVarOrLocalVar() 39 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar() 63 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction() 87 static void HoistNameSpaceImports(PandaGen *pg) in HoistNameSpaceImports() 103 void Hoisting::Hoist(PandaGen *pg) in Hoist()
|
D | destructuring.cpp | 32 static void GenRestElement(PandaGen *pg, const ir::SpreadElement *restElement, in GenRestElement() 72 static void GenArray(PandaGen *pg, const ir::ArrayExpression *array) in GenArray() 126 static void GenObjectProperty(PandaGen *pg, const ir::ObjectExpression *object, in GenObjectProperty() 174 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest() 214 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject() 243 void Destructuring::Compile(PandaGen *pg, const ir::Expression *pattern) in Compile()
|
D | lreference.cpp | 37 LReference::LReference(const ir::AstNode *node, PandaGen *pg, bool isDeclaration, ReferenceKind ref… in LReference() 158 LReference LReference::CreateLRef(PandaGen *pg, const ir::AstNode *node, bool isDeclaration) in CreateLRef()
|
D | catchTable.cpp | 22 TryLabelSet::TryLabelSet(PandaGen *pg) in TryLabelSet()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
D | JSCompiler.cpp | 48 PandaGen *pg = GetPandaGen(); in Compile() local 60 static compiler::VReg CompileHeritageClause(compiler::PandaGen *pg, const ir::ClassDefinition *node) in CompileHeritageClause() 76 compiler::PandaGen *pg, util::BitSet &compiled, const ArenaVector<ir::AstNode *> &properties) in CreateClassStaticProperties() 186 static void CompileStaticFieldInitializers(compiler::PandaGen *pg, compiler::VReg classReg, in CompileStaticFieldInitializers() 251 static void CompileMissingProperties(compiler::PandaGen *pg, const util::BitSet &compiled, compiler… in CompileMissingProperties() 352 static void InitializeClassName(compiler::PandaGen *pg, const ir::ClassDefinition *node) in InitializeClassName() 364 PandaGen *pg = GetPandaGen(); in Compile() local 415 PandaGen *pg = GetPandaGen(); in Compile() local 562 PandaGen *pg = GetPandaGen(); in Compile() local 571 PandaGen *pg = GetPandaGen(); in Compile() local [all …]
|
D | moduleContext.cpp | 28 void CompileImports(PandaGen *pg, varbinder::ModuleScope *scope) in CompileImports() 51 void CompileExports(PandaGen *pg, const varbinder::ModuleScope *scope) in CompileExports() 81 void ModuleContext::Compile(PandaGen *pg, varbinder::ModuleScope *scope) in Compile()
|
D | function.cpp | 32 static void CompileSourceBlock(PandaGen *pg, const ir::BlockStatement *block) in CompileSourceBlock() 68 static void CompileFunctionParameterDeclaration(PandaGen *pg, const ir::ScriptFunction *func) in CompileFunctionParameterDeclaration() 128 void Function::LoadClassContexts(const ir::AstNode *node, PandaGen *pg, VReg ctor, const util::Stri… in LoadClassContexts() 146 void Function::CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields() 219 static void CompileFunction(PandaGen *pg) in CompileFunction() 251 void Function::Compile(PandaGen *pg) in Compile()
|
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() 90 explicit LoopEnvScope(PandaGen *pg, varbinder::LoopDeclarationScope *scope) in LoopEnvScope()
|
D | dynamicContext.cpp | 64 LexEnvContext::LexEnvContext(LoopEnvScope *envScope, PandaGen *pg, LabelTarget target) in LexEnvContext() 118 IteratorContext::IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target) in IteratorContext() 156 auto *pg = static_cast<PandaGen *>(Cg()); in InitFinalizer() local 164 auto *pg = static_cast<PandaGen *>(Cg()); in InitCatchTable() local 184 auto *pg = static_cast<PandaGen *>(Cg()); in EmitFinalizer() local
|
D | envScope.cpp | 33 void EnvScope::Initialize(PandaGen *pg, VReg lexEnv) in Initialize() 50 void LoopEnvScope::CopyBindings(PandaGen *pg, varbinder::VariableScope *scope, varbinder::VariableF… in CopyBindings()
|
D | regScope.cpp | 48 LocalRegScope::LocalRegScope(PandaGen *pg) : RegScope(pg) {} in LocalRegScope() 68 LocalRegScope::LocalRegScope(PandaGen *pg, varbinder::Scope *scope) : LocalRegScope(static_cast<Cod… in LocalRegScope() 119 FunctionRegScope::FunctionRegScope(PandaGen *pg) : RegScope(pg), envScope_(pg->Allocator()->New<Env… in FunctionRegScope()
|
/arkcompiler/ets_frontend/ets2panda/compiler/function/ |
D | asyncGeneratorFunctionBuilder.h | 28 …explicit AsyncGeneratorFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg,… in AsyncGeneratorFunctionBuilder()
|
D | asyncFunctionBuilder.h | 27 …explicit AsyncFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg, catchTab… in AsyncFunctionBuilder()
|
/arkcompiler/ets_frontend/es2panda/compiler/function/ |
D | asyncGeneratorFunctionBuilder.h | 28 …explicit AsyncGeneratorFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg,… in AsyncGeneratorFunctionBuilder()
|
D | asyncFunctionBuilder.h | 28 …explicit AsyncFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg, catchTab… in AsyncFunctionBuilder()
|