Home
last modified time | relevance | path

Searched refs:allocator_ (Results 1 – 14 of 14) sorted by relevance

/art/compiler/utils/
Ddedupe_set.h102 : allocator_(alloc), hash_time_(0) { in DedupeSet()
149 StoreKey* ret = allocator_.allocate(1); in CreateStoreKey()
150 allocator_.construct(ret, key.begin(), key.end(), allocator_); in CreateStoreKey()
155 SwapAllocator<StoreKey> alloc(allocator_); in DeleteStoreKey()
163 SwapAllocator<StoreKey> allocator_; variable
/art/compiler/optimizing/
Dssa_liveness_analysis.h137 : allocator_(allocator), in allocator_() function
167 … first_range_ = last_range_ = new (allocator_) LiveRange(start_block_position, position, nullptr); in AddUse()
177 first_range_ = new (allocator_) LiveRange(start_block_position, position, first_range_); in AddUse()
179 first_use_ = new (allocator_) UsePosition( in AddUse()
185 first_use_ = new (allocator_) UsePosition( in AddPhiUse()
191 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, first_range_); in AddRange()
198 first_range_ = new (allocator_) LiveRange(start, end, first_range_); in AddRange()
210 first_range_ = last_range_ = new (allocator_) LiveRange(start, end, nullptr); in AddLoopRange()
228 first_range_ = last_range_ = new (allocator_) LiveRange(from, from + 2, nullptr); in SetFrom()
353 LiveInterval* new_interval = new (allocator_) LiveInterval(allocator_, type_); in SplitAt()
[all …]
Dregister_allocator.cc30 : allocator_(allocator), in RegisterAllocator()
95 interval = LiveInterval::MakeFixedInterval(allocator_, reg, type); in BlockRegister()
111 registers_array_ = allocator_->AllocArray<size_t>(number_of_registers_); in AllocateRegistersInternal()
207 GrowableArray<LiveInterval*> intervals(allocator_, 0); in ValidateInternal()
222 return ValidateIntervals(intervals, spill_slots_.Size(), *codegen_, allocator_, in ValidateInternal()
687 move = new (allocator_) HParallelMove(allocator_); in AddInputMoveFor()
694 move->AddMove(new (allocator_) MoveOperands(source, destination)); in AddInputMoveFor()
715 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
730 move = new (allocator_) HParallelMove(allocator_); in InsertParallelMoveAt()
737 move->AddMove(new (allocator_) MoveOperands(source, destination)); in InsertParallelMoveAt()
[all …]
Dregister_allocator.h121 ArenaAllocator* const allocator_; variable
/art/runtime/base/
Dbit_vector.cc43 : allocator_(allocator), in BitVector()
51 storage_ = static_cast<uint32_t*>(allocator_->Alloc(storage_size_ * kWordBytes)); in BitVector()
56 allocator_->Free(storage_); in ~BitVector()
90 static_cast<uint32_t*>(allocator_->Alloc(new_size * kWordBytes)); in SetBit()
Dbit_vector.h246 Allocator* const allocator_; variable
/art/compiler/dex/quick/
Dresource_mask.h154 : allocator_(allocator) { in ResourceMaskCache()
160 ArenaAllocator* allocator_;
Dresource_mask.cc180 void* mem = allocator_->Alloc(sizeof(ResourceMask), kArenaAllocLIRResourceMask); in GetMask()
/art/compiler/dex/
Dlocal_value_numbering_test.cc192 allocator_(), in LocalValueNumberingTest()
197 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in LocalValueNumberingTest()
198 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get())); in LocalValueNumberingTest()
199 lvn_.reset(new (allocator_.get()) LocalValueNumbering(gvn_.get(), 0u, allocator_.get())); in LocalValueNumberingTest()
208 std::unique_ptr<ScopedArenaAllocator> allocator_; member in art::LocalValueNumberingTest
Dglobal_value_numbering.h204 return allocator_; in Allocator()
209 ScopedArenaAllocator* const allocator_; variable
Dglobal_value_numbering.cc26 allocator_(allocator), in GlobalValueNumbering()
63 allocator = allocator_; in PrepareBasicBlock()
Dglobal_value_numbering_test.cc252 allocator_->Alloc(def->num_uses * sizeof(BasicBlockId), kArenaAllocDFInfo)); in DoPrepareMIRs()
292 gvn_.reset(new (allocator_.get()) GlobalValueNumbering(&cu_, allocator_.get())); in DoPerformGVN()
335 allocator_(), in GlobalValueNumberingTest()
341 allocator_.reset(ScopedArenaAllocator::Create(&cu_.arena_stack)); in GlobalValueNumberingTest()
359 std::unique_ptr<ScopedArenaAllocator> allocator_; member in art::GlobalValueNumberingTest
/art/runtime/
Dmonitor_pool.cc60 void* chunk = allocator_.allocate(kChunkSize); in AllocateChunk()
Dmonitor_pool.h176 Allocator allocator_; variable