Lines Matching defs:src
53 if (!agx_is_null(I->src[i]))
114 if (I->op == AGX_OPCODE_P_SPLIT && I->src[0].kill) {
115 unsigned reg = ssa_to_reg[I->src[0].value];
116 unsigned length = ncomps[I->src[0].value];
117 unsigned width = agx_size_align_16(I->src[0].size);
151 if (I->src[s].type == AGX_INDEX_NORMAL && I->src[s].kill) {
152 unsigned reg = ssa_to_reg[I->src[s].value];
153 unsigned count = ncomps[I->src[s].value];
240 agx_index src = phi->src[pred_index];
243 assert(src.type == AGX_INDEX_REGISTER);
244 assert(dest.size == src.size);
248 .src = src.value,
249 .size = src.size
287 if (ins->src[s].type == AGX_INDEX_NORMAL) {
288 unsigned v = ssa_to_reg[ins->src[s].value];
289 ins->src[s] = agx_replace_index(ins->src[s], agx_register(v, ins->src[s].size));
314 if (agx_is_null(ins->src[i])) continue;
315 assert(ins->src[i].size == ins->dest[0].size);
319 .src = agx_index_to_reg(ssa_to_reg, ins->src[i]) ,
320 .size = ins->src[i].size
331 unsigned right = agx_index_to_reg(ssa_to_reg, ins->src[0]) + (size * ins->imm);
335 agx_register(right, ins->src[0].size));
341 unsigned base = agx_index_to_reg(ssa_to_reg, ins->src[0]);
342 unsigned width = agx_size_align_16(ins->src[0].size);
350 assert(ins->dest[i].size == ins->src[0].size);
354 .src = base + (i * width),
380 if (I->op == AGX_OPCODE_MOV && I->src[0].type == AGX_INDEX_REGISTER &&
381 I->dest[0].size == I->src[0].size && I->src[0].value == I->dest[0].value) {