broadcom/compiler: rename vir_writes_rX to vir_writes_rX_implicitly
Since that represents more accurately what they check.. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:

committed by
Marge Bot

parent
20b37b273f
commit
b1548b18d3
@@ -1141,8 +1141,8 @@ bool vir_is_raw_mov(struct qinst *inst);
|
||||
bool vir_is_tex(const struct v3d_device_info *devinfo, struct qinst *inst);
|
||||
bool vir_is_add(struct qinst *inst);
|
||||
bool vir_is_mul(struct qinst *inst);
|
||||
bool vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst);
|
||||
bool vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst);
|
||||
bool vir_writes_r3_implicitly(const struct v3d_device_info *devinfo, struct qinst *inst);
|
||||
bool vir_writes_r4_implicitly(const struct v3d_device_info *devinfo, struct qinst *inst);
|
||||
struct qreg vir_follow_movs(struct v3d_compile *c, struct qreg reg);
|
||||
uint8_t vir_channels_written(struct qinst *inst);
|
||||
struct qreg ntq_get_src(struct v3d_compile *c, nir_src src, int i);
|
||||
|
@@ -156,7 +156,8 @@ vir_is_tex(const struct v3d_device_info *devinfo, struct qinst *inst)
|
||||
}
|
||||
|
||||
bool
|
||||
vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst)
|
||||
vir_writes_r3_implicitly(const struct v3d_device_info *devinfo,
|
||||
struct qinst *inst)
|
||||
{
|
||||
if (!devinfo->has_accumulators)
|
||||
return false;
|
||||
@@ -181,7 +182,8 @@ vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst)
|
||||
}
|
||||
|
||||
bool
|
||||
vir_writes_r4(const struct v3d_device_info *devinfo, struct qinst *inst)
|
||||
vir_writes_r4_implicitly(const struct v3d_device_info *devinfo,
|
||||
struct qinst *inst)
|
||||
{
|
||||
if (!devinfo->has_accumulators)
|
||||
return false;
|
||||
|
@@ -988,7 +988,7 @@ update_graph_and_reg_classes_for_inst(struct v3d_compile *c, int *acc_nodes,
|
||||
* result to a temp), nothing else can be stored in r3/r4 across
|
||||
* it.
|
||||
*/
|
||||
if (vir_writes_r3(c->devinfo, inst)) {
|
||||
if (vir_writes_r3_implicitly(c->devinfo, inst)) {
|
||||
for (int i = 0; i < c->num_temps; i++) {
|
||||
if (c->temp_start[i] < ip && c->temp_end[i] > ip) {
|
||||
ra_add_node_interference(c->g,
|
||||
@@ -998,7 +998,7 @@ update_graph_and_reg_classes_for_inst(struct v3d_compile *c, int *acc_nodes,
|
||||
}
|
||||
}
|
||||
|
||||
if (vir_writes_r4(c->devinfo, inst)) {
|
||||
if (vir_writes_r4_implicitly(c->devinfo, inst)) {
|
||||
for (int i = 0; i < c->num_temps; i++) {
|
||||
if (c->temp_start[i] < ip && c->temp_end[i] > ip) {
|
||||
ra_add_node_interference(c->g,
|
||||
|
Reference in New Issue
Block a user