Home
last modified time | relevance | path

Searched refs:var_ptr (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_regalloc.c287 struct rc_variable * var_ptr; in variable_get_class() local
291 for (var_ptr = variable; var_ptr; var_ptr = var_ptr->Friend) { in variable_get_class()
292 if (var_ptr->Inst->Type == RC_INSTRUCTION_NORMAL) { in variable_get_class()
308 struct rc_variable * var_ptr; in variable_get_class() local
309 for (var_ptr = variable; var_ptr; in variable_get_class()
310 var_ptr = var_ptr->Friend) { in variable_get_class()
324 rc_pair_for_all_reads_arg(var_ptr->Inst, in variable_get_class()
327 for (j = 0; j < var_ptr->ReaderCount; j++) { in variable_get_class()
330 struct rc_reader r = var_ptr->Readers[j]; in variable_get_class()
544 struct rc_list * var_ptr; in do_advanced_regalloc() local
[all …]
Dradeon_rename_regs.c53 struct rc_list * var_ptr; in rc_rename_regs() local
70 for (var_ptr = variables; var_ptr; var_ptr = var_ptr->Next) { in rc_rename_regs()
73 struct rc_variable * var = var_ptr->Item; in rc_rename_regs()
Dradeon_variable.c47 struct rc_variable * var_ptr; in rc_variable_change_dst() local
53 for (var_ptr = var; var_ptr; var_ptr = var_ptr->Friend) { in rc_variable_change_dst()
54 if (var_ptr->Inst->Type == RC_INSTRUCTION_NORMAL) { in rc_variable_change_dst()
55 rc_normal_rewrite_writemask(var_ptr->Inst, in rc_variable_change_dst()
57 var_ptr->Inst->U.I.DstReg.Index = new_index; in rc_variable_change_dst()
60 if (var_ptr->Dst.WriteMask == RC_MASK_W) { in rc_variable_change_dst()
62 sub = &var_ptr->Inst->U.P.Alpha; in rc_variable_change_dst()
64 sub = &var_ptr->Inst->U.P.RGB; in rc_variable_change_dst()