Home
last modified time | relevance | path

Searched refs:PandaGen (Results 1 - 25 of 674) sorted by relevance

12345678910>>...27

/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A Dpandagen.cpp259 PandaGen::PandaGen(ArenaAllocator *const allocator, RegSpiller *const spiller, public_lib::Context *const context, in PandaGen() function in ark::es2panda::compiler::PandaGen
266 FunctionBuilder *PandaGen::FuncBuilder() const noexcept
271 EnvScope *PandaGen::GetEnvScope() const noexcept
276 void PandaGen::OptionalChainCheck(const bool optional, const VReg obj) const in OptionalChainCheck()
283 void PandaGen::FunctionInit(CatchTable *catchTable) in FunctionInit()
310 bool PandaGen::FunctionHasFinalizer() const in FunctionHasFinalizer()
321 void PandaGen::FunctionEnter() in FunctionEnter()
326 void PandaGen::FunctionExit() in FunctionExit()
331 void PandaGen
[all...]
H A Dfunction.h27 class PandaGen;
33 static void IterateOverElements(const ArenaVector<ir::AstNode *> &elements, PandaGen *pg, VReg &ctor, VReg &thisReg,
35 static void Compile(PandaGen *pg);
36 static void CompileInstanceFields(PandaGen *pg, const ir::ScriptFunction *decl);
38 static void LoadClassContexts(const ir::AstNode *node, PandaGen *pg, VReg ctor, const util::StringView &name);
H A DenvScope.h31 class PandaGen;
54 void Initialize(PandaGen *pg, VReg lexEnv);
67 friend class PandaGen;
70 PandaGen *pg_ {};
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()
115 void CopyBindings(PandaGen *pg, varbinder::VariableScope *scope, varbinder::VariableFlags flag);
H A DregScope.h28 class PandaGen;
52 explicit LocalRegScope(PandaGen *pg, varbinder::Scope *scope);
54 explicit LocalRegScope(PandaGen *pg);
68 explicit LoopRegScope(PandaGen *pg, varbinder::LoopScope *scope);
83 explicit FunctionRegScope(PandaGen *pg);
H A DJSCompiler.cpp29 PandaGen *JSCompiler::GetPandaGen() const in GetPandaGen()
31 return static_cast<PandaGen *>(GetCodeGen()); in GetPandaGen()
37 PandaGen *pg = GetPandaGen(); in Compile()
49 static compiler::VReg CompileHeritageClause(compiler::PandaGen *pg, const ir::ClassDefinition *node) in CompileHeritageClause()
110 compiler::PandaGen *pg) in CreateClassStaticPropertiesBuf()
126 compiler::PandaGen *pg, util::BitSet &compiled, const ArenaVector<ir::AstNode *> &properties) in CreateClassStaticProperties()
192 static void CompileStaticFieldInitializers(compiler::PandaGen *pg, compiler::VReg classReg, in CompileStaticFieldInitializers()
257 static void CompilePropertyKind(const ir::MethodDefinition *prop, compiler::VReg dest, compiler::PandaGen *pg, in CompilePropertyKind()
303 static void CompileMissingProperties(compiler::PandaGen *pg, const util::BitSet &compiled, compiler::VReg classReg, in CompileMissingProperties()
363 static void InitializeClassName(compiler::PandaGen *p
[all...]
H A DJSCompiler.h40 void CompileStaticProperties(compiler::PandaGen *pg, util::BitSet *compiled,
42 void CompileRemainingProperties(compiler::PandaGen *pg, const util::BitSet *compiled,
46 PandaGen *GetPandaGen() const;
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp51 // PandaGen
53 void PandaGen::SetFunctionKind() in SetFunctionKind()
110 void PandaGen::SetInSendable() in SetInSendable()
120 Label *PandaGen::AllocLabel() in AllocLabel()
126 bool PandaGen::IsDebug() const in IsDebug()
131 bool PandaGen::isDebuggerEvaluateExpressionMode() const in isDebuggerEvaluateExpressionMode()
136 std::string PandaGen::SourceFile() const in SourceFile()
141 uint32_t PandaGen::ParamCount() const in ParamCount()
150 uint32_t PandaGen::FormalParametersCount() const in FormalParametersCount()
161 uint32_t PandaGen
[all...]
H A DenvScope.h32 class PandaGen;
36 explicit ScopeContext(PandaGen *pg, binder::Scope *newScope);
43 PandaGen *pg_;
55 void Initialize(PandaGen *pg);
63 friend class PandaGen;
65 PandaGen *pg_ {};
71 explicit VariableEnvScope(PandaGen *pg, binder::VariableScope *scope, LabelTarget target) in VariableEnvScope()
91 bool InitVariableContext(PandaGen *pg, binder::VariableScope *scope);
99 explicit LoopEnvScope(PandaGen *pg, binder::LoopScope *scope, LabelTarget target) in LoopEnvScope()
104 explicit LoopEnvScope(PandaGen *p
[all...]
H A DregScope.h29 class PandaGen;
33 explicit RegScope(PandaGen *pg);
44 PandaGen *pg_;
51 explicit LocalRegScope(PandaGen *pg, binder::Scope *scope);
52 explicit LocalRegScope(PandaGen *pg);
66 explicit LoopRegScope(PandaGen *pg, binder::LoopScope *scope);
80 explicit FunctionRegScope(PandaGen *pg);
H A DdynamicContext.h31 class PandaGen;
78 explicit DynamicContext(PandaGen *pg, LabelTarget target);
80 PandaGen *pg_;
87 explicit LabelContext(PandaGen *pg, LabelTarget target) : DynamicContext(pg, target) {} in LabelContext()
88 explicit LabelContext(PandaGen *pg, const ir::LabelledStatement *labelledStmt);
105 explicit LexEnvContext(VariableEnvScope *envScope, PandaGen *pg, LabelTarget target);
126 explicit IteratorContext(PandaGen *pg, const Iterator &iterator, LabelTarget target);
156 explicit DestructuringIteratorContext(PandaGen *pg, const DestructuringIterator &iterator);
185 explicit TryContext(PandaGen *pg, const ir::TryStatement *tryStmt, bool hasFinalizer = true) in TryContext()
192 explicit TryContext(PandaGen *p
[all...]
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DclassDefinition.h27 class PandaGen;
252 void Compile(compiler::PandaGen *pg) const override;
258 compiler::VReg CompileHeritageClause(compiler::PandaGen *pg) const;
259 void InitializeClassName(compiler::PandaGen *pg) const;
260 int32_t CreateClassPublicBuffer(compiler::PandaGen *pg, util::BitSet &compiled, int32_t fieldTypeBufIdx = 0) const;
261 int32_t CreateClassPrivateBuffer(compiler::PandaGen *pg) const;
262 void CompileMissingProperties(compiler::PandaGen *pg, const util::BitSet &compiled, compiler::VReg classReg) const;
263 void StaticInitialize(compiler::PandaGen *pg, compiler::VReg classReg) const;
264 void InstanceInitialize(compiler::PandaGen *pg, compiler::VReg classReg) const;
265 void CompileComputedKeys(compiler::PandaGen *p
[all...]
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DtryStatement.h22 class PandaGen;
61 void Compile(compiler::PandaGen *pg) const override;
66 void CompileTryCatch(compiler::PandaGen *pg) const;
67 void CompileTryFinally(compiler::PandaGen *pg) const;
68 void CompileTryCatchFinally(compiler::PandaGen *pg) const;
69 void CompileFinally(compiler::PandaGen *pg, compiler::TryContext *tryCtx,
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DobjectExpression.h24 class PandaGen;
82 void Compile(compiler::PandaGen *pg) const override;
90 void EmitCreateObjectWithBuffer(compiler::PandaGen *pg, compiler::LiteralBuffer *buf, bool hasMethod) const;
91 void CompileStaticProperties(compiler::PandaGen *pg, util::BitSet *compiled) const;
92 void CompileRemainingProperties(compiler::PandaGen *pg, const util::BitSet *compiled, compiler::VReg objReg) const;
93 void CompilePropertyOfGetterOrSetter(compiler::PandaGen *pg, const ir::Property *prop,
95 void CompilePropertyWithInit(compiler::PandaGen *pg, const ir::Property *prop, compiler::VReg objReg) const;
H A DmemberExpression.h24 class PandaGen;
91 void Compile(compiler::PandaGen *pg) const override;
92 void Compile(compiler::PandaGen *pg, compiler::VReg objReg) const;
93 void CompileObject(compiler::PandaGen *pg, compiler::VReg dest) const;
94 compiler::Operand CompileKey(compiler::PandaGen *pg) const;
H A DcallExpression.h23 class PandaGen;
90 void Compile(compiler::PandaGen *pg) const override;
95 compiler::VReg CreateSpreadArguments(compiler::PandaGen *pg) const;
96 void CompileSuperCall(compiler::PandaGen *pg, bool containsSpread) const;
97 void CompileSuperCallWithSpreadArgs(compiler::PandaGen *pg) const;
H A DbinaryExpression.h23 class PandaGen;
88 void Compile(compiler::PandaGen *pg) const override;
89 void CompileLogical(compiler::PandaGen *pg) const;
94 void CompilePrivateIn(compiler::PandaGen *pg) const;
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dlreference.h39 class PandaGen;
43 LReference(const ir::AstNode *node, PandaGen *pg, bool isDeclaration, ReferenceKind refKind,
54 static LReference CreateLRef(PandaGen *pg, const ir::AstNode *node, bool isDeclaration);
58 PandaGen *pg_;
H A 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 &result) in ExpandLoadLexVar()
74 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result) in ExpandLoadNormalVar()
86 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result) in Expand()
97 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl) in ExpandStoreLexVar()
125 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result, in ExpandStoreNormalVar()
143 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl) in Expand()
H A Dlexenv.h24 class PandaGen;
30 static void Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result);
37 static void Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl);
H A DoptionalChain.h23 class PandaGen;
28 explicit OptionalChain(PandaGen *pg, const ir::AstNode *node);
39 PandaGen *pg_ {};
H A Diterators.h27 class PandaGen;
33 Iterator(PandaGen *pg, const ir::AstNode *node, IteratorType type);
68 PandaGen *pg_;
80 explicit DestructuringIterator(PandaGen *pg, const ir::AstNode *node);
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dlexenv.cpp32 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, varbinder::Variable *variable) in CheckConstAssignment()
43 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result) in ExpandLoadLexVar()
52 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result) in ExpandLoadNormalVar()
63 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result) 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::ConstScopeFindResult &result, in ExpandStoreLexVar()
109 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result, in ExpandStoreNormalVar()
127 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result, in Expand()
H A DoptionalChain.h23 class PandaGen;
28 explicit OptionalChain(PandaGen *pg, const ir::AstNode *node);
37 PandaGen *pg_ {};
H A Dlexenv.h23 class PandaGen;
29 static void Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result);
36 static void Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindResult &result,
H A Diterators.h26 class PandaGen;
32 Iterator(PandaGen *pg, const ir::AstNode *node, IteratorType type);
69 PandaGen *pg_;
80 explicit DestructuringIterator(PandaGen *pg, const ir::AstNode *node);

Completed in 12 milliseconds

12345678910>>...27