Home
last modified time | relevance | path

Searched refs:ArenaAllocator (Results 1 – 25 of 53) sorted by relevance

123

/art/compiler/dex/
Dbackend.h22 class ArenaAllocator; variable
51 explicit Backend(ArenaAllocator* arena) : arena_(arena) {} in Backend()
52 ArenaAllocator* const arena_;
Dcompiler_ir.h85 ArenaAllocator arena;
/art/compiler/utils/
Darena_allocator.cc198 size_t ArenaAllocator::BytesAllocated() const { in BytesAllocated()
202 ArenaAllocator::ArenaAllocator(ArenaPool* pool) in ArenaAllocator() function in art::ArenaAllocator
211 void ArenaAllocator::UpdateBytesAllocated() { in UpdateBytesAllocated()
219 void* ArenaAllocator::AllocValgrind(size_t bytes, ArenaAllocKind kind) { in AllocValgrind()
239 ArenaAllocator::~ArenaAllocator() { in ~ArenaAllocator()
245 void ArenaAllocator::ObtainNewArenaForAllocation(size_t allocation_size) { in ObtainNewArenaForAllocation()
269 MemStats ArenaAllocator::GetMemStats() const { in GetMemStats()
Darena_allocator.h33 class ArenaAllocator; variable
134 friend class ArenaAllocator; variable
154 class ArenaAllocator : private DebugStackRefCounter, private ArenaAllocatorStats {
156 explicit ArenaAllocator(ArenaPool* pool);
157 ~ArenaAllocator();
203 DISALLOW_COPY_AND_ASSIGN(ArenaAllocator);
Darena_allocator_test.cc23 TEST(ArenaAllocator, Test) { in TEST() argument
25 ArenaAllocator arena(&pool); in TEST()
Darena_containers.h100 explicit ArenaAllocatorAdapter(ArenaAllocator* arena_allocator,
117 ArenaAllocator* arena_allocator_;
139 explicit ArenaAllocatorAdapter(ArenaAllocator* arena_allocator, ArenaAllocKind kind) in ArenaAllocatorAdapter()
177 ArenaAllocator* arena_allocator_;
199 inline ArenaAllocatorAdapter<void> ArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
Darena_bit_vector.cc44 ArenaBitVector::ArenaBitVector(ArenaAllocator* arena, unsigned int start_bits, in ArenaBitVector()
47 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
Darena_bit_vector.h55 ArenaBitVector(ArenaAllocator* arena, uint32_t start_bits, bool expandable,
61 static void* operator new(size_t size, ArenaAllocator* arena) { in new()
Dgrowable_array.h84 GrowableArray(ArenaAllocator* arena, size_t init_length, OatListKind kind = kGrowableArrayMisc)
202 static void* operator new(size_t size, ArenaAllocator* arena) { in new()
208 ArenaAllocator* const arena_;
Dallocation.h28 void* operator new(size_t size, ArenaAllocator* allocator) { in new()
/art/compiler/optimizing/
Dgraph_test.cc28 static HBasicBlock* createIfBlock(HGraph* graph, ArenaAllocator* allocator) { in createIfBlock()
40 static HBasicBlock* createGotoBlock(HGraph* graph, ArenaAllocator* allocator) { in createGotoBlock()
48 static HBasicBlock* createReturnBlock(HGraph* graph, ArenaAllocator* allocator) { in createReturnBlock()
56 static HBasicBlock* createExitBlock(HGraph* graph, ArenaAllocator* allocator) { in createExitBlock()
69 ArenaAllocator allocator(&pool); in TEST()
104 ArenaAllocator allocator(&pool); in TEST()
139 ArenaAllocator allocator(&pool); in TEST()
175 ArenaAllocator allocator(&pool); in TEST()
211 ArenaAllocator allocator(&pool); in TEST()
251 ArenaAllocator allocator(&pool); in TEST()
[all …]
Dparallel_move_test.cc27 explicit TestParallelMoveResolver(ArenaAllocator* allocator) : ParallelMoveResolver(allocator) {} in TestParallelMoveResolver()
67 static HParallelMove* BuildParallelMove(ArenaAllocator* allocator, in BuildParallelMove()
81 ArenaAllocator allocator(&pool); in TEST()
100 ArenaAllocator allocator(&pool); in TEST()
Dlive_ranges_test.cc30 static HGraph* BuildGraph(const uint16_t* data, ArenaAllocator* allocator) { in BuildGraph()
58 ArenaAllocator allocator(&pool); in TEST()
105 ArenaAllocator allocator(&pool); in TEST()
154 ArenaAllocator allocator(&pool); in TEST()
230 ArenaAllocator allocator(&pool); in TEST()
Dregister_allocator.h40 RegisterAllocator(ArenaAllocator* allocator,
63 ArenaAllocator* allocator,
121 ArenaAllocator* const allocator_;
Dregister_allocator_test.cc36 ArenaAllocator allocator(&pool); in Check()
57 ArenaAllocator allocator(&pool); in TEST()
250 static HGraph* BuildSSAGraph(const uint16_t* data, ArenaAllocator* allocator) { in BuildSSAGraph()
298 ArenaAllocator allocator(&pool); in TEST()
330 ArenaAllocator allocator(&pool); in TEST()
Dlive_interval_test.cc27 ArenaAllocator allocator(&pool); in TEST()
44 ArenaAllocator allocator(&pool); in TEST()
72 ArenaAllocator allocator(&pool); in TEST()
100 ArenaAllocator allocator(&pool); in TEST()
192 ArenaAllocator allocator(&pool); in TEST()
Dbuilder.h34 HGraphBuilder(ArenaAllocator* arena,
110 ArenaAllocator* const arena_;
Doptimizing_unit_test.h41 ArenaAllocator* allocator,
Dstack_map_test.cc36 ArenaAllocator arena(&pool); in TEST()
73 ArenaAllocator arena(&pool); in TEST()
Dparallel_move_resolver.h36 explicit ParallelMoveResolver(ArenaAllocator* allocator) : moves_(allocator, 32) {} in ParallelMoveResolver()
Dssa_liveness_analysis.h28 BlockInfo(ArenaAllocator* allocator, const HBasicBlock& block, size_t number_of_ssa_values) in BlockInfo()
136 LiveInterval(ArenaAllocator* allocator, Primitive::Type type, HInstruction* defined_by = nullptr)
149 static LiveInterval* MakeFixedInterval(ArenaAllocator* allocator, int reg, Primitive::Type type) { in MakeFixedInterval()
430 ArenaAllocator* const allocator_;
Dlinearize_test.cc38 ArenaAllocator allocator(&pool); in TestCode()
Dnodes.h73 explicit HGraph(ArenaAllocator* arena) in HGraph()
83 ArenaAllocator* GetArena() const { return arena_; } in GetArena()
161 ArenaAllocator* const arena_;
641 HEnvironment(ArenaAllocator* arena, size_t number_of_vregs) : vregs_(arena, number_of_vregs) { in HEnvironment()
1130 HInvoke(ArenaAllocator* arena, in HInvoke()
1170 HInvokeStatic(ArenaAllocator* arena, in HInvokeStatic()
1267 HPhi(ArenaAllocator* arena, uint32_t reg_number, size_t number_of_inputs, Primitive::Type type) in HPhi()
1531 explicit HParallelMove(ArenaAllocator* arena) : moves_(arena, kDefaultNumberOfMoves) {} in HParallelMove()
/art/compiler/dex/quick/
Dresource_mask.h27 class ArenaAllocator; variable
153 explicit ResourceMaskCache(ArenaAllocator* allocator) in ResourceMaskCache()
160 ArenaAllocator* allocator_;
/art/compiler/dex/portable/
Dmir_to_gbc.h47 ArenaAllocator* const arena,
53 MirConverter(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena, in MirConverter()

123