/art/runtime/base/ |
H A D | scoped_arena_allocator.h | 29 class ScopedArenaAllocator; 34 // Holds a list of Arenas for use by ScopedArenaAllocator stack. 65 // Private - access via ScopedArenaAllocator or ScopedArenaAllocatorAdapter. 93 friend class ScopedArenaAllocator; 100 class ScopedArenaAllocator class in namespace:art 103 // Create a ScopedArenaAllocator directly on the ArenaStack when the scope of 106 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) { 107 void* addr = arena_stack->Alloc(sizeof(ScopedArenaAllocator), kArenaAllocMisc); 108 ScopedArenaAllocator* allocator = new(addr) ScopedArenaAllocator(arena_stac [all...] |
H A D | arena_object.h | 35 static void* operator new(size_t size, ScopedArenaAllocator* arena) { 56 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
|
H A D | scoped_arena_allocator.cc | 71 // top_ptr_ shall be updated by ScopedArenaAllocator. 85 // much memory to zero out. Though ScopedArenaAllocator doesn't guarantee the memory is 108 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) function in class:art::ScopedArenaAllocator 118 ScopedArenaAllocator::~ScopedArenaAllocator() { 122 void ScopedArenaAllocator::Reset() { 126 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); 130 void ScopedArenaAllocator::DoReset() {
|
H A D | scoped_arena_containers.h | 32 // Adapter for use of ScopedArenaAllocator in STL containers. 33 // Use ScopedArenaAllocator::Adapter() to create an adapter to pass to container constructors. 35 // void foo(ScopedArenaAllocator* allocator) { 80 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 123 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 193 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) {
|
H A D | arena_allocator.h | 34 class ScopedArenaAllocator; 158 friend class ScopedArenaAllocator;
|
/art/compiler/utils/ |
H A D | arena_bit_vector.cc | 49 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, 52 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) {
|
H A D | arena_bit_vector.h | 26 class ScopedArenaAllocator; 55 ArenaBitVector(ScopedArenaAllocator* arena, uint32_t start_bits, bool expandable,
|
/art/compiler/dex/ |
H A D | global_value_numbering.h | 51 static uint16_t* PrepareGvnFieldIds(ScopedArenaAllocator* allocator, 54 GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator, Mode mode); 67 ScopedArenaAllocator* allocator = nullptr); 208 ScopedArenaAllocator* Allocator() const { 214 ScopedArenaAllocator* const allocator_; 275 uint16_t* GlobalValueNumbering::PrepareGvnFieldIds(ScopedArenaAllocator* allocator,
|
H A D | type_inference.h | 69 TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc); 372 CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc); 396 ScopedArenaAllocator* const alloc_; 411 ScopedArenaAllocator* alloc); 413 ScopedArenaAllocator* alloc); 415 ScopedArenaAllocator* alloc); 417 ScopedArenaAllocator* alloc); 418 static CheckCastData* InitializeCheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc);
|
H A D | gvn_dead_code_elimination.h | 42 GvnDeadCodeElimination(const GlobalValueNumbering* gvn, ScopedArenaAllocator* alloc); 89 VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc);
|
H A D | global_value_numbering.cc | 25 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator, 49 ScopedArenaAllocator* allocator) {
|
H A D | ssa_transformation.cc | 70 ScopedArenaAllocator allocator(&cu_->arena_stack); 177 ScopedArenaAllocator allocator(&cu_->arena_stack); 544 ScopedArenaAllocator allocator(&cu_->arena_stack);
|
H A D | type_inference.cc | 153 TypeInference::CheckCastData::CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) 393 TypeInference::TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) 601 ScopedArenaAllocator* alloc) { 618 ScopedArenaAllocator* alloc) { 631 ScopedArenaAllocator* alloc) { 652 ScopedArenaAllocator* alloc) { 666 ScopedArenaAllocator* alloc) {
|
H A D | mir_optimization.cc | 477 std::unique_ptr<ScopedArenaAllocator> allocator; 481 allocator.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 925 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 1155 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 1165 // ScopedArenaAllocator. 1184 ScopedArenaAllocator allocator(&cu_->arena_stack); 1367 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 1398 ScopedArenaAllocator allocator(&cu_->arena_stack); // Reclaim memory after each LVN. 1505 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 1627 temp_scoped_alloc_.reset(ScopedArenaAllocator [all...] |
H A D | local_value_numbering.h | 39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator);
|
H A D | mir_analysis.cc | 1210 ScopedArenaAllocator allocator(&cu_->arena_stack); 1343 ScopedArenaAllocator allocator(&cu_->arena_stack);
|
H A D | mir_graph.cc | 720 ScopedArenaAllocator allocator(&cu_->arena_stack); 1805 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); 1860 const ScopedArenaVector<size_t>* visited_cnt_values, ScopedArenaAllocator* allocator, 1936 ScopedArenaAllocator allocator(&cu_->arena_stack);
|
H A D | gvn_dead_code_elimination.cc | 74 GvnDeadCodeElimination::VRegChains::VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc) 446 ScopedArenaAllocator* alloc)
|
H A D | local_value_numbering_test.cc | 220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); 236 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
H A D | mir_graph.h | 1393 std::unique_ptr<ScopedArenaAllocator> temp_scoped_alloc_;
|
H A D | global_value_numbering_test.cc | 370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); 396 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
H A D | gvn_dead_code_elimination_test.cc | 479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); 507 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
H A D | type_inference_test.cc | 508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); 616 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
H A D | local_value_numbering.cc | 325 ScopedArenaAllocator* allocator)
|
/art/runtime/ |
H A D | class_linker.cc | 4791 ScopedArenaAllocator allocator(&stack);
|