Searched refs:arena_stack (Results 1 – 13 of 13) sorted by relevance
108 ScopedArenaAllocator::ScopedArenaAllocator(ArenaStack* arena_stack) in ScopedArenaAllocator() argument109 : 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()
106 static ScopedArenaAllocator* Create(ArenaStack* arena_stack) { in Create() argument107 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);
46 arena_stack(pool), in CompilationUnit()
191 ArenaStack arena_stack; // Arenas for ScopedArenaAllocator. member
70 ScopedArenaAllocator allocator(&cu_->arena_stack); in RecordDFSOrders()177 ScopedArenaAllocator allocator(&cu_->arena_stack); in ComputeDomPostOrderTraversal()544 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoDFSPreOrderSSARename()
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()
1210 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheFieldLoweringInfo()1343 ScopedArenaAllocator allocator(&cu_->arena_stack); in DoCacheMethodLoweringInfo()
720 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()
220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest()
508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in TypeInferenceTest()
370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest()
479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GvnDeadCodeEliminationTest()
744 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()