• Home
  • Raw
  • Download

Lines Matching refs:bundles

365         midgard_bundle *bundles =  in mir_bundle_idx_for_ins()  local
366 (midgard_bundle *) block->bundles.data; in mir_bundle_idx_for_ins()
368 size_t count = (block->bundles.size / sizeof(midgard_bundle)); in mir_bundle_idx_for_ins()
371 for (unsigned j = 0; j < bundles[i].instruction_count; ++j) { in mir_bundle_idx_for_ins()
372 if (bundles[i].instructions[j] == tag) in mir_bundle_idx_for_ins()
389 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_before_scheduled()
390 UNUSED void *unused = util_dynarray_grow(&block->bundles, midgard_bundle, 1); in mir_insert_instruction_before_scheduled()
392 midgard_bundle *bundles = (midgard_bundle *) block->bundles.data; in mir_insert_instruction_before_scheduled() local
393 memmove(bundles + before + 1, bundles + before, (count - before) * sizeof(midgard_bundle)); in mir_insert_instruction_before_scheduled()
394 midgard_bundle *before_bundle = bundles + before + 1; in mir_insert_instruction_before_scheduled()
397 memcpy(bundles + before, &new, sizeof(new)); in mir_insert_instruction_before_scheduled()
413 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_after_scheduled()
414 UNUSED void *unused = util_dynarray_grow(&block->bundles, midgard_bundle, 1); in mir_insert_instruction_after_scheduled()
420 midgard_bundle *bundles = (midgard_bundle *) block->bundles.data; in mir_insert_instruction_after_scheduled() local
421 … memmove(bundles + after + 2, bundles + after + 1, (count - after - 1) * sizeof(midgard_bundle)); in mir_insert_instruction_after_scheduled()
422 midgard_bundle *after_bundle = bundles + after; in mir_insert_instruction_after_scheduled()
425 memcpy(bundles + after + 1, &new, sizeof(new)); in mir_insert_instruction_after_scheduled()