Home
last modified time | relevance | path

Searched defs:pg (Results 1 – 25 of 58) sorted by relevance

123

/arkcompiler/ets_frontend/ets2panda/compiler/base/
Dlexenv.cpp32 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()
Dhoisting.cpp23 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()
Ddestructuring.cpp31 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/
DregScope.cpp29 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()
Dfunction.cpp47 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()
DenvScope.cpp24 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()
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()
DdynamicContext.cpp26 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()
DlabelTarget.cpp22 LabelTarget::LabelTarget(PandaGen *pg) in LabelTarget()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dlexenv.cpp35 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()
Dhoisting.cpp27 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()
Ddestructuring.cpp32 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()
Dlreference.cpp37 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()
DcatchTable.cpp22 TryLabelSet::TryLabelSet(PandaGen *pg) in TryLabelSet()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DJSCompiler.cpp48 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 …]
DmoduleContext.cpp28 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()
Dfunction.cpp32 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()
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()
90 explicit LoopEnvScope(PandaGen *pg, varbinder::LoopDeclarationScope *scope) in LoopEnvScope()
DdynamicContext.cpp64 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
DenvScope.cpp33 void EnvScope::Initialize(PandaGen *pg, VReg lexEnv) in Initialize()
50 void LoopEnvScope::CopyBindings(PandaGen *pg, varbinder::VariableScope *scope, varbinder::VariableF… in CopyBindings()
DregScope.cpp48 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/
DasyncGeneratorFunctionBuilder.h28 …explicit AsyncGeneratorFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg,… in AsyncGeneratorFunctionBuilder()
DasyncFunctionBuilder.h27 …explicit AsyncFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg, catchTab… in AsyncFunctionBuilder()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DasyncGeneratorFunctionBuilder.h28 …explicit AsyncGeneratorFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg,… in AsyncGeneratorFunctionBuilder()
DasyncFunctionBuilder.h28 …explicit AsyncFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg, catchTab… in AsyncFunctionBuilder()

123