Home
last modified time | relevance | path

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

123

/arkcompiler/ets_frontend/ets2panda/compiler/core/
DJSCompiler.cpp37 PandaGen *pg = GetPandaGen(); in Compile() local
49 static compiler::VReg CompileHeritageClause(compiler::PandaGen *pg, const ir::ClassDefinition *node) in CompileHeritageClause()
110compiler::PandaGen *pg) in CreateClassStaticPropertiesBuf()
146 compiler::PandaGen *pg, util::BitSet &compiled, const ArenaVector<ir::AstNode *> &properties) in CreateClassStaticProperties()
207 static void CompileStaticFieldInitializers(compiler::PandaGen *pg, compiler::VReg classReg, in CompileStaticFieldInitializers()
273 … CompilePropertyKind(const ir::MethodDefinition *prop, compiler::VReg dest, compiler::PandaGen *pg, in CompilePropertyKind()
319 static void CompileMissingProperties(compiler::PandaGen *pg, const util::BitSet &compiled, compiler… in CompileMissingProperties()
379 static void InitializeClassName(compiler::PandaGen *pg, const ir::ClassDefinition *node) in InitializeClassName()
391 PandaGen *pg = GetPandaGen(); in Compile() local
428 PandaGen *pg = GetPandaGen(); in Compile() local
[all …]
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()
147 void Function::IterateOverElements(const ArenaVector<ir::AstNode *> &elements, PandaGen *pg, VReg &… in IterateOverElements()
198 void Function::CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl) in CompileInstanceFields()
226 static void CompileFunction(PandaGen *pg) in CompileFunction()
258 void Function::Compile(PandaGen *pg) in Compile()
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()
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()
DenvScope.cpp33 void EnvScope::Initialize(PandaGen *pg, VReg lexEnv) in Initialize()
50 void LoopEnvScope::CopyBindings(PandaGen *pg, varbinder::VariableScope *scope, varbinder::VariableF… in CopyBindings()
DdynamicContext.cpp64 LexEnvContext::LexEnvContext(LoopEnvScope *envScope, PandaGen *pg, LabelTarget target) in LexEnvContext()
119 IteratorContext::IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target) in IteratorContext()
157 auto *pg = static_cast<PandaGen *>(Cg()); in InitFinalizer() local
165 auto *pg = static_cast<PandaGen *>(Cg()); in InitCatchTable() local
185 auto *pg = static_cast<PandaGen *>(Cg()); in EmitFinalizer() local
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/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()
60 void Hoisting::Hoist(PandaGen *pg) in Hoist()
Ddestructuring.cpp31 static void GenRestElement(PandaGen *pg, const ir::SpreadElement *restElement, in GenRestElement()
71 …ic void GenElement(const ir::ArrayExpression *array, DestructuringIterator &iterator, PandaGen *pg) in GenElement()
114 static void GenArray(PandaGen *pg, const ir::ArrayExpression *array) in GenArray()
165 static void GenDefaultInitializer(PandaGen *pg, const ir::Expression *element, const ir::Expression… in GenDefaultInitializer()
189 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest()
232 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
275 void Destructuring::Compile(PandaGen *pg, const ir::Expression *pattern) in Compile()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dlexenv.cpp31 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, binder::Variable *variable) in CheckConstAssignment()
42 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in ExpandLoadLexVar()
70 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResul… in ExpandLoadNormalVar()
82 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &r… in Expand()
93 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult … in ExpandStoreLexVar()
121 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResu… in ExpandStoreNormalVar()
139 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in Expand()
Dhoisting.cpp23 static void StoreModuleVarOrLocalVar(PandaGen *pg, binder::ScopeFindResult &result, const binder::D… in StoreModuleVarOrLocalVar()
36 static void HoistVar(PandaGen *pg, binder::Variable *var, const binder::VarDecl *decl) in HoistVar()
61 static void HoistFunction(PandaGen *pg, binder::Variable *var, const binder::FunctionDecl *decl) in HoistFunction()
85 static void HoistNameSpaceImports(PandaGen *pg) in HoistNameSpaceImports()
101 void Hoisting::Hoist(PandaGen *pg) in Hoist()
Ddestructuring.cpp29 static void GenRestElement(PandaGen *pg, const ir::SpreadElement *restElement, in GenRestElement()
69 static void GenArray(PandaGen *pg, const ir::ArrayExpression *array) in GenArray()
123 static void GenObjectProperty(PandaGen *pg, const ir::ObjectExpression *object, in GenObjectProperty()
171 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest()
211 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
240 void Destructuring::Compile(PandaGen *pg, const ir::Expression *pattern) in Compile()
DcatchTable.cpp22 TryLabelSet::TryLabelSet(PandaGen *pg) in TryLabelSet()
Dlreference.cpp36 LReference::LReference(const ir::AstNode *node, PandaGen *pg, bool isDeclaration, ReferenceKind ref… in LReference()
157 LReference LReference::CreateLRef(PandaGen *pg, const ir::AstNode *node, bool isDeclaration) in CreateLRef()
/arkcompiler/ets_frontend/es2panda/compiler/core/
DregScope.cpp25 RegScope::RegScope(PandaGen *pg) : pg_(pg), regBase_(pg_->usedRegs_) {} in RegScope()
52 LocalRegScope::LocalRegScope(PandaGen *pg) : RegScope(pg) {} in LocalRegScope()
54 LocalRegScope::LocalRegScope(PandaGen *pg, binder::Scope *scope) : RegScope(pg) in LocalRegScope()
88 FunctionRegScope::FunctionRegScope(PandaGen *pg) : RegScope(pg), envScope_(pg->Allocator()->New<Env… in FunctionRegScope()
Dfunction.cpp41 static void CompileSourceBlock(PandaGen *pg, const ir::BlockStatement *block) in CompileSourceBlock()
67 static void CompileFunctionParameterDeclaration(PandaGen *pg, const ir::ScriptFunction *func) in CompileFunctionParameterDeclaration()
137 static void CompileField(PandaGen *pg, const ir::ClassProperty *prop, VReg thisReg, int32_t level) in CompileField()
167 static void CompileClassInitializer(PandaGen *pg, const ir::ScriptFunction *decl, bool isStatic) in CompileClassInitializer()
212 static void CompileFunction(PandaGen *pg) in CompileFunction()
264 static void CompileFunctionOrProgram(PandaGen *pg) in CompileFunctionOrProgram()
298 void Function::Compile(PandaGen *pg) in Compile()
DenvScope.cpp22 ScopeContext::ScopeContext(PandaGen *pg, binder::Scope *newScope) : pg_(pg), prevScope_(pg_->scope_) in ScopeContext()
32 void EnvScope::Initialize(PandaGen *pg) in Initialize()
48 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()
152 IteratorContext::IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target) in IteratorContext()
182 DestructuringIteratorContext::DestructuringIteratorContext(PandaGen *pg, const DestructuringIterato… in DestructuringIteratorContext()
DlabelTarget.cpp22 LabelTarget::LabelTarget(PandaGen *pg) in LabelTarget()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DasyncFunctionBuilder.h28 …explicit AsyncFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg, catchTab… in AsyncFunctionBuilder()
DasyncGeneratorFunctionBuilder.h28 …explicit AsyncGeneratorFunctionBuilder(PandaGen *pg, CatchTable *catchTable) : FunctionBuilder(pg,… in AsyncGeneratorFunctionBuilder()
/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()

123