Searched refs:ScopedArenaAllocator (Results 1 – 17 of 17) sorted by relevance
/art/compiler/utils/ |
D | scoped_arena_allocator.h | 29 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);
|
D | scoped_arena_allocator.cc | 107 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() function in art::ScopedArenaAllocator 117 ScopedArenaAllocator::~ScopedArenaAllocator() { in ~ScopedArenaAllocator() 121 void ScopedArenaAllocator::Reset() { in Reset()
|
D | arena_bit_vector.cc | 51 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, in ArenaBitVector() 54 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
|
D | arena_bit_vector.h | 57 ArenaBitVector(ScopedArenaAllocator* arena, uint32_t start_bits, bool expandable, 64 static void* operator new(size_t size, ScopedArenaAllocator* arena) { in new()
|
D | scoped_arena_containers.h | 74 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 117 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 184 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
|
D | arena_allocator.h | 35 class ScopedArenaAllocator; variable 136 friend class ScopedArenaAllocator; variable
|
/art/compiler/dex/ |
D | global_value_numbering.h | 31 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_;
|
D | global_value_numbering.cc | 23 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator) in GlobalValueNumbering() 47 ScopedArenaAllocator* allocator) { in PrepareBasicBlock()
|
D | mir_optimization.cc | 326 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()
|
D | local_value_numbering.h | 39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator); 80 static void* operator new(size_t size, ScopedArenaAllocator* allocator) { in new()
|
D | mir_analysis.cc | 1112 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheFieldLoweringInfo() 1221 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheMethodLoweringInfo()
|
D | local_value_numbering_test.cc | 197 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest() 208 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | ssa_transformation.cc | 592 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoDFSPreOrderSSARename()
|
D | mir_graph.cc | 1516 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()
|
D | mir_graph.h | 1164 std::unique_ptr<ScopedArenaAllocator> temp_scoped_alloc_;
|
D | global_value_numbering_test.cc | 341 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest() 359 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | local_value_numbering.cc | 319 ScopedArenaAllocator* allocator) in LocalValueNumbering()
|