Lines Matching defs:acp
2572 ir_to_mesa_instruction **acp = rzalloc_array(mem_ctx,
2594 /* See if we can find entries in the ACP consisting of MOVs
2600 ir_to_mesa_instruction *copy_chan = acp[acp_base + src_chan];
2630 ir_to_mesa_instruction *copy_inst = acp[acp_base + src_chan];
2641 /* End of a basic block, clear the ACP entirely. */
2642 memset(acp, 0, sizeof(*acp) * this->next_temp * 4);
2651 /* Clear all channels written inside the block from the ACP, but
2656 if (!acp[4 * r + c])
2660 acp[4 * r + c] = NULL;
2669 * the ACP.
2675 memset(acp, 0, sizeof(*acp) * this->next_temp * 4);
2683 if (!acp[4 * r + c])
2686 if (acp[4 * r + c]->src[0].file == PROGRAM_OUTPUT)
2687 acp[4 * r + c] = NULL;
2696 acp[4 * inst->dst.index + c] = NULL;
2704 if (!acp[4 * r + c])
2707 int src_chan = GET_SWZ(acp[4 * r + c]->src[0].swizzle, c);
2709 if (acp[4 * r + c]->src[0].file == inst->dst.file &&
2710 acp[4 * r + c]->src[0].index == inst->dst.index &&
2713 acp[4 * r + c] = NULL;
2721 /* If this is a copy, add it to the ACP. */
2730 acp[4 * inst->dst.index + i] = inst;
2738 ralloc_free(acp);