• Home
  • Raw
  • Download

Lines Matching refs:regClass

59       rc = def.regClass();  in set()
304 if (op.regClass().is_subdword()) in fill()
310 void clear(Operand op) { clear(op.physReg(), op.regClass()); } in clear()
314 if (def.regClass().is_subdword()) in fill()
320 void clear(Definition def) { clear(def.physReg(), def.regClass()); } in clear()
783 copy.second.setTemp(ctx.program->allocateTmp(copy.second.regClass())); in update_renames()
784 ctx.assignments.emplace_back(copy.second.physReg(), copy.second.regClass()); in update_renames()
1049 Definition pc_def = Definition(res.first, pc_op.regClass()); in get_regs_for_copies()
1138 Definition pc_def = Definition(reg_win.lo(), pc_op.regClass()); in get_regs_for_copies()
1495 if (get_reg_specified(ctx, reg_file, temp.regClass(), instr, reg)) in get_reg_vector()
1515 if (get_reg_specified(ctx, reg_file, temp.regClass(), instr, reg)) in get_reg_vector()
1536 if (get_reg_specified(ctx, reg_file, temp.regClass(), instr, reg)) in get_reg()
1547 if (get_reg_specified(ctx, reg_file, temp.regClass(), instr, affinity.reg)) in get_reg()
1560 DefInfo info(ctx, instr, temp.regClass(), operand_index); in get_reg()
1586 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type()) in get_reg()
1587 def_size += def.regClass().size(); in get_reg()
1592 if (op.isTemp() && op.isKillBeforeDef() && op.regClass().type() == info.rc.type()) in get_reg()
1593 killed_op_size += op.regClass().size(); in get_reg()
1609 if (op.isKillBeforeDef() && op.regClass().type() == info.rc.type()) in get_reg()
1610 killed_op_vars.emplace_back(op.tempId(), op.regClass()); in get_reg()
1617 if (ctx.assignments[def.tempId()].assigned && def.regClass().type() == info.rc.type()) in get_reg()
1618 def_vars.emplace_back(def.tempId(), def.regClass()); in get_reg()
1632 RegClass rc = temp.regClass(); in get_reg_create_vector()
1797 if (def.getTemp().regClass().is_linear()) in handle_pseudo()
1804 if (op.isTemp() && op.getTemp().regClass().is_linear()) in handle_pseudo()
1806 if (op.isTemp() && op.regClass().is_subdword()) in handle_pseudo()
1891 tmp_file.clear(src, operand.regClass()); // TODO: try to avoid moving block vars to src in get_reg_for_operand()
1892 tmp_file.block(operand.physReg(), operand.regClass()); in get_reg_for_operand()
1894 DefInfo info(ctx, instr, operand.regClass(), -1); in get_reg_for_operand()
1902 register_file.clear(src, operand.regClass()); in get_reg_for_operand()
1908 Definition pc_def = Definition(dst, pc_op.regClass()); in get_reg_for_operand()
1935 if (!get_reg_specified(ctx, register_file, definition.regClass(), phi, reg)) in get_regs_for_phis()
1955 assert(affinity.rc == definition.regClass()); in get_regs_for_phis()
1956 if (get_reg_specified(ctx, register_file, definition.regClass(), phi, affinity.reg)) { in get_regs_for_phis()
1971 if (get_reg_specified(ctx, register_file, definition.regClass(), phi, reg)) { in get_regs_for_phis()
2089 assert(!val.regClass().is_linear_vgpr()); in handle_live_in()
2095 new_val = ctx.program->allocateTmp(val.regClass()); in handle_live_in()
2103 assert(ops[i].regClass() == new_val.regClass()); in handle_live_in()
2326 def.regClass() == phi_ressources[it->second][0].regClass()) { in get_affinities()
2353 if (op.isTemp() && op.isFirstKillBeforeDef() && def.regClass() == op.regClass()) { in get_affinities()
2385 if (op.isTemp() && op.isKill() && op.regClass() == instr->definitions[0].regClass()) { in get_affinities()
2418 if (op.isTemp() && op.isKill() && op.regClass() == phi->definitions[0].regClass()) { in get_affinities()
2519 if (operand_can_use_reg(program->chip_class, instr, i, reg, operand.regClass())) in register_allocation()
2601 adjust_max_used_regs(ctx, definition.regClass(), definition.physReg()); in register_allocation()
2618 DefInfo info(ctx, instr, definition.regClass(), -1); in register_allocation()
2643 get_reg_specified(ctx, register_file, definition->regClass(), instr, in register_allocation()
2650 if (get_reg_specified(ctx, register_file, definition->regClass(), instr, reg)) in register_allocation()
2662 if (get_reg_specified(ctx, register_file, definition->regClass(), instr, reg)) in register_allocation()
2673 if (definition->regClass().is_subdword() && definition->bytes() < 4) { in register_allocation()
2711 add_subdword_operand(ctx, instr, i, op.physReg().byte(), op.regClass()); in register_allocation()
2724 linear_vgpr |= parallelcopy[i].first.regClass().is_linear_vgpr(); in register_allocation()
2762 tmp_file.block(op.physReg(), op.regClass()); in register_allocation()
2809 tmp_file.block(op.physReg(), op.regClass()); in register_allocation()