Home
last modified time | relevance | path

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

12345678910>>...19

/arkcompiler/ets_frontend/ets2panda/varbinder/
Dscope.h212 …Variable *AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extensio… in AddDecl()
219 …Variable *AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extens… in AddTsDecl()
267 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope()
272 explicit Scope(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) in Scope()
384 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in VariableScope()
425 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope()
440 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope()
479 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope()
512 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope()
549 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope()
[all …]
Dscope.cpp197 Variable *Scope::AddLocalVar(ArenaAllocator *allocator, Decl *newDecl) in AddLocalVar()
214 Variable *Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal()
320 Variable *ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,… in AddParam()
335 …ple<ParameterDecl *, ir::AstNode *, Variable *> ParamScope::AddParamDecl(ArenaAllocator *allocator, in AddParamDecl()
370 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName()
378 Variable *FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding()
385 Variable *FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *new… in AddBinding()
410 Variable *GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… in AddBinding()
508 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… in AddBinding()
567 Variable *ModuleScope::AddImport(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDec… in AddImport()
[all …]
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.h52 explicit TSBindings(ArenaAllocator *allocator) : allocator_(allocator) {} in TSBindings()
102 explicit ExportBindings(ArenaAllocator *allocator) in ExportBindings()
299 bool AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddDecl()
305 … bool AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extension) in AddTsDecl()
376 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope()
457 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent), in VariableScope()
517 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope()
531 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope()
576 explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent) {} in ScopeWithParamScope()
619 …explicit FunctionScope(ArenaAllocator *allocator, Scope *parent) : ScopeWithParamScope(allocator, … in FunctionScope()
[all …]
Dscope.cpp325 bool Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal()
374 bool ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, Vari… in AddParam()
389 std::tuple<ParameterDecl *, const ir::AstNode *> ParamScope::AddParamDecl(ArenaAllocator *allocator, in AddParamDecl()
422 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName()
428 bool FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding()
435 bool FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
466 bool TSEnumScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
473 bool GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
508 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … in ConvertLocalVariableToModuleVariable()
530 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Ddump.cpp38 …::enable_if_t<std::is_integral_v<T>, ArenaString> ToArenaString(T value, ArenaAllocator *allocator) in ToArenaString()
44 ArenaString GetId(uint32_t id, ArenaAllocator *allocator) in GetId()
49 ArenaString IdToString(uint32_t id, ArenaAllocator *allocator, bool v_reg, bool is_phi) in IdToString()
69 ArenaString InstId(const Inst *inst, ArenaAllocator *allocator) in InstId()
82 ArenaString BBId(const BasicBlock *block, ArenaAllocator *allocator) in BBId()
93 auto allocator = inst->GetBasicBlock()->GetGraph()->GetLocalAllocator(); in DumpUsers() local
111 ArenaString GetCondCodeToString(ConditionCode cc, ArenaAllocator *allocator) in GetCondCodeToString()
146 ArenaString PcToString(uint32_t pc, ArenaAllocator *allocator) in PcToString()
154 ArenaAllocator *allocator) in BBDependence()
168 ArenaAllocator *allocator) in DumpTypedFieldOpcode()
[all …]
/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()
180 …NonObjectRegionAllocator allocator(memStats, &spaces_, SpaceType::SPACE_TYPE_OBJECT, TEST_REGION_S… in TEST_F() local
193 …NonObjectRegionAllocator allocator(memStats, &spaces_, SpaceType::SPACE_TYPE_OBJECT, TEST_REGION_S… in TEST_F() local
[all …]
/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 ArenaAllocator *allocator) in BBDependence()
169 ArenaAllocator *allocator) in FieldToString()
[all …]
/arkcompiler/ets_frontend/ets2panda/util/
Dpath.cpp25 Path::Path(const util::StringView &absolutePath, ArenaAllocator *allocator) in Path()
30 void Path::Initializer(const std::string &path, ArenaAllocator *allocator) in Initializer()
115 …(const util::StringView &relativePath, const util::StringView &basePath, ArenaAllocator *allocator) in Path()
121 Path::Path(const std::string &absolutePath, ArenaAllocator *allocator) in Path()
126 Path::Path(const std::string &relativePath, const std::string &basePath, ArenaAllocator *allocator) in Path()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_nodes.h114 virtual BaseNode *CloneTree(MapleAllocator &allocator) const in CloneTree()
241 UnaryNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
300 TypeCvtNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
339 RetypeNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
407 ExtractbitsNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
449 GCMallocNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
489 JarrayMallocNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
528 IreadNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
592 IreadoffNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
626 IreadFPoffNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dlocations_builder.cpp72 ArenaAllocator *allocator = GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
106 ArenaAllocator *allocator = GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
180 … ArenaAllocator *allocator = static_cast<LocationsBuilder *>(visitor)->GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
208 … ArenaAllocator *allocator = static_cast<LocationsBuilder *>(visitor)->GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
227 … ArenaAllocator *allocator = static_cast<LocationsBuilder *>(visitor)->GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
263 … ArenaAllocator *allocator = static_cast<LocationsBuilder *>(visitor)->GetGraph()->GetAllocator(); in LOCATIONS_BUILDER() local
313 ArenaAllocator *allocator = graph->GetAllocator(); in LOCATIONS_BUILDER() local
328 ArenaAllocator *allocator = graph->GetAllocator(); in LOCATIONS_BUILDER() local
344 ArenaAllocator *allocator = graph->GetAllocator(); in LOCATIONS_BUILDER() local
362 ArenaAllocator *allocator = graph->GetAllocator(); in LOCATIONS_BUILDER() local
[all …]
/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()
Dthread.cpp68 auto allocator = Runtime::GetCurrent()->GetInternalAllocator(); in FreeAllocatedMemory() local
91 mem::InternalAllocatorPtr allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Thread() local
131 auto allocator = GetInternalAllocator(this); in InitPreBuff() local
156 mem::InternalAllocatorPtr allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Initialize() local
166 mem::InternalAllocatorPtr allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Shutdown() local
185 mem::InternalAllocatorPtr allocator = runtime->GetInternalAllocator(); in Create() local
196 mem::InternalAllocatorPtr allocator = runtime->GetInternalAllocator(); in Create() local
207 ManagedThread::ManagedThread(ThreadId id, mem::InternalAllocatorPtr allocator, PandaVM *pandaVm, in ManagedThread()
252 mem::InternalAllocatorPtr allocator = GetInternalAllocator(this); in ~ManagedThread() local
267 auto allocator = GetInternalAllocator(this); in InitBuffers() local
[all …]
/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_frontend/ets2panda/checker/types/ets/
DetsDynamicFunctionType.h26 …icit ETSDynamicFunctionType(util::StringView name, Signature *signature, ArenaAllocator *allocator, in ETSDynamicFunctionType()
33 explicit ETSDynamicFunctionType(util::StringView name, ArenaAllocator *allocator, Language lang) in ETSDynamicFunctionType()
DetsBigIntType.h24 explicit ETSBigIntType(ArenaAllocator *allocator, [[maybe_unused]] ETSObjectType *super) in ETSBigIntType()
31 explicit ETSBigIntType(ArenaAllocator *allocator, ETSObjectType *super, util::StringView value) in ETSBigIntType()
DetsStringType.h24 explicit ETSStringType(ArenaAllocator *allocator, [[maybe_unused]] ETSObjectType *super) in ETSStringType()
31 explicit ETSStringType(ArenaAllocator *allocator, ETSObjectType *super, util::StringView value) in ETSStringType()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
Dutil.cpp38 ir::Identifier *Gensym(ArenaAllocator *const allocator) in Gensym()
44 util::UString GenName(ArenaAllocator *const allocator) in GenName()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DunionType.h26 UnionType(ArenaAllocator *allocator, std::initializer_list<Type *> types) in UnionType()
40 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &&constituentTypes) in UnionType()
50 explicit UnionType(ArenaAllocator *allocator, ArenaVector<Type *> &constituentTypes) in UnionType()
/arkcompiler/runtime_core/static_core/runtime/scheduler/
Dworker_thread.cpp27 auto allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Create() local
53 auto allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Destroy() local
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_barrier_set.h30 GCBarrierSet(mem::InternalAllocatorPtr allocator, BarrierType preType, BarrierType postType) in GCBarrierSet()
120 explicit GCDummyBarrierSet(mem::InternalAllocatorPtr allocator) in GCDummyBarrierSet()
144 GCGenBarrierSet(mem::InternalAllocatorPtr allocator, in GCGenBarrierSet()
196 GCG1BarrierSet(mem::InternalAllocatorPtr allocator, in GCG1BarrierSet()
/arkcompiler/ets_frontend/ets2panda/ir/ets/
DetsTuple.h27 explicit ETSTuple(ArenaAllocator *const allocator) in ETSTuple()
32 explicit ETSTuple(ArenaAllocator *const allocator, const TupleSizeType size) in ETSTuple()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dtyped_array_lowering_test.cpp43 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
72 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
107 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
139 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
171 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
206 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
241 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
276 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
311 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
347 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
[all …]
Dmeta_data_equal_test.cpp49 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
72 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
113 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
130 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
175 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DASTVerifier.cpp218 explicit NodeHasParent([[maybe_unused]] ArenaAllocator &allocator) {} in NodeHasParent()
237 explicit IdentifierHasVariable([[maybe_unused]] ArenaAllocator &allocator) {} in IdentifierHasVariable()
258 explicit NodeHasType([[maybe_unused]] ArenaAllocator &allocator) {} in NodeHasType()
280 explicit VariableHasScope(ArenaAllocator &allocator) : allocator_ {allocator} {} in VariableHasScope()
302 … static std::optional<varbinder::LocalVariable *> GetLocalScopeVariable(ArenaAllocator &allocator, in GetLocalScopeVariable()
360 explicit EveryChildHasValidParent([[maybe_unused]] ArenaAllocator &allocator) {} in EveryChildHasValidParent()
382 explicit VariableHasEnclosingScope(ArenaAllocator &allocator) : allocator_ {allocator} {} in VariableHasEnclosingScope()
421 explicit SequenceExpressionHasLastType([[maybe_unused]] ArenaAllocator &allocator) {} in SequenceExpressionHasLastType()
451 explicit ForLoopCorrectlyInitialized([[maybe_unused]] ArenaAllocator &allocator) {} in ForLoopCorrectlyInitialized()
516 explicit ModifierAccessValid([[maybe_unused]] ArenaAllocator &allocator) {} in ModifierAccessValid()
[all …]

12345678910>>...19