| /arkcompiler/ets_frontend/ets2panda/ir/ |
| D | jsDocAllowed.h | 62 explicit JsDocAllowed(Expression const &other, ArenaAllocator *allocator) in JsDocAllowed() 67 explicit JsDocAllowed(ArenaAllocator *const allocator, AstNodeType const type, in JsDocAllowed() 79 explicit JsDocAllowed(AstNodeType const type, ArenaAllocator *const allocator) in JsDocAllowed() 84 …it JsDocAllowed(AstNodeType const type, ModifierFlags const flags, ArenaAllocator *const allocator) in JsDocAllowed() 90 … ModifierFlags const modifiers, ArenaAllocator *const allocator, bool const isComputed) in JsDocAllowed() 96 [[maybe_unused]] ArenaAllocator *const allocator) in JsDocAllowed() 101 explicit JsDocAllowed(ArenaAllocator *const allocator, AstNodeType const type) in JsDocAllowed() 106 explicit JsDocAllowed(ArenaAllocator *allocator, ArenaVector<Statement *> &&statements) in JsDocAllowed() 116 JsDocAllowed(JsDocAllowed const &other, ArenaAllocator *const allocator) in JsDocAllowed()
|
| D | annotationAllowed.h | 53 explicit AnnotationAllowed(Expression const &other, ArenaAllocator *allocator) in AnnotationAllowed() 66 explicit AnnotationAllowed(AstNodeType const type, ArenaAllocator *const allocator) in AnnotationAllowed() 70 …notationAllowed(AstNodeType const type, ModifierFlags const flags, ArenaAllocator *const allocator) in AnnotationAllowed() 75 … ModifierFlags const modifiers, ArenaAllocator *const allocator, bool const isComputed) in AnnotationAllowed() 80 …explicit AnnotationAllowed(ArenaAllocator *const allocator, ArenaVector<Statement *> &&statementLi… in AnnotationAllowed()
|
| D | opaqueTypeNode.h | 32 explicit OpaqueTypeNode(checker::Type *const type, ArenaAllocator *const allocator) in OpaqueTypeNode() 39 …explicit OpaqueTypeNode(ArenaAllocator *const allocator) : TypeNode(AstNodeType::OPAQUE_TYPE_NODE,… in OpaqueTypeNode()
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | reg_alloc_interference_graph_new_test.cpp | 92 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 115 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 138 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 153 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 169 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 189 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 207 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 222 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 239 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable 262 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER}; variable [all …]
|
| /arkcompiler/ets_frontend/ets2panda/varbinder/ |
| D | scope.h | 217 Variable *AddDecl(ArenaAllocator *allocator, Decl *decl, ScriptExtension extension) in AddDecl() 228 Variable *AddTsDecl(ArenaAllocator *allocator, Decl *decl, ScriptExtension extension) in AddTsDecl() 260 …[[nodiscard]] ArenaMap<util::StringView, Variable *> OrderedBindings(ArenaAllocator *allocator) co… in OrderedBindings() 288 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope() 293 explicit Scope(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) in Scope() 408 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in VariableScope() 450 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope() 465 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope() 504 …explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent), par… in ScopeWithParamScope() 537 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope() [all …]
|
| D | scope.cpp | 222 Variable *Scope::AddLocalVar(ArenaAllocator *allocator, Decl *newDecl) in AddLocalVar() 239 Variable *Scope::AddLocalInterfaceVariable(ArenaAllocator *allocator, Decl *newDecl) in AddLocalInterfaceVariable() 249 Variable *Scope::AddLocalTypeAliasVariable(ArenaAllocator *allocator, Decl *newDecl) in AddLocalTypeAliasVariable() 257 Variable *Scope::AddLocalClassVariable(ArenaAllocator *allocator, Decl *newDecl) in AddLocalClassVariable() 266 Variable *Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal() 380 Variable *VariableScope::AddVar(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddVar() 404 Variable *VariableScope::AddFunction(ArenaAllocator *allocator, Variable *currentVariable, Decl *ne… in AddFunction() 431 Variable *VariableScope::AddTSBinding(ArenaAllocator *allocator, [[maybe_unused]] Variable *current… in AddTSBinding() 439 Variable *VariableScope::AddLexical(ArenaAllocator *allocator, Variable *currentVariable, Decl *new… in AddLexical() 448 Variable *ParamScope::AddParameter(ArenaAllocator *allocator, Decl *newDecl, VariableFlags flags) in AddParameter() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | insertOptionalParametersAnnotation.cpp | 23 static ir::Identifier *GenAnnoQualifiedLeft(ArenaAllocator *allocator) in GenAnnoQualifiedLeft() 28 static ir::Identifier *GenDefaultAnnoId(ArenaAllocator *allocator) in GenDefaultAnnoId() 33 static ir::Identifier *GenDefaultPropId(ArenaAllocator *allocator, util::StringView const name) in GenDefaultPropId() 38 static ir::ETSTypeReference *GenDefaultAnnoNameRef(ArenaAllocator *allocator) in GenDefaultAnnoNameRef() 49 static ir::AstNode *GenMinArgCountItem(ArenaAllocator *allocator, const int32_t requiredArgs) in GenMinArgCountItem() 60 auto allocator = ctx->allocator; in CreateDefaultAnnotationUsageForFunction() local
|
| D | spreadLowering.cpp | 39 auto *const allocator = ctx->allocator; in CreateSpreadArrayDeclareStatements() local 58 auto *const allocator = ctx->allocator; in CreateNewArrayLengthStatement() local 87 auto *const allocator = ctx->allocator; in CreateNewArrayDeclareStatement() local 120 static std::string GenerateNewTupleInitList(ArenaAllocator *allocator, ir::ArrayExpression *array, in GenerateNewTupleInitList() 153 auto *const allocator = ctx->allocator; in GenerateTupleInitExpr() local 168 auto *const allocator = ctx->allocator; in CreateNewTupleDeclareStatement() local 191 auto *const allocator = ctx->allocator; in CreateElementsAssignStatementBySpreadArr() local 214 auto *const allocator = ctx->allocator; in CreateElementsAssignStatementBySingle() local 232 auto *const allocator = ctx->allocator; in CreateElementsAssignForTupleElements() local 258 auto *const allocator = ctx->allocator; in CreateReturnStatement() local [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | dump.cpp | 31 …::enable_if_t<std::is_integral_v<T>, ArenaString> ToArenaString(T value, ArenaAllocator *allocator) in ToArenaString() 37 ArenaString GetId(uint32_t id, ArenaAllocator *allocator) in GetId() 42 ArenaString IdToString(uint32_t id, ArenaAllocator *allocator, bool v_reg, bool is_phi) in IdToString() 62 ArenaString InstId(const Inst *inst, ArenaAllocator *allocator) in InstId() 75 ArenaString BBId(const BasicBlock *block, ArenaAllocator *allocator) in BBId() 86 auto allocator = inst->GetBasicBlock()->GetGraph()->GetLocalAllocator(); in DumpUsers() local 104 ArenaString GetCondCodeToString(ConditionCode cc, ArenaAllocator *allocator) in GetCondCodeToString() 139 ArenaString PcToString(uint32_t pc, ArenaAllocator *allocator) in PcToString() 147 ArenaAllocator *allocator) in BBDependence() 161 ArenaAllocator *allocator) in DumpTypedFieldOpcode() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | typeConverter.h | 38 static TargetType *ConvertConstant(SourceType *source, ArenaAllocator *allocator) in ConvertConstant() 63 static Type *ConvertConstantType(Type *source, ArenaAllocator *allocator) in ConvertConstantType() 94 static Type *ConvertConstantTypes(Type *source, Type *target, ArenaAllocator *allocator) in ConvertConstantTypes()
|
| /arkcompiler/ets_frontend/ets2panda/ir/ets/ |
| D | etsTuple.h | 28 explicit ETSTuple(ArenaAllocator *const allocator) in ETSTuple() 33 explicit ETSTuple(ArenaAllocator *const allocator, const TupleSizeType size) in ETSTuple() 37 explicit ETSTuple(const ArenaVector<ir::TypeNode *> &typeList, ArenaAllocator *const allocator) in ETSTuple()
|
| D | etsNullishTypes.h | 25 …explicit ETSNullType(ArenaAllocator *const allocator) : TypeNode(AstNodeType::ETS_NULL_TYPE, alloc… in ETSNullType() 45 …explicit ETSUndefinedType(ArenaAllocator *const allocator) : TypeNode(AstNodeType::ETS_UNDEFINED_T… in ETSUndefinedType()
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | malloc-proxy-allocator-test.cpp | 48 …void AddMemoryPoolToAllocator([[maybe_unused]] MallocProxyNonObjectAllocator &allocator) override … in AddMemoryPoolToAllocator() 49 …void AddMemoryPoolToAllocatorProtected([[maybe_unused]] MallocProxyNonObjectAllocator &allocator) … in AddMemoryPoolToAllocatorProtected() 50 bool AllocatedByThisAllocator([[maybe_unused]] MallocProxyNonObjectAllocator &allocator, in AllocatedByThisAllocator() 61 MallocProxyNonObjectAllocator allocator(memStats); in TEST_F() local 81 MallocProxyNonObjectAllocator allocator(memStats); in TEST_F() local
|
| D | region_allocator_test.cpp | 77 void AddMemoryPoolToAllocator([[maybe_unused]] ObjectAllocator &allocator) final {} in AddMemoryPoolToAllocator() 79 void AddMemoryPoolToAllocatorProtected([[maybe_unused]] ObjectAllocator &allocator) final {} in AddMemoryPoolToAllocatorProtected() 81 …bool AllocatedByThisAllocator([[maybe_unused]] ObjectAllocator &allocator, [[maybe_unused]] void *… in AllocatedByThisAllocator() 104 size_t GetNumFreeRegions(NonObjectRegionAllocator &allocator) in GetNumFreeRegions() 120 void *AllocateObjectWithClass(NonObjectRegionAllocator &allocator) in AllocateObjectWithClass() 130 …void AllocateRegularObject(NonObjectRegionAllocator &allocator, size_t &freeRegions, size_t &freeB… in AllocateRegularObject() 155 void AllocateLargeObject(NonObjectRegionAllocator &allocator, size_t &freeRegions, size_t size) in AllocateLargeObject() 168 void *AllocateYoungRegular(NonObjectRegionAllocator &allocator, size_t size) in AllocateYoungRegular() 191 …NonObjectRegionAllocator allocator(memStats, &spaces_, SpaceType::SPACE_TYPE_OBJECT, TEST_REGION_S… in TEST_F() local 204 …NonObjectRegionAllocator allocator(memStats, &spaces_, SpaceType::SPACE_TYPE_OBJECT, TEST_REGION_S… in TEST_F() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsResizableArrayType.h | 26 explicit ETSResizableArrayType(ArenaAllocator *allocator, ETSObjectType *super) in ETSResizableArrayType() 34 explicit ETSResizableArrayType(ArenaAllocator *allocator, util::StringView name, in ETSResizableArrayType() 40 …explicit ETSResizableArrayType(ArenaAllocator *allocator, ETSObjectType *super, TypeRelation *rela… in ETSResizableArrayType()
|
| D | etsEnumType.h | 27 …explicit ETSEnumType(ArenaAllocator *allocator, util::StringView name, util::StringView internalNa… in ETSEnumType() 52 …explicit ETSIntEnumType(ArenaAllocator *allocator, util::StringView name, util::StringView interna… in ETSIntEnumType() 73 …explicit ETSStringEnumType(ArenaAllocator *allocator, util::StringView name, util::StringView inte… in ETSStringEnumType()
|
| D | etsStringType.h | 24 explicit ETSStringType(ArenaAllocator *allocator, ETSObjectType *super) in ETSStringType() 31 explicit ETSStringType(ArenaAllocator *allocator, ETSObjectType *super, TypeRelation *relation) in ETSStringType() 40 explicit ETSStringType(ArenaAllocator *allocator, ETSObjectType *super, TypeRelation *relation, in ETSStringType()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | dump.cpp | 39 …::enable_if_t<std::is_integral_v<T>, ArenaString> ToArenaString(T value, ArenaAllocator *allocator) in ToArenaString() 45 ArenaString GetId(uint32_t id, ArenaAllocator *allocator) in GetId() 50 ArenaString IdToString(uint32_t id, ArenaAllocator *allocator, bool vReg, bool isPhi) in IdToString() 70 ArenaString InstId(const Inst *inst, ArenaAllocator *allocator) in InstId() 83 ArenaString BBId(const BasicBlock *block, ArenaAllocator *allocator) in BBId() 94 auto allocator = inst->GetBasicBlock()->GetGraph()->GetLocalAllocator(); in DumpUsers() local 112 ArenaString GetCondCodeToString(ConditionCode cc, ArenaAllocator *allocator) in GetCondCodeToString() 147 ArenaString PcToString(uint32_t pc, ArenaAllocator *allocator) in PcToString() 155 void BBDependence(const char *type, const T &bbVector, std::ostream *out, ArenaAllocator *allocator) in BBDependence() 169 ArenaAllocator *allocator) in FieldToString() [all …]
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | scope.h | 56 explicit TSBindings(ArenaAllocator *allocator) : allocator_(allocator) {} in TSBindings() 106 explicit ExportBindings(ArenaAllocator *allocator) in ExportBindings() 309 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl() 316 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl() 432 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope() 589 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope() 650 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope() 664 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope() 712 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope() 756 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | path.cpp | 29 Path::Path(const util::StringView &absolutePath, ArenaAllocator *allocator) in Path() 42 void Path::Initializer(const std::string &path, ArenaAllocator *allocator) in Initializer() 145 …(const util::StringView &relativePath, const util::StringView &basePath, ArenaAllocator *allocator) in Path() 151 Path::Path(const std::string &absolutePath, ArenaAllocator *allocator) in Path() 156 Path::Path(const std::string &relativePath, const std::string &basePath, ArenaAllocator *allocator) in Path()
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | string_table.h | 34 …explicit StringTable(mem::InternalAllocatorPtr allocator) : internalTable_(allocator), table_(allo… in StringTable() 73 explicit Table(mem::InternalAllocatorPtr allocator) : table_(allocator->Adapter()) {} in Table() 116 explicit InternalTable(mem::InternalAllocatorPtr allocator) in InternalTable()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | gc_adaptive_marking_stack.cpp | 25 auto allocator = GetGC()->GetInternalAllocator(); in ~GCAdaptiveMarkingStack() local 47 auto allocator = gc->GetInternalAllocator(); in CreateStack() local 64 auto allocator = gc->GetInternalAllocator(); in MarkObjects() local
|
| /arkcompiler/ets_runtime/common_components/objects/tests/ |
| D | composite_base_class_test.cpp | 53 auto allocator = []() -> CompositeBaseClass* { in HWTEST_F_L0() local 65 auto allocator = []() -> CompositeBaseClass* { in HWTEST_F_L0() local 78 auto allocator = []() -> CompositeBaseClass* { in HWTEST_F_L0() local 99 auto allocator = []() -> CompositeBaseClass* { in HWTEST_F_L0() local
|
| /arkcompiler/ets_frontend/ets2panda/ir/module/ |
| D | exportNamedDeclaration.h | 27 explicit ExportNamedDeclaration(ArenaAllocator *allocator, StringLiteral *source, in ExportNamedDeclaration() 36 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl, in ExportNamedDeclaration() 45 explicit ExportNamedDeclaration(ArenaAllocator *allocator, AstNode *decl) in ExportNamedDeclaration()
|
| /arkcompiler/ets_runtime/common_components/heap/allocator/tests/ |
| D | allocator_test.cpp | 56 TestAllocator allocator; in HWTEST_F_L0() local 69 TestAllocator allocator; in HWTEST_F_L0() local 82 TestAllocator allocator; in HWTEST_F_L0() local 90 TestAllocator allocator; in HWTEST_F_L0() local 98 TestAllocator allocator; in HWTEST_F_L0() local
|