| /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 | 224 …Variable *AddDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extensio… in AddDecl() 232 …Variable *AddTsDecl(ArenaAllocator *allocator, Decl *decl, [[maybe_unused]] ScriptExtension extens… in AddTsDecl() 261 ArenaMap<util::StringView, Variable *> OrderedBindings(ArenaAllocator *allocator) const in OrderedBindings() 289 explicit Scope(ArenaAllocator *allocator, Scope *parent) in Scope() 294 explicit Scope(ArenaAllocator *allocator, Scope *parent, ScopeFlags flags) in Scope() 406 explicit VariableScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in VariableScope() 447 explicit ParamScope(ArenaAllocator *allocator, Scope *parent) in ParamScope() 462 …explicit FunctionParamScope(ArenaAllocator *allocator, Scope *parent) : ParamScope(allocator, pare… in FunctionParamScope() 501 …explicit ScopeWithParamScope(ArenaAllocator *allocator, Scope *parent) : E(allocator, parent), par… in ScopeWithParamScope() 534 explicit LocalScope(ArenaAllocator *allocator, Scope *parent) : Scope(allocator, parent) {} in LocalScope() [all …]
|
| D | scope.cpp | 256 Variable *Scope::AddLocalVar(ArenaAllocator *allocator, Decl *newDecl) in AddLocalVar() 273 Variable *Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal() 388 Variable *ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl,… in AddParam() 404 …ple<ParameterDecl *, ir::AstNode *, Variable *> ParamScope::AddParamDecl(ArenaAllocator *allocator, in AddParamDecl() 439 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName() 447 Variable *FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding() 454 Variable *AnnotationParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding() 470 Variable *FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *new… in AddBinding() 521 Variable *GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… in AddBinding() 619 Variable *ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDe… in AddBinding() [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/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/util/ |
| D | path.cpp | 25 Path::Path(const util::StringView &absolutePath, ArenaAllocator *allocator) in Path() 30 void Path::Initializer(const std::string &path, ArenaAllocator *allocator) in Initializer() 111 …(const util::StringView &relativePath, const util::StringView &basePath, ArenaAllocator *allocator) in Path() 117 Path::Path(const std::string &absolutePath, ArenaAllocator *allocator) in Path() 122 Path::Path(const std::string &relativePath, const std::string &basePath, ArenaAllocator *allocator) in Path()
|
| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | etsStringType.h | 24 explicit ETSStringType(ArenaAllocator *allocator, [[maybe_unused]] ETSObjectType *super) in ETSStringType() 31 …explicit ETSStringType(ArenaAllocator *allocator, [[maybe_unused]] ETSObjectType *super, TypeRelat… in ETSStringType() 39 explicit ETSStringType(ArenaAllocator *allocator, ETSObjectType *super, TypeRelation *relation, in ETSStringType()
|
| D | etsBigIntType.h | 24 explicit ETSBigIntType(ArenaAllocator *allocator, [[maybe_unused]] ETSObjectType *super) in ETSBigIntType() 32 explicit ETSBigIntType(ArenaAllocator *allocator, ETSObjectType *super, TypeRelation *relation, in ETSBigIntType()
|
| D | etsDynamicFunctionType.h | 34 …icit ETSDynamicFunctionType(util::StringView name, Signature *signature, ArenaAllocator *allocator, in ETSDynamicFunctionType() 41 explicit ETSDynamicFunctionType(util::StringView name, ArenaAllocator *allocator, Language lang) in ETSDynamicFunctionType()
|
| /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 …]
|
| D | scope.cpp | 403 bool Scope::AddLocal(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddLocal() 452 bool ParamScope::AddParam(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, Vari… in AddParam() 468 std::tuple<ParameterDecl *, const ir::AstNode *> ParamScope::AddParamDecl(ArenaAllocator *allocator, in AddParamDecl() 503 void FunctionParamScope::BindName(ArenaAllocator *allocator, util::StringView name) in BindName() 509 bool FunctionParamScope::AddBinding([[maybe_unused]] ArenaAllocator *allocator, in AddBinding() 562 bool FunctionScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding() 645 bool TSEnumScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding() 680 bool GlobalScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding() 720 void ModuleScope::ConvertLocalVariableToModuleVariable(ArenaAllocator *allocator, util::StringView … in ConvertLocalVariableToModuleVariable() 742 bool ModuleScope::AddBinding(ArenaAllocator *allocator, Variable *currentVariable, Decl *newDecl, in AddBinding() [all …]
|
| /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()
|
| D | thread.cpp | 68 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() 267 mem::InternalAllocatorPtr allocator = GetInternalAllocator(this); in ~ManagedThread() local 283 auto allocator = GetInternalAllocator(this); in InitBuffers() local [all …]
|
| /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/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | locations_builder.cpp | 72 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/ets_frontend/ets2panda/checker/types/ts/ |
| D | unionType.h | 26 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/ |
| D | worker_thread.cpp | 27 auto allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Create() local 53 auto allocator = Runtime::GetCurrent()->GetInternalAllocator(); in Destroy() local
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
| D | mir_nodes.h | 116 virtual BaseNode *CloneTree(MapleAllocator &allocator) const in CloneTree() 232 UnaryNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 285 TypeCvtNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 325 RetypeNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 369 ExtractbitsNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 421 IreadNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 511 BinaryNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 579 CompareNode *CloneTree(MapleAllocator &allocator) const override in CloneTree() 727 NaryNode(MapleAllocator &allocator, Opcode o) : BaseNode(o), NaryOpnds(allocator) {} in NaryNode() 731 …NaryNode(MapleAllocator &allocator, Opcode o, PrimType typ) : BaseNode(o, typ, 0), NaryOpnds(alloc… in NaryNode() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | gc_barrier_set.h | 30 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/public/ |
| D | es2panda_lib.cpp | 88 __attribute__((unused)) char *StringViewToCString(ArenaAllocator *allocator, util::StringView const… in StringViewToCString() 104 char *StringViewToCString(ArenaAllocator *allocator, std::string_view const utf8) in StringViewToCString() 119 __attribute__((unused)) char *StdStringToCString(ArenaAllocator *allocator, std::string str) in StdStringToCString() 129 __attribute__((unused)) char *UStringToCString(ArenaAllocator *allocator, util::UString const sv) in UStringToCString() 135 ArenaAllocator *allocator, varbinder::EnumMemberResult variant) in EnumMemberResultToEs2pandaVariant() 160 ArenaAllocator *allocator, const varbinder::DynamicImportData *dynamicImportData) in DynamicImportDataToE2p() 185 __attribute__((unused)) char const *ArenaStrdup(ArenaAllocator *allocator, char const *src) in ArenaStrdup() 237 ArenaAllocator allocator {SpaceType::SPACE_TYPE_COMPILER, nullptr, true}; in CompileJob() local 591 auto *allocator = pgm->VarBinder()->Allocator(); in ProgramExternalSources() local 645 auto *allocator = reinterpret_cast<Context *>(context)->allocator; in SET_NUMBER_LITERAL_IMPL() local [all …]
|
| /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()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
| D | typed_array_lowering_test.cpp | 45 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 74 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 109 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 141 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 173 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 208 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 243 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 278 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 313 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local 348 ecmascript::NativeAreaAllocator allocator; in HWTEST_F_L0() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
| D | identifierHasVariable.h | 27 explicit IdentifierHasVariable([[maybe_unused]] ArenaAllocator &allocator) {} in IdentifierHasVariable()
|