Searched refs:allocator_ (Results 1 - 25 of 25) sorted by relevance

/art/runtime/
H A Dlinear_alloc.cc23 LinearAlloc::LinearAlloc(ArenaPool* pool) : lock_("linear alloc"), allocator_(pool) {
28 return allocator_.Realloc(ptr, old_size, new_size);
33 return allocator_.Alloc(size);
38 return allocator_.BytesUsed();
43 return allocator_.GetArenaPool();
48 return allocator_.Contains(ptr);
H A Dlinear_alloc.h52 ArenaAllocator allocator_ GUARDED_BY(lock_);
H A Dmonitor_pool.cc60 void* chunk = allocator_.allocate(kChunkSize);
H A Dmonitor_pool.h182 Allocator allocator_; member in class:art::MonitorPool
/art/compiler/optimizing/
H A Dgvn.cc39 : allocator_(allocator),
52 : allocator_(allocator),
70 buckets_[new_index] = node->Dup(allocator_, buckets_[new_index]);
86 buckets_[index] = new (allocator_) Node(instruction, hash_code, buckets_[index]);
178 clone_current = node->Dup(allocator_, nullptr);
279 ArenaAllocator* const allocator_; member in class:art::ValueSet
307 allocator_(allocator),
319 ArenaAllocator* const allocator_; member in class:art::GlobalValueNumberer
332 sets_.Put(graph_->GetEntryBlock()->GetBlockId(), new (allocator_) ValueSet(allocator_));
[all...]
H A Dgraph_checker.h32 allocator_(allocator),
78 ArenaAllocator* const allocator_; member in class:art::GraphChecker
H A Dssa_liveness_analysis.h239 first_use_ = new (allocator_) UsePosition(
282 UsePosition* new_use = new (allocator_) UsePosition(
292 first_env_use_ = new (allocator_) UsePosition(
295 first_use_ = new (allocator_) UsePosition(
309 new (allocator_) LiveRange(start_block_position, position, nullptr);
325 new (allocator_) LiveRange(start_block_position, position, first_range_);
334 first_use_ = new (allocator_) UsePosition(
341 new (allocator_) LiveRange(start, end, first_range_);
350 first_range_ = range_search_start_ = new (allocator_) LiveRange(start, end, first_range_);
368 new (allocator_) LiveRang
1016 ArenaAllocator* const allocator_; member in class:art::LiveInterval
[all...]
H A Dparallel_move_resolver.h124 pending_moves_(allocator, 8), allocator_(allocator) {}
189 ArenaAllocator* const allocator_; member in class:art::ParallelMoveResolverNoSwap
H A Dregister_allocator.cc43 : allocator_(allocator),
139 interval = LiveInterval::MakeFixedInterval(allocator_, reg, type);
165 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_);
185 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_);
217 LiveInterval::MakeTempInterval(allocator_, Primitive::kPrimInt);
226 LiveInterval::MakeTempInterval(allocator_, Primitive::kPrimDouble);
268 LiveInterval* interval = LiveInterval::MakeSlowPathInterval(allocator_, instruction);
429 GrowableArray<LiveInterval*> intervals(allocator_, 0);
461 allocator_, processing_core_registers_, log_fatal_on_failure);
1324 move = new (allocator_) HParallelMov
[all...]
H A Dstack_map_stream.h63 : allocator_(allocator),
135 ArenaAllocator* allocator_; member in class:art::StackMapStream
H A Dstack_map_stream.cc40 new (allocator_) ArenaBitVector(allocator_, num_dex_registers, true);
312 GrowableArray<uint32_t> stack_map_indices(allocator_, 1);
H A Dregister_allocator.h159 ArenaAllocator* const allocator_; member in class:art::RegisterAllocator
H A Dbounds_check_elimination.cc416 : allocator_(allocator), lower_(lower), upper_(upper) {}
425 ArenaAllocator* GetAllocator() const { return allocator_; }
453 return new (allocator_) ValueRange(
454 allocator_,
474 return new (allocator_) ValueRange(allocator_, lower, upper);
478 ArenaAllocator* const allocator_; member in class:art::ValueRange
H A Dparallel_move_resolver.cc511 pending_moves_.Add(new (allocator_) MoveOperands(source, destination, type, nullptr));
/art/compiler/utils/
H A Ddedupe_set.h103 : allocator_(alloc), hash_time_(0) {
150 StoreKey* ret = allocator_.allocate(1);
151 allocator_.construct(ret, key.begin(), key.end(), allocator_);
156 SwapAllocator<StoreKey> alloc(allocator_);
164 SwapAllocator<StoreKey> allocator_; member in class:art::DedupeSet
/art/runtime/base/
H A Dbit_vector.cc33 allocator_(allocator),
63 allocator_->Free(storage_);
360 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes));
367 allocator_->Free(storage_);
376 return allocator_;
H A Dbit_vector.h268 Allocator* const allocator_; // Allocator if expandable. member in class:art::BitVector
/art/compiler/dex/quick/
H A Dresource_mask.h158 : allocator_(allocator) {
164 ArenaAllocator* allocator_; member in class:art::ResourceMaskCache
H A Dresource_mask.cc182 void* mem = allocator_->Alloc(sizeof(ResourceMask), kArenaAllocLIRResourceMask);
/art/compiler/dex/
H A Dglobal_value_numbering.cc29 allocator_(allocator),
68 allocator = allocator_;
H A Dglobal_value_numbering.h209 return allocator_;
214 ScopedArenaAllocator* const allocator_; member in class:art::GlobalValueNumbering
H A Dlocal_value_numbering_test.cc196 allocator_.get(), cu_.mir_graph->ifield_lowering_infos_);
198 allocator_.get(), cu_.mir_graph->sfield_lowering_infos_);
199 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(),
201 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get()));
215 allocator_(),
220 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack));
236 std::unique_ptr<ScopedArenaAllocator> allocator_; member in class:art::LocalValueNumberingTest
H A Dgvn_dead_code_elimination_test.cc283 allocator_->AllocArray<BasicBlockId>(def->num_uses, kArenaAllocDFInfo);
354 allocator_.get(), cu_.mir_graph->ifield_lowering_infos_);
356 allocator_.get(), cu_.mir_graph->sfield_lowering_infos_);
358 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(),
423 dce_.reset(new (allocator_.get()) GvnDeadCodeElimination(gvn_.get(), allocator_.get()));
472 allocator_(),
479 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack));
507 std::unique_ptr<ScopedArenaAllocator> allocator_; member in class:art::GvnDeadCodeEliminationTest
[all...]
H A Dglobal_value_numbering_test.cc255 allocator_->AllocArray<BasicBlockId>(def->num_uses, kArenaAllocDFInfo);
318 allocator_.get(), cu_.mir_graph->ifield_lowering_infos_);
320 allocator_.get(), cu_.mir_graph->sfield_lowering_infos_);
322 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get(),
364 allocator_(),
370 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack));
396 std::unique_ptr<ScopedArenaAllocator> allocator_; member in class:art::GlobalValueNumberingTest
H A Dtype_inference_test.cc416 allocator_->AllocArray<BasicBlockId>(def->num_uses, kArenaAllocDFInfo);
478 type_inference_.reset(new (allocator_.get()) TypeInference(cu_.mir_graph.get(),
479 allocator_.get()));
495 allocator_(),
508 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack));
616 std::unique_ptr<ScopedArenaAllocator> allocator_; member in class:art::TypeInferenceTest

Completed in 3901 milliseconds