Lines Matching refs:physReg
91 assert(def.regClass().type() != RegType::sgpr || def.physReg().reg() <= 255); in save_reg_writes()
92 assert(def.regClass().type() != RegType::vgpr || def.physReg().reg() >= 256); in save_reg_writes()
95 unsigned r = def.physReg().reg(); in save_reg_writes()
109 last_writer_idx(pr_opt_ctx& ctx, PhysReg physReg, RegClass rc) in last_writer_idx() argument
112 assert(physReg.reg() < max_reg_cnt); in last_writer_idx()
113 Idx instr_idx = ctx.instr_idx_by_regs[ctx.current_block->index][physReg.reg()]; in last_writer_idx()
115 unsigned r = physReg.reg(); in last_writer_idx()
130 assert(op.physReg().reg() < max_reg_cnt); in last_writer_idx()
131 Idx instr_idx = ctx.instr_idx_by_regs[ctx.current_block->index][op.physReg().reg()]; in last_writer_idx()
135 instr_idx = last_writer_idx(ctx, op.physReg(), op.regClass()); in last_writer_idx()
177 return is_clobbered_since(ctx, t.physReg(), t.regClass(), idx); in is_clobbered_since()
201 instr->operands[0].physReg() != scc) in try_apply_branch_vcc()
226 op0_instr->operands[0].physReg() != vcc || op0_instr->operands[1].physReg() != exec || in try_apply_branch_vcc()
278 wr_instr->definitions[1].physReg() != scc) in try_optimize_scc_nocompare()
329 instr->operands[0].physReg() == scc) || in try_optimize_scc_nocompare()
348 if (wr_instr->operands[0].physReg() != scc) in try_optimize_scc_nocompare()
404 if (mov->definitions[0].physReg() == mov->operands[0].physReg() && in try_combine_dpp()