Home
last modified time | relevance | path

Searched full:arenavector (Results 1 – 25 of 632) sorted by relevance

12345678910>>...26

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/
DglobalClassHandler.h33 ArenaVector<ir::Statement *> statements;
43 …void SetupGlobalClass(const ArenaVector<parser::Program *> &programs, const ModuleDependencies *mo…
44 void static MergeNamespace(ArenaVector<ir::ETSModule *> &namespaces, parser::Program *program);
46 … const ArenaVector<ArenaVector<ir::Statement *>> &initializerBlocks);
54 void SetupGlobalMethods(parser::Program *program, ArenaVector<ir::Statement *> &&statements);
56 …void CollectProgramGlobalClasses(parser::Program *program, ArenaVector<ir::ETSModule *> namespaces…
61 const ArenaVector<Node *> &statements);
65 void SetupGlobalMethods(parser::Program *program, ArenaVector<ir::Statement *> &&initStatements,
67 …void SetupInitializerBlock(parser::Program *program, ArenaVector<ArenaVector<ir::Statement *>> &&i…
69ArenaVector<ir::ClassDeclaration *> TransformNamespaces(ArenaVector<ir::ETSModule *> &namespaces,
[all …]
/arkcompiler/ets_frontend/ets2panda/lsp/include/
Dget_adjusted_location.h34 … const ArenaVector<ir::AstNode *> &children,
37 … const ArenaVector<ir::AstNode *> &children);
39 … const ArenaVector<ir::AstNode *> &children);
44 … const ArenaVector<ir::AstNode *> &parentChildren);
46 … const ArenaVector<ir::AstNode *> &parentChildren);
48 const ArenaVector<ir::AstNode *> &parentChildren);
50 … const ArenaVector<ir::AstNode *> &parentChildren,
55 … const ArenaVector<ir::AstNode *> &parentChildren);
57 … const ArenaVector<ir::AstNode *> &parentChildren,
60 … const ArenaVector<ir::AstNode *> &parentChildren, bool forRename,
[all …]
/arkcompiler/ets_frontend/es2panda/ir/base/
DmethodDefinition.h39 ArenaVector<Decorator *> decorators;
45 … ModifierFlags modifiers, ArenaAllocator *allocator, ArenaVector<Decorator *> &&decorators, in MethodDefinition()
46ArenaVector<Annotation *> &&annotations, ArenaVector<ParamDecorators> &&paramDecorators, in MethodDefinition()
121 const ArenaVector<MethodDefinition *> &Overloads() const in Overloads()
126 const ArenaVector<Decorator *> &Decorators() const in Decorators()
131 const ArenaVector<Annotation *> &Annotations() const in Annotations()
136 void SetAnnotations(ArenaVector<Annotation *> &&annotations) in SetAnnotations()
141 const ArenaVector<ParamDecorators> &GetParamDecorators() const in GetParamDecorators()
156 void SetOverloads(ArenaVector<MethodDefinition *> &&overloads) in SetOverloads()
192 ArenaVector<MethodDefinition *> overloads_;
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DinterfaceType.h37 ArenaVector<ObjectType *> &Bases() in Bases()
90 ArenaVector<Signature *> CallSignatures() override in CallSignatures()
92 ArenaVector<Signature *> signatures(allocator_->Adapter()); in CallSignatures()
97 ArenaVector<Signature *> ConstructSignatures() override in ConstructSignatures()
99 ArenaVector<Signature *> signatures(allocator_->Adapter()); in ConstructSignatures()
124 ArenaVector<varbinder::LocalVariable *> Properties() override in Properties()
126 ArenaVector<varbinder::LocalVariable *> properties(allocator_->Adapter()); in Properties()
134 …bool CheckVarType(TypeRelation *relation, const ArenaVector<varbinder::LocalVariable *> &targetPro…
135 const ArenaVector<varbinder::LocalVariable *> &sourceProperties);
139 …void CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCallSignatures) …
[all …]
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparser.h36 ArenaVector<ir::ImportSpecifier *> result;
37 ArenaVector<ir::ImportDefaultSpecifier *> resultDefault;
38 ArenaVector<ir::ExportSpecifier *> resultExportDefault;
70 …void AddDirectImportsToDirectExternalSources(const ArenaVector<util::StringView> &directImportsFro…
73ArenaVector<ir::ETSImportDeclaration *> ParseDefaultSources(std::string_view srcFile, std::string_…
99 …ir::Expression *CreateFormattedExpression(std::string_view const sourceCode, ArenaVector<ir::Expre…
101 ArenaVector<ir::Statement *> CreateStatements(std::string_view sourceCode);
102 ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view sourceCode,
105 ArenaVector<ir::AnnotationUsage *> ParseAnnotations(bool isTopLevelSt);
110 const ArenaVector<ir::AstNode *> &properties,
[all …]
DTypedParser.h35 void ParseDecorators(ArenaVector<ir::Decorator *> &decorators);
40 ArenaVector<ir::AstNode *> ParseTypeLiteralOrInterface();
41 ArenaVector<ir::AstNode *> ParseTypeLiteralOrInterfaceBody();
42 …void CheckObjectTypeForDuplicatedProperties(ir::Expression *key, ArenaVector<ir::AstNode *> &membe…
69 …ir::AstNode *ParseClassElement(const ArenaVector<ir::AstNode *> &properties, ir::ClassDefinitionMo…
72 …static bool CheckClassElementInterfaceBody(ir::AstNode *property, ArenaVector<ir::AstNode *> &prop…
74 ArenaVector<ir::AstNode *> &properties) override;
86 virtual ArenaVector<ir::TSClassImplements *> ParseClassImplementClause();
92 virtual ArenaVector<ir::TSInterfaceHeritage *> ParseInterfaceExtendsClause();
142 [[maybe_unused]] ArenaVector<ir::Decorator *> &decorators) in AddDecorators()
[all …]
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeAliasDeclaration.h70 const ArenaVector<Decorator *> &Decorators() const in Decorators()
75 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr()
85 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators()
95 void SetTypeParameterTypes(ArenaVector<checker::Type *> &&typeParamTypes) in SetTypeParameterTypes()
100 ArenaVector<checker::Type *> const &TypeParameterTypes() const in TypeParameterTypes()
105 [[nodiscard]] ArenaVector<ir::AnnotationUsage *> &Annotations() noexcept in Annotations()
110 [[nodiscard]] const ArenaVector<ir::AnnotationUsage *> &Annotations() const noexcept in Annotations()
115 void SetAnnotations(ArenaVector<ir::AnnotationUsage *> &&annotations) in SetAnnotations()
149 ArenaVector<Decorator *> decorators_;
150 ArenaVector<AnnotationUsage *> annotations_;
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
DinterfaceType.h38 ArenaVector<ObjectType *> &Bases() in Bases()
90 ArenaVector<Signature *> CallSignatures() override in CallSignatures()
92 ArenaVector<Signature *> signatures(allocator_->Adapter()); in CallSignatures()
97 ArenaVector<Signature *> ConstructSignatures() override in ConstructSignatures()
99 ArenaVector<Signature *> signatures(allocator_->Adapter()); in ConstructSignatures()
124 ArenaVector<binder::LocalVariable *> Properties() override in Properties()
126 ArenaVector<binder::LocalVariable *> properties(allocator_->Adapter()); in Properties()
136 …void CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCallSignatures) …
137 void CollectProperties(ArenaVector<binder::LocalVariable *> *collectedPropeties) const;
143 ArenaVector<ObjectType *> bases_;
/arkcompiler/ets_frontend/ets2panda/checker/
DETSchecker.h66 …ArenaUnorderedMap<ETSObjectType *, std::pair<ArenaVector<ETSFunctionType *>, ArenaUnorderedSet<ETS…
74 using DynamicCallNamesMap = ArenaMap<const ArenaVector<util::StringView>, uint32_t>;
75 using ConstraintCheckRecord = std::tuple<const ArenaVector<Type *> *, const Substitution *, lexer::…
180 void CheckObjectLiteralKeys(const ArenaVector<ir::Expression *> &properties);
185 ArenaVector<ETSObjectType *> GetInterfaces(ETSObjectType *type);
199 void GetInterfacesOfClass(ETSObjectType *type, ArenaVector<ETSObjectType *> &interfaces);
201 …void CheckFunctionRedeclarationInInterface(ETSObjectType *classType, ArenaVector<Signature *> &sim…
203 …void ValidateAbstractMethodsToBeImplemented(ArenaVector<ETSFunctionType *> &abstractsToBeImplement…
206 void ApplyModifiersAndRemoveImplementedAbstracts(ArenaVector<ETSFunctionType *>::iterator &it,
207ArenaVector<ETSFunctionType *> &abstractsToBeImplemented,
[all …]
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DtemplateLiteral.h35 …explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expr… in TemplateLiteral()
40 const ArenaVector<TemplateElement *> &Quasis() const in Quasis()
45 const ArenaVector<Expression *> &Expressions() const in Expressions()
57 ArenaVector<TemplateElement *> quasis_;
58 ArenaVector<Expression *> expressions_;
/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dloop_analyzer.h95 const ArenaVector<BasicBlock *> &GetBackEdges() const in GetBackEdges()
108 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks()
112 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks()
120 ArenaVector<Loop *> &GetInnerLoops() in GetInnerLoops()
124 const ArenaVector<Loop *> &GetInnerLoops() const in GetInnerLoops()
175 static inline bool IsEqualBlocks(const ArenaVector<T> &blocks, const ArenaVector<T> &others) in IsEqualBlocks()
183 ArenaVector<BasicBlock *> back_edges_;
184 ArenaVector<BasicBlock *> blocks_;
185 ArenaVector<Loop *> inner_loops_;
215 …void MovePhiInputsToPreHeader(BasicBlock *header, BasicBlock *pre_header, const ArenaVector<int> &…
[all …]
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DarrayExpression.h42 explicit ArrayExpression(ArenaVector<Expression *> &&elements, ArenaAllocator *const allocator) in ArrayExpression()
47 explicit ArrayExpression(AstNodeType nodeType, ArenaVector<Expression *> &&elements, in ArrayExpression()
67 [[nodiscard]] const ArenaVector<Expression *> &Elements() const noexcept in Elements()
72 [[nodiscard]] ArenaVector<Expression *> &Elements() noexcept in Elements()
77 void SetElements(ArenaVector<Expression *> &&elements) noexcept in SetElements()
117 [[nodiscard]] const ArenaVector<Decorator *> &Decorators() const noexcept in Decorators()
122 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr()
127 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators()
171 ArenaVector<Decorator *> decorators_;
172 ArenaVector<Expression *> elements_;
DtemplateLiteral.h34 …explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expr… in TemplateLiteral()
45 [[nodiscard]] const ArenaVector<TemplateElement *> &Quasis() const noexcept in Quasis()
50 [[nodiscard]] const ArenaVector<Expression *> &Expressions() const noexcept in Expressions()
73 ArenaVector<TemplateElement *> quasis_;
74 ArenaVector<Expression *> expressions_;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dspill_fills_resolver.h67 const ArenaVector<BasicBlock *> &GetBlocksToVisit() const override;
81 bool NeedToResolve(const ArenaVector<SpillFillData> &spillFills);
87 …void AddMovesChain(LocationIndex dst, ArenaVector<LocationIndex> *remap, SpillFillInst *spillFillI…
128 ArenaVector<MoveInfo> movesTable_;
129 ArenaVector<uint8_t> loadsCount_;
131 ArenaVector<SpillFillData> preMoves_;
133 ArenaVector<SpillFillData> postMoves_;
140 ArenaVector<bool> regWrite_;
141 ArenaVector<bool> stackWrite_;
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dspill_fills_resolver.h66 const ArenaVector<BasicBlock *> &GetBlocksToVisit() const override;
80 bool NeedToResolve(const ArenaVector<SpillFillData> &spill_fills);
86 …void AddMovesChain(LocationIndex dst, ArenaVector<LocationIndex> *remap, SpillFillInst *spill_fill…
127 ArenaVector<MoveInfo> moves_table_;
128 ArenaVector<uint8_t> loads_count_;
130 ArenaVector<SpillFillData> pre_moves_;
132 ArenaVector<SpillFillData> post_moves_;
139 ArenaVector<bool> reg_write_;
140 ArenaVector<bool> stack_write_;
/arkcompiler/ets_frontend/ets2panda/ir/module/
DexportNamedDeclaration.h28 ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration()
37 ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration()
63 const ArenaVector<ExportSpecifier *> &Specifiers() const in Specifiers()
68 void ReplaceSpecifiers(ArenaVector<ExportSpecifier *> &specifiers) in ReplaceSpecifiers()
73 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators()
98 ArenaVector<Decorator *> decorators_;
101 ArenaVector<ExportSpecifier *> specifiers_;
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsUnionType.h28 explicit ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes);
30 [[nodiscard]] const ArenaVector<Type *> &ConstituentTypes() const noexcept in ConstituentTypes()
59 static void NormalizeTypes(TypeRelation *relation, ArenaVector<Type *> &types);
61 …static ArenaVector<Type *> GetNonConstantTypes(ETSChecker *checker, const ArenaVector<Type *> &typ…
91 static void LinearizeAndEraseIdentical(TypeRelation *relation, ArenaVector<Type *> &types);
93 ArenaVector<Type *> &unionTypes) noexcept;
95 ArenaVector<Type *> &unionTypes) noexcept;
105 ArenaVector<Type *> const constituentTypes_;
DetsFunctionType.h31 …explicit ETSFunctionType(ETSChecker *checker, util::StringView name, ArenaVector<Signature *> &&si…
33 [[nodiscard]] ArenaVector<Signature *> &CallSignatures() in CallSignatures()
39 [[nodiscard]] const ArenaVector<Signature *> &CallSignatures() const in CallSignatures()
46 [[nodiscard]] ArenaVector<Signature *> &CallSignaturesOfMethodOrArrow() in CallSignaturesOfMethodOrArrow()
82 [[nodiscard]] ArenaVector<Signature *> &GetExtensionAccessorSigs() in GetExtensionAccessorSigs()
88 [[nodiscard]] ArenaVector<Signature *> &GetExtensionFunctionSigs() in GetExtensionFunctionSigs()
163 ArenaVector<Signature *> callSignatures_;
164 ArenaVector<Signature *> extensionFunctionSigs_;
165 ArenaVector<Signature *> extensionAccessorSigs_;
/arkcompiler/ets_frontend/ets2panda/ir/statements/
DvariableDeclaration.h37 ArenaVector<VariableDeclarator *> &&declarators) in VariableDeclaration()
47 const ArenaVector<VariableDeclarator *> &Declarators() const in Declarators()
57 const ArenaVector<Decorator *> &Decorators() const in Decorators()
72 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr()
77 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators()
109 ArenaVector<Decorator *> decorators_;
110 ArenaVector<VariableDeclarator *> declarators_;
DtryStatement.h43 …explicit TryStatement(BlockStatement *block, ArenaVector<CatchClause *> &&catchClauses, BlockState… in TryStatement()
44ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions) in TryStatement()
54 …explicit TryStatement(BlockStatement *block, ArenaVector<CatchClause *> &&catchClauses, BlockState… in TryStatement()
55 ArenaVector<compiler::LabelPair> finalizerInsertionsLabelPair, in TryStatement()
56 ArenaVector<Statement *> finalizerInsertionsStatement) in TryStatement()
101 const ArenaVector<CatchClause *> &CatchClauses() const in CatchClauses()
135 ArenaVector<CatchClause *> catchClauses_;
137 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
/arkcompiler/ets_frontend/ets2panda/ir/
DannotationAllowed.h34 [[nodiscard]] ArenaVector<ir::AnnotationUsage *> &Annotations() noexcept in Annotations()
39 [[nodiscard]] const ArenaVector<ir::AnnotationUsage *> &Annotations() const noexcept in Annotations()
44 void SetAnnotations(ArenaVector<ir::AnnotationUsage *> &&annotations) in SetAnnotations()
57 explicit AnnotationAllowed(AstNodeType const type, ArenaVector<AnnotationUsage *> &&annotations) in AnnotationAllowed()
62 ArenaVector<AnnotationUsage *> &&annotations) in AnnotationAllowed()
80 …explicit AnnotationAllowed(ArenaAllocator *const allocator, ArenaVector<Statement *> &&statementLi… in AnnotationAllowed()
104 ArenaVector<AnnotationUsage *> annotations_;
DjsDocAllowed.h46 [[nodiscard]] ArenaVector<JsDocInfo> &JsDocInformation() noexcept in JsDocInformation()
51 [[nodiscard]] const ArenaVector<JsDocInfo> &JsDocInformation() const noexcept in JsDocInformation()
56 void SetJsDocInformation(ArenaVector<JsDocInfo> &&jsDocInformation) in SetJsDocInformation()
68 ArenaVector<AnnotationUsage *> &&annotations) in JsDocAllowed()
74ArenaVector<AnnotationUsage *> &&annotations, ArenaVector<JsDocInfo> &&jsDocInformation) in JsDocAllowed()
106 explicit JsDocAllowed(ArenaAllocator *allocator, ArenaVector<Statement *> &&statements) in JsDocAllowed()
130 ArenaVector<JsDocInfo> jsDocInformation_;
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h147 …explicit ArrowFunctionDescriptor(ArenaVector<ir::Expression *> &&p, binder::FunctionParamScope *ps, in ArrowFunctionDescriptor()
153 ArenaVector<ir::Expression *> params;
241 void AddCommonjsParams(ArenaVector<ir::Expression *> &params); in DEFINE_BITOPS()
242 void AddReflectApplyArgs(ArenaVector<ir::Expression *> &args, ir::FunctionExpression *wrapper); in DEFINE_BITOPS()
244 bool CheckTopStatementsForRequiredDeclare(const ArenaVector<ir::Statement *> &statements); in DEFINE_BITOPS()
277 ArenaVector<ir::Expression *> ParseTsTypeLiteralOrInterface(); in DEFINE_BITOPS()
303 …void ValidateClassSetter(ClassElmentDescriptor *desc, const ArenaVector<ir::Statement *> &properti… in DEFINE_BITOPS()
306 …void ValidateClassGetter(ClassElmentDescriptor *desc, const ArenaVector<ir::Statement *> &properti… in DEFINE_BITOPS()
311 …ir::MethodDefinition *ParseClassMethod(ClassElmentDescriptor *desc, const ArenaVector<ir::Statemen… in DEFINE_BITOPS()
313 ArenaVector<ir::Decorator *> &&decorators, in DEFINE_BITOPS()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dloop_analyzer.h89 const ArenaVector<BasicBlock *> &GetBackEdges() const in GetBackEdges()
102 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks()
106 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks()
114 ArenaVector<Loop *> &GetInnerLoops() in GetInnerLoops()
118 const ArenaVector<Loop *> &GetInnerLoops() const in GetInnerLoops()
209 static inline bool IsEqualBlocks(const ArenaVector<T> &blocks, const ArenaVector<T> &others) in IsEqualBlocks()
217 ArenaVector<BasicBlock *> backEdges_;
218 ArenaVector<BasicBlock *> blocks_;
219 ArenaVector<Loop *> innerLoops_;
252 …void MovePhiInputsToPreHeader(BasicBlock *header, BasicBlock *preHeader, const ArenaVector<int> &f…
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DrestTupleLowering.cpp95 ArenaVector<ir::TypeNode *> selfParams(allocator->Adapter()); in CreateTypeParameterInstantiation()
119 ArenaVector<ir::Expression *> callArguments({}, allocator->Adapter()); in CreateNewCallExpression()
154 ArenaVector<ir::Expression *> CreateFunctionRestParams(public_lib::Context *ctx, ir::AstNode *funcE… in CreateFunctionRestParams()
158 ArenaVector<ir::Expression *> params {allocator->Adapter()}; in CreateFunctionRestParams()
174 ArenaVector<ir::Expression *> CreateFunctionNormalParams(public_lib::Context *ctx, ir::AstNode *fun… in CreateFunctionNormalParams()
178 ArenaVector<ir::Expression *> params {allocator->Adapter()}; in CreateFunctionNormalParams()
188 ArenaVector<ir::Expression *> MergeParams(public_lib::Context *ctx, in MergeParams()
189 const ArenaVector<ir::Expression *> &newNormalParams, in MergeParams()
190 const ArenaVector<ir::Expression *> &newRestParams) in MergeParams()
194 ArenaVector<ir::Expression *> params {allocator->Adapter()}; in MergeParams()
[all …]

12345678910>>...26