Lines Matching refs:midgard_bundle
327 static midgard_bundle
332 midgard_bundle bundle = { in mir_bundle_for_op()
353 midgard_bundle *bundles = in mir_bundle_idx_for_ins()
354 (midgard_bundle *) block->bundles.data; in mir_bundle_idx_for_ins()
356 size_t count = (block->bundles.size / sizeof(midgard_bundle)); in mir_bundle_idx_for_ins()
377 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_before_scheduled()
378 UNUSED void *unused = util_dynarray_grow(&block->bundles, midgard_bundle, 1); in mir_insert_instruction_before_scheduled()
380 midgard_bundle *bundles = (midgard_bundle *) block->bundles.data; in mir_insert_instruction_before_scheduled()
381 memmove(bundles + before + 1, bundles + before, (count - before) * sizeof(midgard_bundle)); in mir_insert_instruction_before_scheduled()
382 midgard_bundle *before_bundle = bundles + before + 1; in mir_insert_instruction_before_scheduled()
384 midgard_bundle new = mir_bundle_for_op(ctx, ins); in mir_insert_instruction_before_scheduled()
399 size_t count = util_dynarray_num_elements(&block->bundles, midgard_bundle); in mir_insert_instruction_after_scheduled()
400 UNUSED void *unused = util_dynarray_grow(&block->bundles, midgard_bundle, 1); in mir_insert_instruction_after_scheduled()
406 midgard_bundle *bundles = (midgard_bundle *) block->bundles.data; in mir_insert_instruction_after_scheduled()
407 … memmove(bundles + after + 2, bundles + after + 1, (count - after - 1) * sizeof(midgard_bundle)); in mir_insert_instruction_after_scheduled()
408 midgard_bundle *after_bundle = bundles + after; in mir_insert_instruction_after_scheduled()
410 midgard_bundle new = mir_bundle_for_op(ctx, ins); in mir_insert_instruction_after_scheduled()