HomeSort by relevance Sort by last modified time
    Searched refs:ArenaAllocator (Results 1 - 25 of 30) sorted by null

1 2

  /art/compiler/dex/
backend.h 32 explicit Backend(ArenaAllocator* arena) : arena_(arena) {}
33 ArenaAllocator* const arena_;
arena_allocator.h 31 class ArenaAllocator;
62 friend class ArenaAllocator;
79 class ArenaAllocator {
101 explicit ArenaAllocator(ArenaPool* pool);
102 ~ArenaAllocator();
140 DISALLOW_COPY_AND_ASSIGN(ArenaAllocator);
141 }; // ArenaAllocator
148 explicit MemStats(const ArenaAllocator &arena) : arena_(arena) {}
150 const ArenaAllocator &arena_;
arena_bit_vector.h 69 static void* operator new(size_t size, ArenaAllocator* arena) {
71 ArenaAllocator::kAllocGrowableBitMap);
82 ArenaBitVector(ArenaAllocator* arena, unsigned int start_bits, bool expandable,
86 static void* operator new(size_t size, ArenaAllocator* arena) {
87 return arena->Alloc(sizeof(ArenaBitVector), ArenaAllocator::kAllocGrowableBitMap);
116 ArenaAllocator* const arena_;
growable_array.h 69 static void* operator new(size_t size, ArenaAllocator* arena) {
70 return arena->Alloc(sizeof(GrowableArray::Iterator), ArenaAllocator::kAllocGrowableArray);
79 GrowableArray(ArenaAllocator* arena, size_t init_length, OatListKind kind = kGrowableArrayMisc)
85 ArenaAllocator::kAllocGrowableArray));
99 ArenaAllocator::kAllocGrowableArray));
155 static void* operator new(size_t size, ArenaAllocator* arena) {
156 return arena->Alloc(sizeof(GrowableArray<T>), ArenaAllocator::kAllocGrowableArray);
161 ArenaAllocator* const arena_;
arena_allocator.cc 29 static const char* alloc_names[ArenaAllocator::kNumAllocKinds] = {
117 size_t ArenaAllocator::BytesAllocated() const {
125 ArenaAllocator::ArenaAllocator(ArenaPool* pool)
135 void ArenaAllocator::UpdateBytesAllocated() {
143 ArenaAllocator::~ArenaAllocator() {
153 void ArenaAllocator::ObtainNewArenaForAllocation(size_t allocation_size) {
164 void ArenaAllocator::DumpMemStats(std::ostream& os) const {
arena_bit_vector.cc 32 ArenaBitVector::ArenaBitVector(ArenaAllocator* arena, unsigned int start_bits,
39 ArenaAllocator::kAllocGrowableBitMap))) {
72 ArenaAllocator::kAllocGrowableBitMap));
compiler_ir.h 108 ArenaAllocator arena;
ssa_transformation.cc 140 ArenaAllocator::kAllocDFInfo));
388 ArenaAllocator::kAllocDFInfo));
567 static_cast<MIR*>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocDFInfo));
613 static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, ArenaAllocator::kAllocDFInfo));
615 static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_uses, ArenaAllocator::kAllocDFInfo));
617 static_cast<int*>(arena_->Alloc(sizeof(int) * num_uses, ArenaAllocator::kAllocDFInfo));
644 static_cast<int*>(arena_->Alloc(map_size, ArenaAllocator::kAllocDalvikToSSAMap));
mir_dataflow.cc 958 ArenaAllocator::kAllocDFInfo));
961 ArenaAllocator::kAllocDFInfo));
976 ArenaAllocator::kAllocDFInfo));
979 ArenaAllocator::kAllocDFInfo));
995 ArenaAllocator::kAllocDFInfo));
1045 ArenaAllocator::kAllocDFInfo));
1047 ArenaAllocator::kAllocDFInfo));
1062 ArenaAllocator::kAllocDFInfo));
1064 ArenaAllocator::kAllocDFInfo));
1113 ArenaAllocator::kAllocDFInfo))
    [all...]
