Lines Matching defs:uses
60 std::vector<uint16_t> uses;
255 /* Reduce the uses of the SCC def */
256 ctx.uses[instr->operands[0].tempId()]--;
290 if (ctx.uses[instr->operands[0].tempId()] > 1)
340 ctx.uses[instr->operands[0].tempId()]--;
342 ctx.uses[instr->operands[0].tempId()]++;
377 if (ctx.uses[instr->operands[scc_op_idx].tempId()] > 1)
393 ctx.uses[instr->operands[scc_op_idx].tempId()]--;
404 * v_xxx vC, vA, ... ; current instr that uses the result from the move
431 (!mov->definitions[0].tempId() || ctx.uses[mov->definitions[0].tempId()] > 1))
444 if (--ctx.uses[mov->definitions[0].tempId()])
445 ctx.uses[mov->operands[0].tempId()]++;
495 ctx.uses = dead_code_analysis(program);
511 * no longer have any uses.
516 { return !instr || is_dead(ctx.uses, instr.get()); });