| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | methodDefinition.h | 39 ArenaVector<Decorator *> decorators; 45 … ModifierFlags modifiers, ArenaAllocator *allocator, ArenaVector<Decorator *> &&decorators, in MethodDefinition() 46 … ArenaVector<Annotation *> &&annotations, ArenaVector<ParamDecorators> &¶mDecorators, 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 …]
|
| D | classDefinition.h | 65 ArenaVector<TSClassImplements *> &&implements, MethodDefinition *ctor, in ClassDefinition() 67 Expression *superClass, ArenaVector<Statement *> &&body, in ClassDefinition() 68 … ArenaVector<TSIndexSignature *> &&indexSignatures, bool declare, bool abstract) in ClassDefinition() 128 ArenaVector<Statement *> &Body() in Body() 133 const ArenaVector<Statement *> &Body() const in Body() 153 ArenaVector<TSClassImplements *> &Implements() in Implements() 158 const ArenaVector<TSClassImplements *> &Implements() const in Implements() 163 ArenaVector<TSIndexSignature *> &IndexSignatures() in IndexSignatures() 168 const ArenaVector<TSIndexSignature *> &IndexSignatures() const in IndexSignatures() 296 ArenaVector<TSClassImplements *> implements_; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
| D | interfaceType.h | 37 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/es2panda/typescript/types/ |
| D | interfaceType.h | 38 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/compiler/lowering/ets/ |
| D | defaultParameterLowering.h | 27 …ir::FunctionSignature CreateFunctionSignature(ir::MethodDefinition *method, ArenaVector<ir::Expres… 32 ArenaVector<ir::Expression *> funcCallArgs); 34 … ArenaVector<ir::Expression *> funcDefinitionArgs, 35 ArenaVector<ir::Expression *> funcCallArgs); 36 …void CreateOverloadFunction(ir::MethodDefinition *method, ArenaVector<ir::Expression *> funcCallAr… 37 … ArenaVector<ir::Expression *> funcDefinitionArgs, public_lib::Context *ctx); 38 void RemoveInitializers(ArenaVector<ir::Expression *> params);
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
| D | globalClassHandler.h | 31 ArenaVector<ir::Statement *> statements; 41 …void SetupGlobalClass(const ArenaVector<parser::Program *> &programs, const ModuleDependencies *mo… 49 void SetupGlobalMethods(parser::Program *program, ArenaVector<ir::Statement *> &&statements, 54 …ir::MethodDefinition *CreateGlobalMethod(const std::string_view name, ArenaVector<ir::Statement *>… 57 ArenaVector<ir::Statement *> FormInitMethodStatements(parser::Program *program, 59 … ArenaVector<GlobalStmts> &&initStatements); 61 void FormDependentInitTriggers(ArenaVector<ir::Statement *> &statements, 71 …ArenaVector<ir::Statement *> CollectProgramGlobalStatements(parser::Program *program, ir::ClassDef…
|
| /arkcompiler/runtime_core/compiler/optimizer/analysis/ |
| D | loop_analyzer.h | 95 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/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | loop_analyzer.h | 89 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() 181 static inline bool IsEqualBlocks(const ArenaVector<T> &blocks, const ArenaVector<T> &others) in IsEqualBlocks() 189 ArenaVector<BasicBlock *> backEdges_; 190 ArenaVector<BasicBlock *> blocks_; 191 ArenaVector<Loop *> innerLoops_; 222 …void MovePhiInputsToPreHeader(BasicBlock *header, BasicBlock *preHeader, const ArenaVector<int> &f… [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsUnionType.h | 28 explicit ETSUnionType(ETSChecker *checker, ArenaVector<Type *> &&constituentTypes); 30 [[nodiscard]] const ArenaVector<Type *> &ConstituentTypes() const noexcept in ConstituentTypes() 60 static void NormalizeTypes(TypeRelation *relation, ArenaVector<Type *> &types); 61 static void ReduceSubtypes(TypeRelation *relation, ArenaVector<Type *> &types); 63 …static ArenaVector<Type *> GetNonConstantTypes(ETSChecker *checker, const ArenaVector<Type *> &typ… 90 static void LinearizeAndEraseIdentical(TypeRelation *relation, ArenaVector<Type *> &types); 92 ArenaVector<Type *> &unionTypes) noexcept; 94 ArenaVector<Type *> &unionTypes) noexcept; 104 ArenaVector<Type *> const constituentTypes_;
|
| /arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
| D | arrayExpression.h | 42 explicit ArrayExpression(ArenaVector<Expression *> &&elements, ArenaAllocator *const allocator) in ArrayExpression() 47 explicit ArrayExpression(AstNodeType nodeType, ArenaVector<Expression *> &&elements, in ArrayExpression() 62 [[nodiscard]] const ArenaVector<Expression *> &Elements() const noexcept in Elements() 67 [[nodiscard]] ArenaVector<Expression *> &Elements() noexcept in Elements() 72 void SetElements(ArenaVector<Expression *> &&elements) noexcept in SetElements() 112 [[nodiscard]] const ArenaVector<Decorator *> &Decorators() const noexcept in Decorators() 117 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr() 122 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 157 ArenaVector<Decorator *> decorators_; 158 ArenaVector<Expression *> elements_;
|
| D | templateLiteral.h | 34 …explicit TemplateLiteral(ArenaVector<TemplateElement *> &&quasis, ArenaVector<Expression *> &&expr… in TemplateLiteral() 41 [[nodiscard]] const ArenaVector<TemplateElement *> &Quasis() const noexcept in Quasis() 46 [[nodiscard]] const ArenaVector<Expression *> &Expressions() const noexcept in Expressions() 68 ArenaVector<TemplateElement *> quasis_; 69 ArenaVector<Expression *> expressions_;
|
| /arkcompiler/ets_frontend/ets2panda/ir/statements/ |
| D | variableDeclaration.h | 32 ArenaVector<VariableDeclarator *> &&declarators) in VariableDeclaration() 42 const ArenaVector<VariableDeclarator *> &Declarators() const in Declarators() 52 const ArenaVector<Decorator *> &Decorators() const in Decorators() 57 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr() 62 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 90 ArenaVector<Decorator *> decorators_; 91 ArenaVector<VariableDeclarator *> declarators_;
|
| D | functionDeclaration.h | 29 … ArenaVector<AnnotationUsage *> &&annotations, bool isAnonymous = false) 62 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 72 [[nodiscard]] ArenaVector<ir::AnnotationUsage *> &Annotations() noexcept in Annotations() 77 [[nodiscard]] const ArenaVector<ir::AnnotationUsage *> &Annotations() const noexcept in Annotations() 82 void SetAnnotations(ArenaVector<ir::AnnotationUsage *> &&annotations) in SetAnnotations() 110 ArenaVector<Decorator *> decorators_; 113 ArenaVector<AnnotationUsage *> annotations_;
|
| D | tryStatement.h | 43 …explicit TryStatement(BlockStatement *block, ArenaVector<CatchClause *> &&catchClauses, BlockState… in TryStatement() 44 … ArenaVector<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() 100 const ArenaVector<CatchClause *> &CatchClauses() const in CatchClauses() 132 ArenaVector<CatchClause *> catchClauses_; 134 ArenaVector<std::pair<compiler::LabelPair, const Statement *>> finalizerInsertions_;
|
| /arkcompiler/ets_frontend/es2panda/ir/expressions/ |
| D | templateLiteral.h | 35 …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/optimizations/regalloc/ |
| D | spill_fills_resolver.h | 66 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/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
| D | spill_fills_resolver.h | 67 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/ets_frontend/ets2panda/checker/ |
| D | ETSchecker.h | 56 …ArenaUnorderedMap<ETSObjectType *, std::pair<ArenaVector<ETSFunctionType *>, ArenaUnorderedSet<ETS… 64 using DynamicCallNamesMap = ArenaMap<const ArenaVector<util::StringView>, uint32_t>; 65 using ConstraintCheckRecord = std::tuple<const ArenaVector<Type *> *, const Substitution *, lexer::… 168 ArenaVector<ETSObjectType *> GetInterfaces(ETSObjectType *type); 181 …void CheckFunctionRedeclarationInInterface(ETSObjectType *classType, ArenaVector<Signature *> &sim… 183 …void ValidateAbstractMethodsToBeImplemented(ArenaVector<ETSFunctionType *> &abstractsToBeImplement… 186 void ApplyModifiersAndRemoveImplementedAbstracts(ArenaVector<ETSFunctionType *>::iterator &it, 187 … ArenaVector<ETSFunctionType *> &abstractsToBeImplemented, 190 void ValidateAbstractSignature(ArenaVector<ETSFunctionType *>::iterator &it, 191 ArenaVector<ETSFunctionType *> &abstractsToBeImplemented, [all …]
|
| /arkcompiler/ets_frontend/es2panda/parser/ |
| D | parserImpl.h | 147 …explicit ArrowFunctionDescriptor(ArenaVector<ir::Expression *> &&p, binder::FunctionParamScope *ps, in ArrowFunctionDescriptor() 153 ArenaVector<ir::Expression *> params; 241 void AddCommonjsParams(ArenaVector<ir::Expression *> ¶ms); 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/ets_frontend/ets2panda/ir/ts/ |
| D | tsTypeAliasDeclaration.h | 66 const ArenaVector<Decorator *> &Decorators() const in Decorators() 71 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr() 81 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 91 void SetTypeParameterTypes(ArenaVector<checker::Type *> &&typeParamTypes) in SetTypeParameterTypes() 96 ArenaVector<checker::Type *> const &TypeParameterTypes() const in TypeParameterTypes() 116 ArenaVector<Decorator *> decorators_; 119 ArenaVector<checker::Type *> typeParamTypes_;
|
| D | tsInterfaceDeclaration.h | 45 …explicit TSInterfaceDeclaration(ArenaAllocator *allocator, ArenaVector<TSInterfaceHeritage *> &&ex… in TSInterfaceDeclaration() 133 ArenaVector<TSInterfaceHeritage *> &Extends() in Extends() 138 const ArenaVector<TSInterfaceHeritage *> &Extends() const in Extends() 143 const ArenaVector<Decorator *> &Decorators() const in Decorators() 148 const ArenaVector<Decorator *> *DecoratorsPtr() const override in DecoratorsPtr() 153 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 200 ArenaVector<Decorator *> decorators_; 205 ArenaVector<TSInterfaceHeritage *> extends_;
|
| D | tsInterfaceBody.h | 30 explicit TSInterfaceBody(ArenaVector<AstNode *> &&body) in TSInterfaceBody() 35 [[nodiscard]] ArenaVector<AstNode *> *BodyPtr() in BodyPtr() 40 [[nodiscard]] ArenaVector<AstNode *> &Body() noexcept in Body() 45 [[nodiscard]] ArenaVector<AstNode *> const &Body() const noexcept in Body() 65 ArenaVector<AstNode *> body_;
|
| /arkcompiler/ets_frontend/ets2panda/ir/module/ |
| D | exportNamedDeclaration.h | 28 ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration() 37 ArenaVector<ExportSpecifier *> &&specifiers) in ExportNamedDeclaration() 63 const ArenaVector<ExportSpecifier *> &Specifiers() const in Specifiers() 68 void AddDecorators([[maybe_unused]] ArenaVector<ir::Decorator *> &&decorators) override in AddDecorators() 93 ArenaVector<Decorator *> decorators_; 96 ArenaVector<ExportSpecifier *> specifiers_;
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | TypedParser.h | 34 void ParseDecorators(ArenaVector<ir::Decorator *> &decorators); 39 ArenaVector<ir::AstNode *> ParseTypeLiteralOrInterface(); 40 ArenaVector<ir::AstNode *> ParseTypeLiteralOrInterfaceBody(); 41 …void CheckObjectTypeForDuplicatedProperties(ir::Expression *key, ArenaVector<ir::AstNode *> &membe… 68 …ir::AstNode *ParseClassElement(const ArenaVector<ir::AstNode *> &properties, ir::ClassDefinitionMo… 71 …static bool CheckClassElementInterfaceBody(ir::AstNode *property, ArenaVector<ir::AstNode *> &prop… 73 ArenaVector<ir::AstNode *> &properties) override; 81 virtual ArenaVector<ir::TSClassImplements *> ParseClassImplementClause(); 86 virtual ArenaVector<ir::TSInterfaceHeritage *> ParseInterfaceExtendsClause(); 136 [[maybe_unused]] ArenaVector<ir::Decorator *> &decorators) in AddDecorators() [all …]
|
| D | ETSparser.h | 45 …void AddDirectImportsToDirectExternalSources(const ArenaVector<util::StringView> &directImportsFro… 47 …ArenaVector<ir::ETSImportDeclaration *> ParseDefaultSources(std::string_view srcFile, std::string_… 86 } else if constexpr (std::is_same_v<std::decay_t<T>, ArenaVector<ir::AstNode *>>) { in ProcessFormattedArg() 88 } else if constexpr (std::is_same_v<std::decay_t<T>, ArenaVector<ir::Expression *>>) { in ProcessFormattedArg() 90 } else if constexpr (std::is_same_v<std::decay_t<T>, ArenaVector<ir::Statement *>>) { in ProcessFormattedArg() 92 } else if constexpr (std::is_same_v<std::decay_t<T>, ArenaVector<checker::Type *>>) { in ProcessFormattedArg() 126 ArenaVector<ir::Statement *> CreateStatements(std::string_view sourceCode); 128 ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view sourceCode, 132 …ArenaVector<ir::Statement *> CreateFormattedStatements(std::string_view const sourceCode, Args &&.… in CreateFormattedStatements() 140 …ArenaVector<ir::AnnotationUsage *> ParseAnnotations(ir::ModifierFlags &flags, bool isTopLevelSt = … [all …]
|