Searched refs:arena_ (Results 1 - 22 of 22) sorted by relevance

/art/compiler/dex/
H A Dbackend.h32 explicit Backend(ArenaAllocator* arena) : arena_(arena) {}
33 ArenaAllocator* const arena_; member in class:art::Backend
H A Dssa_transformation.cc91 dfs_order_ = new (arena_) GrowableArray<int>(arena_, GetNumBlocks(), kGrowableArrayDfsOrder);
99 dfs_post_order_ = new (arena_) GrowableArray<int>(arena_, GetNumBlocks(), kGrowableArrayDfsPostOrder);
139 (arena_->Alloc(sizeof(ArenaBitVector *) * num_registers,
146 new (arena_) ArenaBitVector(arena_, GetNumBlocks(), false, kBitMapBMatrix);
172 new (arena_) GrowableArray<int>(arena_, num_reachable_blocks_,
180 work_stack.push_back(std::make_pair(bb, new (arena_) ArenaBitVecto
[all...]
H A Dgrowable_array.h80 : arena_(arena),
84 elem_list_ = static_cast<T*>(arena_->Alloc(sizeof(T) * init_length,
98 T* new_array = static_cast<T*>(arena_->Alloc(sizeof(T) * target_length,
161 ArenaAllocator* const arena_; member in class:art::GrowableArray
H A Darena_allocator.h146 arena_.DumpMemStats(os);
148 explicit MemStats(const ArenaAllocator &arena) : arena_(arena) {}
150 const ArenaAllocator &arena_; member in struct:art::MemStats
H A Darena_bit_vector.cc34 : arena_(arena),
38 storage_(static_cast<uint32_t*>(arena_->Alloc(storage_size_ * sizeof(uint32_t),
71 static_cast<uint32_t*>(arena_->Alloc(new_size * sizeof(uint32_t),
H A Dmir_dataflow.cc875 new (arena_) ArenaBitVector(arena_, cu_->num_dalvik_registers, false, kBitMapUse);
877 new (arena_) ArenaBitVector(arena_, cu_->num_dalvik_registers, false, kBitMapDef);
879 new (arena_) ArenaBitVector(arena_, cu_->num_dalvik_registers, false, kBitMapLiveIn);
957 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses,
960 mir->ssa_rep->fp_use = static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses,
975 mir->ssa_rep->uses = static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses,
978 mir->ssa_rep->fp_use = static_cast<bool*>(arena_
[all...]
H A Dmir_graph.cc111 arena_(arena) {
112 try_block_addr_ = new (arena_) ArenaBitVector(arena_, 0, true /* expandable */);
396 new (arena_) GrowableArray<SuccessorBlockInfo*>(arena_, size, kGrowableArraySuccessorBlocks);
402 static_cast<SuccessorBlockInfo*>(arena_->Alloc(sizeof(SuccessorBlockInfo),
437 new (arena_) GrowableArray<SuccessorBlockInfo*>(arena_, 2, kGrowableArraySuccessorBlocks);
447 (arena_->Alloc(sizeof(SuccessorBlockInfo), ArenaAllocator::kAllocSuccessor));
493 MIR* new_insn = static_cast<MIR*>(arena_
[all...]
H A Dmir_optimization.cc96 is_constant_v_ = new (arena_) ArenaBitVector(arena_, GetNumSSARegs(), false);
97 constant_values_ = static_cast<int*>(arena_->Alloc(sizeof(int) * GetNumSSARegs(),
402 static_cast<int*>(arena_->Alloc(sizeof(int) * 3, ArenaAllocator::kAllocDFInfo));
411 static_cast<int*>(arena_->Alloc(sizeof(int) * 1, ArenaAllocator::kAllocDFInfo));
413 static_cast<bool*>(arena_->Alloc(sizeof(bool) * 1, ArenaAllocator::kAllocDFInfo));
417 static_cast<bool*>(arena_->Alloc(sizeof(bool) * mir->ssa_rep->num_uses,
474 new (arena_) ArenaBitVector(arena_, GetNumSSARegs(), false, kBitMapNullCheck);
805 static_cast<Checkstats*>(arena_
[all...]
H A Darena_bit_vector.h116 ArenaAllocator* const arena_; member in class:art::ArenaBitVector
H A Dmir_graph.h425 return arena_;
429 opcode_count_ = static_cast<int*>(arena_->Alloc(kNumPackedOpcodes * sizeof(int),
722 ArenaAllocator* arena_; member in class:art::MIRGraph
H A Dvreg_analysis.cc377 RegLocation* loc = static_cast<RegLocation*>(arena_->Alloc(GetNumSSARegs() * sizeof(*loc),
/art/compiler/dex/quick/mips/
H A Dcall_mips.cc70 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
75 static_cast<LIR**>(arena_->Alloc(elements * sizeof(LIR*), ArenaAllocator::kAllocLIR));
149 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
153 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*),
229 reinterpret_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData),
H A Dtarget_mips.cc465 reg_pool_ = static_cast<RegisterPool*>(arena_->Alloc(sizeof(*reg_pool_),
469 (arena_->Alloc(num_regs * sizeof(*reg_pool_->core_regs), ArenaAllocator::kAllocRegAlloc));
472 (arena_->Alloc(num_fp_regs * sizeof(*reg_pool_->FPRegs), ArenaAllocator::kAllocRegAlloc));
/art/compiler/dex/quick/x86/
H A Dcall_x86.cc77 static_cast<SwitchTable *>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
81 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*),
133 static_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), ArenaAllocator::kAllocData));
H A Dtarget_x86.cc441 reg_pool_ = static_cast<RegisterPool*>(arena_->Alloc(sizeof(*reg_pool_),
445 static_cast<RegisterInfo*>(arena_->Alloc(num_regs * sizeof(*reg_pool_->core_regs),
449 static_cast<RegisterInfo *>(arena_->Alloc(num_fp_regs * sizeof(*reg_pool_->FPRegs),
/art/compiler/dex/quick/arm/
H A Dcall_arm.cc319 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
323 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*),
367 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
372 static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), ArenaAllocator::kAllocLIR));
420 static_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), ArenaAllocator::kAllocData));
H A Dtarget_arm.cc541 reg_pool_ = static_cast<RegisterPool*>(arena_->Alloc(sizeof(*reg_pool_),
545 (arena_->Alloc(num_regs * sizeof(*reg_pool_->core_regs), ArenaAllocator::kAllocRegAlloc));
548 (arena_->Alloc(num_fp_regs * sizeof(*reg_pool_->FPRegs), ArenaAllocator::kAllocRegAlloc));
/art/compiler/dex/quick/
H A Dlocal_optimizations.cc252 static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
449 static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
H A Dmir_to_lir-inl.h43 LIR* insn = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
H A Dcodegen_util.cc324 LIR* new_value = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocData));
798 LIR* new_label = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
966 (arena_->Alloc((cu_->num_dalvik_registers + cu_->num_compiler_temps + 1) *
H A Dralloc_util.cc974 static_cast<RefCounts*>(arena_->Alloc(sizeof(RefCounts) * num_regs,
977 static_cast<RefCounts *>(arena_->Alloc(sizeof(RefCounts) * num_regs,
H A Dmir_to_lir.cc815 static_cast<LIR*>(arena_->Alloc(sizeof(LIR) * mir_graph_->GetNumBlocks(),

Completed in 9504 milliseconds