Searched defs:arena (Results 1 - 22 of 22) sorted by relevance

/art/compiler/optimizing/
H A Dintrinsics_arm.h36 explicit IntrinsicLocationsBuilderARM(ArenaAllocator* arena, argument
38 : arena_(arena), features_(features) {}
H A Dintrinsics_arm64.h40 explicit IntrinsicLocationsBuilderARM64(ArenaAllocator* arena) : arena_(arena) {} argument
H A Dlocations.cc41 ArenaAllocator* arena = instruction->GetBlock()->GetGraph()->GetArena(); local
42 stack_mask_ = new (arena) ArenaBitVector(arena, 0, true);
H A Dfind_loops_test.cc46 ArenaPool arena; local
47 ArenaAllocator allocator(&arena);
59 ArenaPool arena; local
60 ArenaAllocator allocator(&arena);
75 ArenaPool arena; local
76 ArenaAllocator allocator(&arena);
92 ArenaPool arena; local
93 ArenaAllocator allocator(&arena);
107 ArenaPool arena; local
108 ArenaAllocator allocator(&arena);
153 ArenaPool arena; local
181 ArenaPool arena; local
206 ArenaPool arena; local
232 ArenaPool arena; local
258 ArenaPool arena; local
283 ArenaPool arena; local
314 ArenaPool arena; local
344 ArenaPool arena; local
359 ArenaPool arena; local
[all...]
H A Dintrinsics_arm.cc140 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
141 LocationSummary* locations = new (arena) LocationSummary(invoke,
148 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
149 LocationSummary* locations = new (arena) LocationSummary(invoke,
208 static void CreateIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
209 LocationSummary* locations = new (arena) LocationSummary(invoke,
216 static void CreateFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
217 LocationSummary* locations = new (arena) LocationSummary(invoke,
252 static void CreateIntToIntPlusTemp(ArenaAllocator* arena, HInvoke* invoke) { argument
253 LocationSummary* locations = new (arena) LocationSummar
324 CreateIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
414 CreateIntIntToVoidLocations(ArenaAllocator* arena, HInvoke* invoke) argument
512 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
560 CreateIntIntIntIntToVoid(ArenaAllocator* arena, const ArmInstructionSetFeatures& features, Primitive::Type type, bool is_volatile, HInvoke* invoke) argument
692 CreateIntIntIntIntIntToIntPlusTemps(ArenaAllocator* arena, HInvoke* invoke) argument
[all...]
H A Dintrinsics_arm64.cc149 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
150 LocationSummary* locations = new (arena) LocationSummary(invoke,
157 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
158 LocationSummary* locations = new (arena) LocationSummary(invoke,
207 static void CreateIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
208 LocationSummary* locations = new (arena) LocationSummary(invoke,
287 static void CreateFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
288 LocationSummary* locations = new (arena) LocationSummary(invoke,
321 static void CreateIntToInt(ArenaAllocator* arena, HInvoke* invoke) { argument
322 LocationSummary* locations = new (arena) LocationSummar
376 CreateFPFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) argument
433 CreateIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
514 CreateFPToIntPlusTempLocations(ArenaAllocator* arena, HInvoke* invoke) argument
598 CreateIntIntToVoidLocations(ArenaAllocator* arena, HInvoke* invoke) argument
685 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
733 CreateIntIntIntIntToVoid(ArenaAllocator* arena, HInvoke* invoke) argument
832 CreateIntIntIntIntIntToInt(ArenaAllocator* arena, HInvoke* invoke) argument
[all...]
H A Dintrinsics_x86.cc170 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke, bool is64bit) { argument
171 LocationSummary* locations = new (arena) LocationSummary(invoke,
181 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke, bool is64bit) { argument
182 LocationSummary* locations = new (arena) LocationSummary(invoke,
252 static void CreateIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
253 LocationSummary* locations = new (arena) LocationSummary(invoke,
260 static void CreateLongToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
261 LocationSummary* locations = new (arena) LocationSummary(invoke,
268 static void CreateLongToLongLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
269 LocationSummary* locations = new (arena) LocationSummar
337 CreateFloatToFloat(ArenaAllocator* arena, HInvoke* invoke) argument
396 CreateAbsIntLocation(ArenaAllocator* arena, HInvoke* invoke) argument
424 CreateAbsLongLocation(ArenaAllocator* arena, HInvoke* invoke) argument
561 CreateFPFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) argument
659 CreateIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
668 CreateLongLongToLongLocations(ArenaAllocator* arena, HInvoke* invoke) argument
711 CreateFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) argument
746 CreateSSE41FPToFPLocations(ArenaAllocator* arena, HInvoke* invoke, CodeGeneratorX86* codegen) argument
1222 CreateLongIntToVoidLocations(ArenaAllocator* arena, Primitive::Type size, HInvoke* invoke) argument
1361 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke, bool is_long, bool is_volatile) argument
1422 CreateIntIntIntIntToVoidPlusTempsLocations(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke, bool is_volatile) argument
1541 CreateIntIntIntIntIntToInt(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
[all...]
H A Dintrinsics_x86_64.cc161 static void CreateFPToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
162 LocationSummary* locations = new (arena) LocationSummary(invoke,
169 static void CreateIntToFPLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
170 LocationSummary* locations = new (arena) LocationSummary(invoke,
217 static void CreateIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) { argument
218 LocationSummary* locations = new (arena) LocationSummary(invoke,
276 static void CreateFloatToFloatPlusTemps(ArenaAllocator* arena, HInvoke* invoke) { argument
278 LocationSummary* locations = new (arena) LocationSummary(invoke,
341 static void CreateIntToIntPlusTemp(ArenaAllocator* arena, HInvoke* invoke) { argument
342 LocationSummary* locations = new (arena) LocationSummar
472 CreateFPFPToFP(ArenaAllocator* arena, HInvoke* invoke) argument
547 CreateIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
588 CreateFPToFPLocations(ArenaAllocator* arena, HInvoke* invoke) argument
623 CreateSSE41FPToFPLocations(ArenaAllocator* arena, HInvoke* invoke, CodeGeneratorX86_64* codegen) argument
680 CreateSSE41FPToIntLocations(ArenaAllocator* arena, HInvoke* invoke, CodeGeneratorX86_64* codegen) argument
1148 CreateIntIntToVoidLocations(ArenaAllocator* arena, HInvoke* invoke) argument
1268 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke) argument
1318 CreateIntIntIntIntToVoidPlusTempsLocations(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
1418 CreateIntIntIntIntIntToInt(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
[all...]
H A Dnodes.h120 HGraph(ArenaAllocator* arena, argument
126 : arena_(arena),
127 blocks_(arena, kDefaultNumberOfBlocks),
128 reverse_post_order_(arena, kDefaultNumberOfBlocks),
129 linear_order_(arena, kDefaultNumberOfBlocks),
143 cached_int_constants_(std::less<int32_t>(), arena->Adapter()),
144 cached_float_constants_(std::less<int32_t>(), arena->Adapter()),
145 cached_long_constants_(std::less<int64_t>(), arena->Adapter()),
146 cached_double_constants_(std::less<int64_t>(), arena->Adapter()) {}
931 HUseListNode<T>* AddUse(T user, size_t index, ArenaAllocator* arena) { argument
1116 HEnvironment(ArenaAllocator* arena, size_t number_of_vregs, const DexFile& dex_file, uint32_t method_idx, uint32_t dex_pc) argument
2411 HInvoke(ArenaAllocator* arena, uint32_t number_of_arguments, uint32_t number_of_other_inputs, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index) argument
2454 HInvokeStaticOrDirect(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, bool is_recursive, int32_t string_init_offset, InvokeType original_invoke_type, InvokeType invoke_type, ClinitCheckRequirement clinit_check_requirement) argument
2554 HInvokeVirtual(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, uint32_t vtable_index) argument
2580 HInvokeInterface(ArenaAllocator* arena, uint32_t number_of_arguments, Primitive::Type return_type, uint32_t dex_pc, uint32_t dex_method_index, uint32_t imt_index) argument
3026 HPhi(ArenaAllocator* arena, uint32_t reg_number, size_t number_of_inputs, Primitive::Type type) argument
3897 HParallelMove(ArenaAllocator* arena) argument
[all...]
/art/compiler/utils/
H A Darena_bit_vector.cc28 explicit ArenaBitVectorAllocator(ArenaAlloc* arena) : arena_(arena) {} argument
42 ArenaBitVector::ArenaBitVector(ArenaAllocator* arena, unsigned int start_bits, argument
45 new (arena) ArenaBitVectorAllocator<ArenaAllocator>(arena)), kind_(kind) {
49 ArenaBitVector::ArenaBitVector(ScopedArenaAllocator* arena, unsigned int start_bits, argument
52 new (arena) ArenaBitVectorAllocator<ScopedArenaAllocator>(arena)), kind_(kind) {
H A Dgrowable_array.h32 GrowableArray(ArenaAllocator* arena, size_t init_length) argument
33 : arena_(arena),
39 GrowableArray(ArenaAllocator* arena, size_t init_length, T initial_data) argument
40 : arena_(arena),
/art/runtime/base/
H A Darena_object.h26 // Parent for arena allocated objects giving appropriate new and delete operators.
35 static void* operator new(size_t size, ScopedArenaAllocator* arena) { argument
36 return arena->Alloc(size, kAllocKind);
46 // Parent for arena allocated objects that get deleted, gives appropriate new and delete operators.
47 // Currently this is used by the quick compiler for debug reference counting arena allocations.
56 static void* operator new(size_t size, ScopedArenaAllocator* arena) { argument
57 return arena->Alloc(size, kAllocKind);
H A Darena_allocator.cc98 for (const Arena* arena = first; arena != nullptr; arena = arena->next_) {
99 malloc_bytes += arena->Size();
100 lost_bytes += arena->RemainingSpace();
103 // The lost_bytes_adjustment is used to make up for the fact that the current arena
176 auto* arena = free_arenas_; local
178 delete arena;
204 for (auto* arena
[all...]
/art/compiler/dex/
H A Dcompiler_ir.h190 ArenaAllocator arena; member in struct:art::CompilationUnit
H A Dmir_graph.cc83 MIRGraph::MIRGraph(CompilationUnit* cu, ArenaAllocator* arena) argument
85 block_id_map_(std::less<unsigned int>(), arena->Adapter()),
87 ssa_base_vregs_(arena->Adapter(kArenaAllocSSAToDalvikMap)),
88 ssa_subscripts_(arena->Adapter(kArenaAllocSSAToDalvikMap)),
93 use_counts_(arena->Adapter()),
94 raw_use_counts_(arena->Adapter()),
101 dfs_order_(arena->Adapter(kArenaAllocDfsPreOrder)),
102 dfs_post_order_(arena->Adapter(kArenaAllocDfsPostOrder)),
103 dom_post_order_traversal_(arena->Adapter(kArenaAllocDomPostOrder)),
104 topological_order_(arena
2173 ArenaAllocator* arena = mir_graph->GetArena(); local
[all...]
/art/compiler/dex/quick/arm/
H A Dtarget_arm.cc576 ArmMir2Lir::ArmMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument
577 : Mir2Lir(cu, mir_graph, arena),
578 call_method_insns_(arena->Adapter()),
579 dex_cache_access_insns_(arena->Adapter()),
592 ArenaAllocator* const arena) {
593 return new ArmMir2Lir(cu, mir_graph, arena);
591 ArmCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, ArenaAllocator* const arena) argument
/art/compiler/dex/quick/arm64/
H A Dtarget_arm64.cc606 Arm64Mir2Lir::Arm64Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument
607 : Mir2Lir(cu, mir_graph, arena),
608 call_method_insns_(arena->Adapter()),
609 dex_cache_access_insns_(arena->Adapter()) {
620 ArenaAllocator* const arena) {
621 return new Arm64Mir2Lir(cu, mir_graph, arena);
619 Arm64CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, ArenaAllocator* const arena) argument
/art/compiler/dex/quick/mips/
H A Dtarget_mips.cc900 MipsMir2Lir::MipsMir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument
901 : Mir2Lir(cu, mir_graph, arena), in_to_reg_storage_mips64_mapper_(this),
916 ArenaAllocator* const arena) {
917 return new MipsMir2Lir(cu, mir_graph, arena);
915 MipsCodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, ArenaAllocator* const arena) argument
/art/compiler/dex/quick/
H A Dcodegen_util.cc1030 Mir2Lir::Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument
1036 arena_(arena),
1039 switch_tables_(arena->Adapter(kArenaAllocSwitchTable)),
1040 fill_array_data_(arena->Adapter(kArenaAllocFillArrayData)),
1041 tempreg_info_(arena->Adapter()),
1042 reginfo_map_(arena->Adapter()),
1043 pointer_storage_(arena->Adapter()),
1066 slow_paths_(arena->Adapter(kArenaAllocSlowPaths)),
1068 mask_cache_(arena),
1069 safepoints_(arena
[all...]
H A Dralloc_util.cc62 Mir2Lir::RegisterPool::RegisterPool(Mir2Lir* m2l, ArenaAllocator* arena, argument
73 core_regs_(arena->Adapter()), next_core_reg_(0),
74 core64_regs_(arena->Adapter()), next_core64_reg_(0),
75 sp_regs_(arena->Adapter()), next_sp_reg_(0),
76 dp_regs_(arena->Adapter()), next_dp_reg_(0), m2l_(m2l) {
84 RegisterInfo* info = new (arena) RegisterInfo(reg, m2l_->GetRegMaskCommon(reg));
90 RegisterInfo* info = new (arena) RegisterInfo(reg, m2l_->GetRegMaskCommon(reg));
96 RegisterInfo* info = new (arena) RegisterInfo(reg, m2l_->GetRegMaskCommon(reg));
102 RegisterInfo* info = new (arena) RegisterInfo(reg, m2l_->GetRegMaskCommon(reg));
130 RegisterInfo* invalid_reg = new (arena) RegisterInf
[all...]
H A Dmir_to_lir.h422 RegisterPool(Mir2Lir* m2l, ArenaAllocator* arena,
605 // strdup(), but allocates from the arena.
1508 Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena);
1896 explicit InToRegStorageMapping(ArenaAllocator* arena) argument
1897 : mapping_(arena->Adapter()),
/art/compiler/dex/quick/x86/
H A Dtarget_x86.cc836 X86Mir2Lir::X86Mir2Lir(CompilationUnit* cu, MIRGraph* mir_graph, ArenaAllocator* arena) argument
837 : Mir2Lir(cu, mir_graph, arena),
842 method_address_insns_(arena->Adapter()),
843 class_type_address_insns_(arena->Adapter()),
844 call_method_insns_(arena->Adapter()),
845 dex_cache_access_insns_(arena->Adapter()),
859 ArenaAllocator* const arena) {
860 return new X86Mir2Lir(cu, mir_graph, arena);
858 X86CodeGenerator(CompilationUnit* const cu, MIRGraph* const mir_graph, ArenaAllocator* const arena) argument

Completed in 4141 milliseconds