Home
last modified time | relevance | path

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

/art/runtime/base/
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();
145 DISALLOW_COPY_AND_ASSIGN(ScopedArenaAllocator);
Dscoped_arena_allocator.cc108 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()
Darena_object.h35 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
56 static void* operator new(size_t size, ScopedArenaAllocator* arena) {
Dscoped_arena_containers.h80 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
123 explicit ScopedArenaAllocatorAdapter(ScopedArenaAllocator* arena_allocator,
193 inline ScopedArenaAllocatorAdapter<void> ScopedArenaAllocator::Adapter(ArenaAllocKind kind) { in Adapter()
Darena_allocator.h34 class ScopedArenaAllocator; variable
158 friend class ScopedArenaAllocator; variable
/art/compiler/dex/
Dtype_inference.h69 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);
Dglobal_value_numbering.h51 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()
Dgvn_dead_code_elimination.h42 GvnDeadCodeElimination(const GlobalValueNumbering* gvn, ScopedArenaAllocator* alloc);
89 VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc);
Dglobal_value_numbering.cc25 GlobalValueNumbering::GlobalValueNumbering(CompilationUnit* cu, ScopedArenaAllocator* allocator, in GlobalValueNumbering()
49 ScopedArenaAllocator* allocator) { in PrepareBasicBlock()
Dtype_inference.cc153 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()
Dssa_transformation.cc70 ScopedArenaAllocator allocator(&cu_->arena_stack); in RecordDFSOrders()
177 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeDomPostOrderTraversal()
544 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoDFSPreOrderSSARename()
Dmir_optimization.cc477 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()
Dmir_analysis.cc1210 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheFieldLoweringInfo()
1343 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheMethodLoweringInfo()
Dlocal_value_numbering.h39 LocalValueNumbering(GlobalValueNumbering* gvn, BasicBlockId id, ScopedArenaAllocator* allocator);
Dlocal_value_numbering_test.cc220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest()
236 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dmir_graph.cc720 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()
Dgvn_dead_code_elimination.cc74 GvnDeadCodeElimination::VRegChains::VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc) in VRegChains()
446 ScopedArenaAllocator* alloc) in GvnDeadCodeElimination()
Dmir_graph.h1393 std::unique_ptr<ScopedArenaAllocator> temp_scoped_alloc_;
Dtype_inference_test.cc508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in TypeInferenceTest()
616 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dglobal_value_numbering_test.cc370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest()
396 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dgvn_dead_code_elimination_test.cc479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GvnDeadCodeEliminationTest()
507 std::unique_ptr<ScopedArenaAllocator> allocator_;
Dlocal_value_numbering.cc325 ScopedArenaAllocator* allocator) in LocalValueNumbering()
/art/compiler/utils/
Darena_bit_vector.cc49 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, in ArenaBitVector()
52 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) { in ArenaBitVector()
Darena_bit_vector.h26 class ScopedArenaAllocator; variable
55 ArenaBitVector(ScopedArenaAllocator* arena, uint32_t start_bits, bool expandable,
/art/runtime/
Dclass_linker.cc4778 ScopedArenaAllocator allocator(&stack); in LinkInterfaceMethods()