Home
last modified time | relevance | path

Searched refs:arena_stack (Results 1 – 13 of 13) sorted by relevance

/art/runtime/base/
Dscoped_arena_allocator.cc108 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() argument
109 : DebugStackReference(arena_stack), in ScopedArenaAllocator()
111 ArenaAllocatorStats(*arena_stack->CurrentStats()), in ScopedArenaAllocator()
112 arena_stack_(arena_stack), in ScopedArenaAllocator()
113 mark_arena_(arena_stack->top_arena_), in ScopedArenaAllocator()
114 mark_ptr_(arena_stack->top_ptr_), in ScopedArenaAllocator()
115 mark_end_(arena_stack->top_end_) { in ScopedArenaAllocator()
Dscoped_arena_allocator.h106 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) { in Create() argument
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);
/art/compiler/dex/
Dcompiler_ir.cc46 arena_stack(pool), in CompilationUnit()
Dcompiler_ir.h191 ArenaStack arena_stack; // Arenas for ScopedArenaAllocator. member
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.cc481 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()
Dmir_graph.cc720 ScopedArenaAllocator allocator(&cu_->arena_stack); in InlineMethod()
1805 temp_scoped_alloc_.reset(ScopedArenaAllocator::Create(&cu_->arena_stack)); in SSATransformationStart()
1936 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeTopologicalSortOrder()
Dlocal_value_numbering_test.cc220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest()
Dtype_inference_test.cc508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in TypeInferenceTest()
Dglobal_value_numbering_test.cc370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest()
Dgvn_dead_code_elimination_test.cc479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GvnDeadCodeEliminationTest()
/art/compiler/dex/quick/
Dquick_compiler.cc744 if (cu.arena_stack.PeakBytesAllocated() > 1 * 1024 * 1024) { in Compile()
745 MemStats stack_stats(cu.arena_stack.GetPeakStats()); in Compile()
749 cu.arena_stack.Reset(); in Compile()