Lines Matching refs:count
58 void DoPrepareBasicBlocks(const BBDef* defs, size_t count) { in DoPrepareBasicBlocks() argument
61 ASSERT_LT(3u, count); // null, entry, exit and at least one bytecode block. in DoPrepareBasicBlocks()
65 for (size_t i = 0u; i != count; ++i) { in DoPrepareBasicBlocks()
100 cu_.mir_graph->num_blocks_ = count; in DoPrepareBasicBlocks()
101 ASSERT_EQ(count, cu_.mir_graph->block_list_.Size()); in DoPrepareBasicBlocks()
108 template <size_t count>
109 void PrepareBasicBlocks(const BBDef (&defs)[count]) { in PrepareBasicBlocks() argument
110 DoPrepareBasicBlocks(defs, count); in PrepareBasicBlocks()
130 void DoCheckOrder(const BasicBlockId* ids, size_t count) { in DoCheckOrder() argument
131 ASSERT_EQ(count, cu_.mir_graph->GetTopologicalSortOrder()->Size()); in DoCheckOrder()
132 for (size_t i = 0; i != count; ++i) { in DoCheckOrder()
137 template <size_t count>
138 void CheckOrder(const BasicBlockId (&ids)[count]) { in CheckOrder() argument
139 DoCheckOrder(ids, count); in CheckOrder()
142 void DoCheckLoopEnds(const uint16_t* ends, size_t count) { in DoCheckLoopEnds() argument
143 for (size_t i = 0; i != count; ++i) { in DoCheckLoopEnds()
149 template <size_t count>
150 void CheckLoopEnds(const uint16_t (&ends)[count]) { in CheckLoopEnds() argument
151 DoCheckLoopEnds(ends, count); in CheckLoopEnds()