Lines Matching refs:src
96 unsigned src[MIR_SRC_COUNT];
422 for (unsigned v = 0; v < ARRAY_SIZE(ins->src); ++v)
466 nir_src_index(compiler_context *ctx, nir_src *src)
468 if (src->is_ssa)
469 return nir_ssa_index(src->ssa);
471 assert(!src->reg.indirect);
472 return (src->reg.reg->index << 1) | PAN_IS_REG;
529 void mir_set_ubo_offset(midgard_instruction *ins, nir_src *src, unsigned bias);
534 v_mov(unsigned src, unsigned dest)
539 .src = { ~0, src, ~0, ~0 },
576 .src = { ~0, ~0, ~0, ~0 },
595 ins.src[0] = srcdest;
618 if (ins->src[i] == arg)
635 bool mir_is_live_after(compiler_context *ctx, midgard_block *block, midgard_instruction *start, int src);