/art/runtime/base/ |
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(); 145 DISALLOW_COPY_AND_ASSIGN(ScopedArenaAllocator);
|
D | scoped_arena_allocator.cc | 108 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() function in art::ScopedArenaAllocator 118 ScopedArenaAllocator::~ScopedArenaAllocator() { in ~ScopedArenaAllocator() 122 void ScopedArenaAllocator::Reset() { in Reset() 126 arena_stack_->top_ptr_ = mark_ptr_ + RoundUp(sizeof(ScopedArenaAllocator), 8); in Reset() 130 void ScopedArenaAllocator::DoReset() { in DoReset()
|
D | arena_object.h | 35 static void* operator new(size_t size, ScopedArenaAllocator* arena) { 56 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
|
D | scoped_arena_containers.h | 80 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 123 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator, 193 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
|
D | arena_allocator.h | 34 class ScopedArenaAllocator; variable 158 friend class ScopedArenaAllocator; variable
|
/art/compiler/dex/ |
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);
|
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 { in Allocator() 214 ScopedArenaAllocator* const allocator_; 275 uint16_t* GlobalValueNumbering::PrepareGvnFieldIds(ScopedArenaAllocator* allocator, in PrepareGvnFieldIds()
|
D | gvn_dead_code_elimination.h | 42 GvnDeadCodeElimination(const GlobalValueNumbering* gvn, ScopedArenaAllocator* alloc); 89 VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc);
|
D | global_value_numbering.cc | 25 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator, in GlobalValueNumbering() 49 ScopedArenaAllocator* allocator) { in PrepareBasicBlock()
|
D | type_inference.cc | 153 TypeInference::CheckCastData::CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) in CheckCastData() 393 TypeInference::TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) in TypeInference() 601 ScopedArenaAllocator* alloc) { in PrepareIFieldTypes() 618 ScopedArenaAllocator* alloc) { in PrepareSFieldTypes() 631 ScopedArenaAllocator* alloc) { in Signature() 652 ScopedArenaAllocator* alloc) { in PrepareSignatures() 666 ScopedArenaAllocator* alloc) { in InitializeCheckCastData()
|
D | ssa_transformation.cc | 70 ScopedArenaAllocator allocator(&cu_->arena_stack); in RecordDFSOrders() 177 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeDomPostOrderTraversal() 544 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoDFSPreOrderSSARename()
|
D | mir_optimization.cc | 477 std::unique_ptr<ScopedArenaAllocator> allocator; in BasicBlockOpt() 481 allocator.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in BasicBlockOpt() 925 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateNullChecksGate() 1155 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in EliminateClassInitChecksGate() 1184 ScopedArenaAllocator allocator(&cu_->arena_stack); in EliminateClassInitChecksGate() 1367 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in ApplyGlobalValueNumberingGate() 1398 ScopedArenaAllocator allocator(&cu_->arena_stack); // Reclaim memory after each LVN. in ApplyGlobalValueNumberingEnd() 1505 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in InlineSpecialMethodsStart() 1627 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in BasicBlockOptimizationStart() 1939 ScopedArenaAllocator allocator(&cu_->arena_stack); in MultiplyAddOpt()
|
D | mir_analysis.cc | 1210 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheFieldLoweringInfo() 1343 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheMethodLoweringInfo()
|
D | local_value_numbering.h | 39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator);
|
D | local_value_numbering_test.cc | 220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest() 236 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | mir_graph.cc | 720 ScopedArenaAllocator allocator(&cu_->arena_stack); in InlineMethod() 1805 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in SSATransformationStart() 1860 const ScopedArenaVector<size_t>* visited_cnt_values, ScopedArenaAllocator* allocator, in SelectTopologicalSortOrderFallBack() 1936 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeTopologicalSortOrder()
|
D | gvn_dead_code_elimination.cc | 74 GvnDeadCodeElimination::VRegChains::VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc) in VRegChains() 446 ScopedArenaAllocator* alloc) in GvnDeadCodeElimination()
|
D | mir_graph.h | 1393 std::unique_ptr<ScopedArenaAllocator> temp_scoped_alloc_;
|
D | type_inference_test.cc | 508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in TypeInferenceTest() 616 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | global_value_numbering_test.cc | 370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest() 396 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | gvn_dead_code_elimination_test.cc | 479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GvnDeadCodeEliminationTest() 507 std::unique_ptr<ScopedArenaAllocator> allocator_;
|
D | local_value_numbering.cc | 325 ScopedArenaAllocator* allocator) in LocalValueNumbering()
|
/art/compiler/utils/ |
D | arena_bit_vector.cc | 49 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, in ArenaBitVector() 52 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
|
D | arena_bit_vector.h | 26 class ScopedArenaAllocator; variable 55 ArenaBitVector(ScopedArenaAllocator* arena, uint32_t start_bits, bool expandable,
|
/art/runtime/ |
D | class_linker.cc | 4778 ScopedArenaAllocator allocator(&stack); in LinkInterfaceMethods()
|