Home
last modified time | relevance | path

Searched defs:allocator (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/arkcompiler/ets_frontend/ets2panda/ir/
DjsDocAllowed.h62 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()
DannotationAllowed.h53 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()
DopaqueTypeNode.h32 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/
Dreg_alloc_interference_graph_new_test.cpp92 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/
Dscope.h217 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 …]
Dscope.cpp222 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/
DinsertOptionalParametersAnnotation.cpp23 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
DspreadLowering.cpp39 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/
Ddump.cpp31 …::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/
DtypeConverter.h38 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/
DetsTuple.h28 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()
DetsNullishTypes.h25 …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/
Dmalloc-proxy-allocator-test.cpp48 …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
Dregion_allocator_test.cpp77 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/
DetsResizableArrayType.h26 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()
DetsEnumType.h27 …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()
DetsStringType.h24 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/
Ddump.cpp39 …::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/
Dscope.h56 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/
Dpath.cpp29 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/
Dstring_table.h34 …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/
Dgc_adaptive_marking_stack.cpp25 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/
Dcomposite_base_class_test.cpp53 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/
DexportNamedDeclaration.h27 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/
Dallocator_test.cpp56 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

12345678910>>...32