mir_graph.cc 74 MIRGraph::MIRGraph(CompilationUnit* cu, ArenaAllocator* arena)
403 ArenaAllocator::kAllocSuccessor));
447 (arena_->Alloc(sizeof(SuccessorBlockInfo), ArenaAllocator::kAllocSuccessor));
493 MIR* new_insn = static_cast<MIR*>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocMIR));
574 static_cast<bool*>(arena_->Alloc(sizeof(bool) * num_patterns, ArenaAllocator::kAllocMisc));
579 MIR *insn = static_cast<MIR *>(arena_->Alloc(sizeof(MIR), ArenaAllocator::kAllocMIR));
    [all...]
mir_graph.h 346 MIRGraph(CompilationUnit* cu, ArenaAllocator* arena);
424 ArenaAllocator* GetArena() {
430 ArenaAllocator::kAllocMisc));
722 ArenaAllocator* arena_;
mir_optimization.cc 98 ArenaAllocator::kAllocDFInfo));
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));
418 ArenaAllocator::kAllocDFInfo));
805 static_cast<Checkstats*>(arena_->Alloc(sizeof(Checkstats), ArenaAllocator::kAllocDFInfo));
    [all...]
  /art/compiler/dex/quick/mips/
call_mips.cc 70 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));
154 ArenaAllocator::kAllocLIR));
230 ArenaAllocator::kAllocData));
target_mips.cc 466 ArenaAllocator::kAllocRegAlloc));
469 (arena_->Alloc(num_regs * sizeof(*reg_pool_->core_regs), ArenaAllocator::kAllocRegAlloc));
472 (arena_->Alloc(num_fp_regs * sizeof(*reg_pool_->FPRegs), ArenaAllocator::kAllocRegAlloc));
545 MipsMir2Lir::MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena)
557 ArenaAllocator* const arena) {
codegen_mips.h 27 MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
  /art/compiler/dex/quick/x86/
call_x86.cc 77 static_cast<SwitchTable *>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
82 ArenaAllocator::kAllocLIR));
133 static_cast<FillArrayData*>(arena_->Alloc(sizeof(FillArrayData), ArenaAllocator::kAllocData));
target_x86.cc 442 ArenaAllocator::kAllocRegAlloc));
446 ArenaAllocator::kAllocRegAlloc));
450 ArenaAllocator::kAllocRegAlloc));
510 X86Mir2Lir::X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena)
522 ArenaAllocator* const arena) {
  /art/compiler/dex/quick/arm/
call_arm.cc 319 static_cast<SwitchTable*>(arena_->Alloc(sizeof(SwitchTable), ArenaAllocator::kAllocData));
324 ArenaAllocator::kAllocLIR));
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));
target_arm.cc 492 ArmMir2Lir::ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena)
505 ArenaAllocator* const arena) {
542 ArenaAllocator::kAllocRegAlloc));
545 (arena_->Alloc(num_regs * sizeof(*reg_pool_->core_regs), ArenaAllocator::kAllocRegAlloc));
548 (arena_->Alloc(num_fp_regs * sizeof(*reg_pool_->FPRegs), ArenaAllocator::kAllocRegAlloc));
codegen_arm.h 26 ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
  /art/compiler/dex/portable/
mir_to_gbc.h 40 ArenaAllocator* const arena,
46 MirConverter(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena,
  /art/compiler/dex/quick/
local_optimizations.cc 252 static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
449 static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
mir_to_lir-inl.h 43 LIR* insn = static_cast<LIR*>(arena_->Alloc(sizeof(LIR), ArenaAllocator::kAllocLIR));
mir_to_lir.h 132 ArenaAllocator* const arena);
134 ArenaAllocator* const arena);
136 ArenaAllocator* const arena);
    [all...]
codegen_util.cc 324 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));
    [all...]

Completed in 152 milliseconds

1 2