Home
last modified time | relevance | path

Searched refs:ScopedArenaAllocator (Results 1 – 17 of 17) sorted by relevance

/art/compiler/utils/
Dscoped_arena_allocator.h29 class ScopedArenaAllocator; variable
93 friend class ScopedArenaAllocator; variable
100 class ScopedArenaAllocator
106 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) { in Create()
107 void* addr = arena_stack->Alloc(sizeof(ScopedArenaAllocator), kArenaAllocMisc); in Create()
108 ScopedArenaAllocator* allocator = new(addr) ScopedArenaAllocator(arena_stack); in Create()
113 explicit ScopedArenaAllocator(ArenaStack* arena_stack);
114 ~ScopedArenaAllocator();
138 DISALLOW_COPY_AND_ASSIGN(ScopedArenaAllocator);
Dscoped_arena_allocator.cc107 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() function in art::ScopedArenaAllocator
117 ScopedArenaAllocator::~ScopedArenaAllocator() { in ~ScopedArenaAllocator()
121 void ScopedArenaAllocator::Reset() { in Reset()
Darena_bit_vector.cc51 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, in ArenaBitVector()
54 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
Darena_bit_vector.h57 ArenaBitVector(ScopedArenaAllocator* arena, uint32_t start_bits, bool expandable,
64 static void* operator new(size_t size, ScopedArenaAllocator* arena) { in new()
Dscoped_arena_containers.h74 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
117 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
184 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
Darena_allocator.h35 class ScopedArenaAllocator; variable
136 friend class ScopedArenaAllocator; variable
/art/compiler/dex/
Dglobal_value_numbering.h31 GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator);
36 ScopedArenaAllocator* allocator = nullptr);
58 static void* operator new(size_t size, ScopedArenaAllocator* allocator) { in new()
203 ScopedArenaAllocator* Allocator() const { in Allocator()
209 ScopedArenaAllocator* const allocator_;
Dglobal_value_numbering.cc23 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator) in GlobalValueNumbering()
47 ScopedArenaAllocator* allocator) { in PrepareBasicBlock()
Dmir_optimization.cc326 std::unique_ptr<ScopedArenaAllocator> allocator; in BasicBlockOpt()
330 allocator.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in BasicBlockOpt()
723 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateNullChecksAndInferTypesStart()
964 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateClassInitChecksGate()
993 ScopedArenaAllocator allocator(&cu_->arena_stack); in EliminateClassInitChecksGate()
1149 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in ApplyGlobalValueNumberingGate()
1174 ScopedArenaAllocator allocator(&cu_->arena_stack); // Reclaim memory after each LVN. in ApplyGlobalValueNumberingEnd()
1236 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in InlineSpecialMethodsStart()
Dlocal_value_numbering.h39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator);
80 static void* operator new(size_t size, ScopedArenaAllocator* allocator) { in new()
Dmir_analysis.cc1112 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheFieldLoweringInfo()
1221 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheMethodLoweringInfo()
Dlocal_value_numbering_test.cc197 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest()
208 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dssa_transformation.cc592 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoDFSPreOrderSSARename()
Dmir_graph.cc1516 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in SSATransformationStart()
1539 const ScopedArenaVector<size_t>* visited_cnt_values, ScopedArenaAllocator* allocator, in SelectTopologicalSortOrderFallBack()
1615 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeTopologicalSortOrder()
Dmir_graph.h1164 std::unique_ptr<ScopedArenaAllocator> temp_scoped_alloc_;
Dglobal_value_numbering_test.cc341 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest()
359 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dlocal_value_numbering.cc319 ScopedArenaAllocator* allocator) in LocalValueNumbering()