Lines Matching refs:count
78 void DoPrepareSFields(const SFieldDef* defs, size_t count) { in DoPrepareSFields() argument
80 cu_.mir_graph->sfield_lowering_infos_.Resize(count); in DoPrepareSFields()
81 for (size_t i = 0u; i != count; ++i) { in DoPrepareSFields()
96 template <size_t count>
97 void PrepareSFields(const SFieldDef (&defs)[count]) { in PrepareSFields() argument
98 DoPrepareSFields(defs, count); in PrepareSFields()
101 void DoPrepareBasicBlocks(const BBDef* defs, size_t count) { in DoPrepareBasicBlocks() argument
104 ASSERT_LT(3u, count); // null, entry, exit and at least one bytecode block. in DoPrepareBasicBlocks()
108 for (size_t i = 0u; i != count; ++i) { in DoPrepareBasicBlocks()
143 cu_.mir_graph->num_blocks_ = count; in DoPrepareBasicBlocks()
144 ASSERT_EQ(count, cu_.mir_graph->block_list_.Size()); in DoPrepareBasicBlocks()
151 template <size_t count>
152 void PrepareBasicBlocks(const BBDef (&defs)[count]) { in PrepareBasicBlocks() argument
153 DoPrepareBasicBlocks(defs, count); in PrepareBasicBlocks()
156 void DoPrepareMIRs(const MIRDef* defs, size_t count) { in DoPrepareMIRs() argument
157 mir_count_ = count; in DoPrepareMIRs()
158 mirs_ = reinterpret_cast<MIR*>(cu_.arena.Alloc(sizeof(MIR) * count, kArenaAllocMIR)); in DoPrepareMIRs()
160 for (size_t i = 0u; i != count; ++i) { in DoPrepareMIRs()
181 code_item_->insns_size_in_code_units_ = 2u * count; in DoPrepareMIRs()
185 template <size_t count>
186 void PrepareMIRs(const MIRDef (&defs)[count]) { in PrepareMIRs() argument
187 DoPrepareMIRs(defs, count); in PrepareMIRs()