Searched refs:alloc (Results 1 - 13 of 13) sorted by relevance

/art/compiler/utils/
H A Dswap_space_test.cc40 SwapAllocator<void> alloc(use_file ? &pool : nullptr);
42 SwapVector<int32_t> v(alloc);
49 SwapVector<int32_t> v2(alloc);
56 SwapVector<int32_t> v3(alloc);
H A Ddedupe_set.h102 explicit DedupeSet(const char* set_name, SwapAllocator<void>& alloc) argument
103 : allocator_(alloc), hash_time_(0) {
156 SwapAllocator<StoreKey> alloc(allocator_);
157 alloc.destroy(key);
158 alloc.deallocate(key, 1);
/art/runtime/
H A Dmonitor_pool_test.cc63 bool alloc; local
65 alloc = true;
67 alloc = false;
70 alloc = r.next() % 2 == 0;
73 if (alloc) {
/art/compiler/
H A Dcompiled_method.cc183 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator());
184 CompiledMethod* ret = alloc.allocate(1);
185 alloc.construct(ret, driver, instruction_set, quick_code, frame_size_in_bytes, core_spill_mask,
194 SwapAllocator<CompiledMethod> alloc(driver->GetSwapSpaceAllocator());
195 alloc.destroy(m);
196 alloc.deallocate(m, 1);
H A Dcompiled_method.h118 explicit SrcMap(const Allocator& alloc) : std::vector<SrcMapElem, Allocator>(alloc) {} argument
121 SrcMap(InputIt first, InputIt last, const Allocator& alloc) argument
122 : std::vector<SrcMapElem, Allocator>(first, last, alloc) {}
/art/compiler/dwarf/
H A Ddebug_info_entry_writer.h183 const Allocator& alloc = Allocator())
186 current_abbrev_(alloc),
187 abbrev_codes_(alloc),
188 entries_(alloc),
H A Ddebug_line_opcode_writer.h219 const Allocator& alloc = Allocator())
221 opcodes_(alloc),
H A Ddebug_frame_opcode_writer.h294 const Allocator& alloc = Allocator())
297 opcodes_(alloc),
/art/compiler/dex/
H A Dtype_inference.h69 TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc);
372 CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc);
411 ScopedArenaAllocator* alloc);
413 ScopedArenaAllocator* alloc);
415 ScopedArenaAllocator* alloc);
417 ScopedArenaAllocator* alloc);
418 static CheckCastData* InitializeCheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc);
H A Dtype_inference.cc153 TypeInference::CheckCastData::CheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
155 alloc_(alloc),
158 check_cast_map_(std::less<MIR*>(), alloc->Adapter()),
159 split_sreg_data_(std::less<int32_t>(), alloc->Adapter()) {
393 TypeInference::TypeInference(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
397 InitializeCheckCastData(mir_graph, alloc)),
401 PrepareIFieldTypes(cu_->dex_file, mir_graph, alloc)),
403 PrepareSFieldTypes(cu_->dex_file, mir_graph, alloc)),
405 PrepareSignatures(cu_->dex_file, mir_graph, alloc)),
407 Signature(cu_->dex_file, cu_->method_idx, (cu_->access_flags & kAccStatic) != 0, alloc)),
599 PrepareIFieldTypes(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
616 PrepareSFieldTypes(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
628 Signature(const DexFile* dex_file, uint32_t method_idx, bool is_static, ScopedArenaAllocator* alloc) argument
650 PrepareSignatures(const DexFile* dex_file, MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
665 InitializeCheckCastData(MIRGraph* mir_graph, ScopedArenaAllocator* alloc) argument
[all...]
H A Dgvn_dead_code_elimination.h42 GvnDeadCodeElimination(const GlobalValueNumbering* gvn, ScopedArenaAllocator* alloc);
89 VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc);
H A Dgvn_dead_code_elimination.cc74 GvnDeadCodeElimination::VRegChains::VRegChains(uint32_t num_vregs, ScopedArenaAllocator* alloc) argument
76 vreg_data_(alloc->AllocArray<VRegValue>(num_vregs, kArenaAllocMisc)),
79 alloc->AllocArray<uint32_t>(BitVector::BitsToWords(num_vregs))),
80 mir_data_(alloc->Adapter()) {
446 ScopedArenaAllocator* alloc)
449 vreg_chains_(mir_graph_->GetNumOfCodeAndTempVRs(), alloc),
453 unused_vregs_(new (alloc) ArenaBitVector(alloc, vreg_chains_.NumVRegs(), false)),
454 vregs_to_kill_(new (alloc) ArenaBitVector(alloc, vreg_chains
445 GvnDeadCodeElimination(const GlobalValueNumbering* gvn, ScopedArenaAllocator* alloc) argument
[all...]
/art/runtime/base/
H A Dallocator.h117 TrackingAllocatorImpl(const TrackingAllocatorImpl<U, kTag>& alloc) noexcept {
118 UNUSED(alloc); variable

Completed in 209 milliseconds