Home
last modified time | relevance | path

Searched refs:RegionSpaceFlag (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/mem/
Dspace-inl.h68 RegionSpaceFlag Space::GetRegionFlag() const in GetRegionFlag()
70 RegionSpaceFlag flags = RegionSpaceFlag::UNINITIALIZED; in GetRegionFlag()
74 flags = RegionSpaceFlag::IN_OLD_SPACE; in GetRegionFlag()
77 flags = RegionSpaceFlag::IN_YOUNG_SPACE; in GetRegionFlag()
80 flags = RegionSpaceFlag::IN_HUGE_OBJECT_SPACE; in GetRegionFlag()
83 flags = RegionSpaceFlag::IN_MACHINE_CODE_SPACE; in GetRegionFlag()
86 flags = RegionSpaceFlag::IN_NON_MOVABLE_SPACE; in GetRegionFlag()
89 flags = RegionSpaceFlag::IN_SNAPSHOT_SPACE; in GetRegionFlag()
92 flags = RegionSpaceFlag::IN_READ_ONLY_SPACE; in GetRegionFlag()
95 flags = RegionSpaceFlag::IN_APPSPAWN_SPACE; in GetRegionFlag()
Dregion.h36 enum RegionSpaceFlag { enum
73 case RegionSpaceFlag::IN_YOUNG_SPACE: in ToSpaceTypeName()
75 case RegionSpaceFlag::IN_SNAPSHOT_SPACE: in ToSpaceTypeName()
77 case RegionSpaceFlag::IN_HUGE_OBJECT_SPACE: in ToSpaceTypeName()
79 case RegionSpaceFlag::IN_OLD_SPACE: in ToSpaceTypeName()
81 case RegionSpaceFlag::IN_NON_MOVABLE_SPACE: in ToSpaceTypeName()
83 case RegionSpaceFlag::IN_MACHINE_CODE_SPACE: in ToSpaceTypeName()
85 case RegionSpaceFlag::IN_READ_ONLY_SPACE: in ToSpaceTypeName()
87 case RegionSpaceFlag::IN_APPSPAWN_SPACE: in ToSpaceTypeName()
102 …SThread *thread, uintptr_t allocateBase, uintptr_t begin, uintptr_t end, RegionSpaceFlag spaceType) in Region()
[all …]
Dheap_region_allocator.cpp33 RegionSpaceFlag flags = space->GetRegionFlag(); in AllocateAlignedRegion()
34 bool isRegular = (flags != RegionSpaceFlag::IN_HUGE_OBJECT_SPACE); in AllocateAlignedRegion()
35 bool isMachineCode = (flags == RegionSpaceFlag::IN_MACHINE_CODE_SPACE); in AllocateAlignedRegion()
Dspace.h151 inline RegionSpaceFlag GetRegionFlag() const;
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h54 void HeapAlloc(Variable *result, Label *exit, RegionSpaceFlag spaceType);
55 …void NewJSArrayLiteral(Variable *result, Label *exit, RegionSpaceFlag spaceType, GateRef obj, Gate…
Dnew_object_stub_builder.cpp271 void NewObjectStubBuilder::NewJSArrayLiteral(Variable *result, Label *exit, RegionSpaceFlag spaceTy… in NewJSArrayLiteral()
310 void NewObjectStubBuilder::HeapAlloc(Variable *result, Label *exit, RegionSpaceFlag spaceType) in HeapAlloc()
313 case RegionSpaceFlag::IN_YOUNG_SPACE: in HeapAlloc()
519 NewJSArrayLiteral(&result, &exit, RegionSpaceFlag::IN_YOUNG_SPACE, emptyArray, hclass, true); in CreateEmptyArray()
550 NewJSArrayLiteral(&result, &exit, RegionSpaceFlag::IN_YOUNG_SPACE, obj, hclass, false); in CreateArrayWithBuffer()
Dntype_mcr_lowering.cpp140 …GateRef array = builder_.HeapAlloc(size, GateType::TaggedValue(), RegionSpaceFlag::IN_YOUNG_SPACE); in NewJSArrayLiteral()
162 …GateRef elements = builder_.HeapAlloc(elementsSize, GateType::TaggedValue(), RegionSpaceFlag::IN_Y… in NewTaggedArray()
Dstub_builder-inl.h2121 Int32(RegionSpaceFlag::VALID_SPACE_MASK)), Int32(RegionSpaceFlag::IN_YOUNG_SPACE)); in InYoungGeneration()
2124 Int64(RegionSpaceFlag::VALID_SPACE_MASK)), Int64(RegionSpaceFlag::IN_YOUNG_SPACE)); in InYoungGeneration()
Dlcr_lowering.cpp566 case RegionSpaceFlag::IN_YOUNG_SPACE: in LowerHeapAllocate()
Dcircuit_builder.h622 GateRef HeapAlloc(GateRef size, GateType type, RegionSpaceFlag flag);
Dcircuit_builder.cpp1593 GateRef CircuitBuilder::HeapAlloc(GateRef size, GateType type, RegionSpaceFlag flag) in HeapAlloc()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp28 using ecmascript::RegionSpaceFlag;
103 auto array = builder.HeapAlloc(arg0, GateType::AnyType(), RegionSpaceFlag::IN_YOUNG_SPACE); in HWTEST_F_L0()