Lines Matching refs:bundle
30 * of the current bundle. If it is not, it is promoted to a bundle-specific
34 * pipeline (vmul/sadd) lasting the duration of the bundle only. There are two
45 midgard_bundle *bundle, unsigned i,
48 midgard_instruction *ins = bundle->instructions[i];
51 * created at the start of the bundle and are destroyed at the end. So
55 * 2. The index is not live after the bundle.
59 * creation of the bundle, so the pipeline register can exist. #2 is
73 /* Analyze the bundle for a per-byte read mask */
75 for (unsigned j = 0; j < bundle->instruction_count; ++j) {
76 midgard_instruction *q = bundle->instructions[j];
90 for (unsigned j = 0; j < bundle->instruction_count; ++j) {
91 midgard_instruction *q = bundle->instructions[j];
103 /* We want to know if we live after this bundle, so check if
104 * we're live after the last instruction of the bundle */
106 midgard_instruction *end = bundle->instructions[
107 bundle->instruction_count - 1];
112 /* We're only live in this bundle -- pipeline! */
115 for (unsigned j = 0; j < bundle->instruction_count; ++j) {
116 midgard_instruction *q = bundle->instructions[j];
135 mir_foreach_bundle_in_block(block, bundle) {
136 if (!mir_is_alu_bundle(bundle)) continue;
137 if (bundle->instruction_count < 2) continue;
140 bool succ = mir_pipeline_ins(ctx, block, bundle, 0, 0);
141 mir_pipeline_ins(ctx, block, bundle, 1, succ);