Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 25 of 43) sorted by relevance

12

/art/compiler/utils/
Dswap_space_test.cc43 v.reserve(1000000); in SwapTest()
50 v2.reserve(1000000); in SwapTest()
57 v3.reserve(500000); in SwapTest()
/art/compiler/dex/quick/
Dlazy_debug_frame_opcode_writer.cc34 this->opcodes_.reserve(old_opcodes.size() + advances_.size() + 4); in Patch()
Dcodegen_util.cc641 dex_pcs.reserve(table.DexToPcSize()); in VerifyCatchEntries()
707 src_mapping_table_.reserve(pc2dex_src_entries); in CreateMappingTables()
1077 switch_tables_.reserve(4); in Mir2Lir()
1078 fill_array_data_.reserve(4); in Mir2Lir()
1079 tempreg_info_.reserve(20); in Mir2Lir()
1080 reginfo_map_.reserve(RegStorage::kMaxRegs); in Mir2Lir()
1081 pointer_storage_.reserve(128); in Mir2Lir()
1082 slow_paths_.reserve(32); in Mir2Lir()
Dralloc_util.cc82 core_regs_.reserve(core_regs.size()); in RegisterPool()
88 core64_regs_.reserve(core64_regs.size()); in RegisterPool()
94 sp_regs_.reserve(sp_regs.size()); in RegisterPool()
100 dp_regs_.reserve(dp_regs.size()); in RegisterPool()
/art/compiler/dex/
Dssa_transformation.cc72 succ.reserve(GetNumBlocks()); in RecordDFSOrders()
95 dfs_order_.reserve(GetNumBlocks()); in ComputeDFSOrders()
97 dfs_post_order_.reserve(GetNumBlocks()); in ComputeDFSOrders()
174 dom_post_order_traversal_.reserve(num_reachable_blocks_); in ComputeDomPostOrderTraversal()
Dmir_graph.cc141 use_counts_.reserve(256); in MIRGraph()
142 raw_use_counts_.reserve(256); in MIRGraph()
143 block_list_.reserve(100); in MIRGraph()
566 cur_block->successor_blocks.reserve(size); in ProcessCanSwitch()
718 block_list_.reserve(block_list_.size() + current_code_item_->insns_size_in_code_units_); in InlineMethod()
1782 bb->predecessors.reserve((block_type == kExitBlock) ? 2048 : 2); in NewMemBB()
1796 use_counts_.reserve(num_ssa_regs + 32); in InitializeMethodUses()
1799 raw_use_counts_.reserve(num_ssa_regs + 32); in InitializeMethodUses()
1963 topological_order_.reserve(num_blocks); in ComputeTopologicalSortOrder()
2092 topological_order_loop_head_stack_.reserve(max_nested_loops); in ComputeTopologicalSortOrder()
[all …]
Dmir_analysis.cc1277 ifield_lowering_infos_.reserve(ifield_pos); in DoCacheFieldLoweringInfo()
1293 sfield_lowering_infos_.reserve(max_refs - sfield_pos); in DoCacheFieldLoweringInfo()
1409 method_lowering_infos_.reserve(count); in DoCacheMethodLoweringInfo()
Dmir_optimization_test.cc117 bb->successor_blocks.reserve(def->num_successors); in DoPrepareBasicBlocks()
254 cu_.mir_graph->method_lowering_infos_.reserve(count); in DoPrepareMethods()
357 cu_.mir_graph->sfield_lowering_infos_.reserve(count); in DoPrepareSFields()
407 cu_.mir_graph->ifield_lowering_infos_.reserve(count); in DoPrepareIFields()
Dtype_inference_test.cc266 cu_.mir_graph->ifield_lowering_infos_.reserve(ifield_count_); in BuildDexFile()
278 cu_.mir_graph->sfield_lowering_infos_.reserve(sfield_count_); in BuildDexFile()
290 cu_.mir_graph->method_lowering_infos_.reserve(ifield_count_); in BuildDexFile()
320 bb->successor_blocks.reserve(def->num_successors); in DoPrepareBasicBlocks()
517 cu_.mir_graph->ssa_base_vregs_.reserve(kMaxSsaRegs); in TypeInferenceTest()
518 cu_.mir_graph->ssa_subscripts_.reserve(kMaxSsaRegs); in TypeInferenceTest()
Dverified_method.cc125 dex_gc_map_.reserve(table_size); in GenerateGcMap()
/art/compiler/linker/
Drelative_patcher_test.h62 patched_code_.reserve(16 * KB); in RelativePatcherTest()
103 output_.reserve(output_size); in Link()
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S86 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
134 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
226 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
243 addiu $sp, $sp, -ARG_SLOT_SIZE # reserve argument slots on the stack
518 subu $t0, $sp, $t0 # reserve & align *stack* to 16 bytes:
1142 addiu $sp, $sp, -5120 # reserve space on the stack
1169 addiu $sp, $sp, -24 # reserve arg slots
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc38 adrp_thunk_locations_.reserve(16u); in Arm64RelativePatcher()
39 current_method_thunks_.reserve(16u * kAdrpThunkSize); in Arm64RelativePatcher()
Drelative_patcher_arm64_test.cc138 result.reserve(num_nops * 4u + 4u); in GenNopsAndBl()
152 result.reserve(num_nops * 4u + 8u); in GenNopsAndAdrpLdr()
/art/runtime/
Dleb128.h189 data_->reserve(size); in Reserve()
Dreference_table.cc36 entries_.reserve(initial_size); in ReferenceTable()
Delf_file.cc1191 std::unique_ptr<MemMap> reserve(MemMap::MapAnonymous(reservation_name.c_str(), in Load() local
1195 if (reserve.get() == nullptr) { in Load()
1203 base_address_ = reinterpret_cast<uint8_t*>(reinterpret_cast<uintptr_t>(reserve->Begin()) in Load()
1210 segments_.push_back(reserve.release()); in Load()
1533 section_headers.reserve(GetSectionHeaderNum()); in Strip()
/art/compiler/
Delf_builder.h130 buffer.reserve(dynamics_.size() + 1u); in Write()
271 buffer_.reserve(4 * KB); in StrtabSection()
327 buffer.reserve(1u + symbols_.size()); in Write()
654 section_headers.reserve(1u + sections.size()); in Write()
Delf_writer_quick.cc76 buffer->reserve(buffer->size() + locations.size() * 2); // guess 2 bytes per ULEB128. in EncodeOatPatches()
Dcommon_compiler_test.cc83 chunk->reserve(padding + size); in MakeExecutable()
/art/compiler/dwarf/
Ddebug_frame_opcode_writer.h303 opcodes_.reserve(16);
/art/runtime/native/
Ddalvik_system_DexFile.cc60 ret->reserve(array_size); in ConvertJavaArrayToNative()
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S648 dsubu $sp, $sp, $t3 # reserve stack space for argument array
751 dsubu $sp, $sp, $t3 # reserve stack space for argument array
1407 daddiu $sp, $sp, -5120 # reserve space on the stack
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc113 result.reserve(num_nops * 2u + 4u); in GenNopsAndBl()
/art/compiler/dex/quick/arm/
Dtarget_arm.cc581 call_method_insns_.reserve(100); in ArmMir2Lir()
906 patches_.reserve(call_method_insns_.size() + dex_cache_access_insns_.size()); in InstallLiteralPools()

12