Home
last modified time | relevance | path

Searched refs:RC_FILE_TEMPORARY (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_tex.c68 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in scale_texcoords()
77 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in scale_texcoords()
90 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in projective_divide()
101 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; in projective_divide()
104 inst_mul->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in projective_divide()
110 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in projective_divide()
171 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX()
181 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX()
192 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; in radeonTransformTEX()
200 inst_mul->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in radeonTransformTEX()
[all …]
Dradeon_program_alu.c102 dst.File = RC_FILE_TEMPORARY; in dstregtmpmask()
204 if (inst->U.I.DstReg.File != RC_FILE_TEMPORARY) in is_dst_safe_to_reuse()
208 if (inst->U.I.SrcReg[i].File == RC_FILE_TEMPORARY && in is_dst_safe_to_reuse()
255 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_CEIL()
271 srcreg(RC_FILE_TEMPORARY, dst.Index), inst->U.I.SrcReg[1]); in transform_CLAMP()
320 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_FLR()
336 negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_TRUNC()
338 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_TRUNC()
370 if (inst->U.I.DstReg.WriteMask != RC_MASK_XYZW || inst->U.I.DstReg.File != RC_FILE_TEMPORARY) { in transform_LIT()
375 srcreg(RC_FILE_TEMPORARY, rc_find_free_temporary(c))); in transform_LIT()
[all …]
Dradeon_emulate_branches.c76 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in handle_if()
81 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in handle_if()
112 if (file == RC_FILE_TEMPORARY) { in get_proxy_info()
138 *pfile = RC_FILE_TEMPORARY; in remap_proxy_function()
166 inst_mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in allocate_and_insert_proxies()
169 inst_mov->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in allocate_and_insert_proxies()
191 inst_cmp->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in inject_cmp()
193 inst_cmp->U.I.SrcReg[2].File = RC_FILE_TEMPORARY; in inject_cmp()
223 inject_cmp(s, branch->If, inst, RC_FILE_TEMPORARY, index, in handle_endif()
254 *pfile = RC_FILE_TEMPORARY; in remap_output_function()
[all …]
Dr3xx_vertprog.c64 case RC_FILE_TEMPORARY: in t_dst_class()
89 case RC_FILE_TEMPORARY: in t_src_class()
305 if (vpi->SrcReg[0].File == RC_FILE_TEMPORARY && in ei_mad()
306 vpi->SrcReg[1].File == RC_FILE_TEMPORARY && in ei_mad()
307 vpi->SrcReg[2].File == RC_FILE_TEMPORARY && in ei_mad()
533 if (info->HasDstReg && vpi->DstReg.File == RC_FILE_TEMPORARY && in translate_vertex_program()
538 if (vpi->SrcReg[i].File == RC_FILE_TEMPORARY && in translate_vertex_program()
579 if (inst->U.I.SrcReg[i].File == RC_FILE_TEMPORARY) { in allocate_temporary_registers()
586 if (inst->U.I.DstReg.File == RC_FILE_TEMPORARY) { in allocate_temporary_registers()
626 if (inst->U.I.SrcReg[i].File == RC_FILE_TEMPORARY) { in allocate_temporary_registers()
[all …]
Dradeon_compiler.c206 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_copy_output()
217 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in rc_copy_output()
226 inst->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in rc_copy_output()
253 inst_rcp->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
264 inst_mul->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
271 inst_mul->U.I.SrcReg[1].File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
279 inst_mad->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
283 inst_mad->U.I.SrcReg[0].File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
308 inst->U.I.SrcReg[i].File = RC_FILE_TEMPORARY; in rc_transform_fragment_wpos()
333 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY; in rc_transform_fragment_face()
[all …]
Dradeon_vert_fc.c48 src->File = RC_FILE_TEMPORARY; in build_pred_src()
57 dst->File = RC_FILE_TEMPORARY; in build_pred_dst()
66 if (file != RC_FILE_TEMPORARY) in mark_write()
Dradeon_variable.c109 .File = RC_FILE_TEMPORARY; in rc_variable_change_dst()
117 .File = RC_FILE_TEMPORARY; in rc_variable_change_dst()
124 RC_FILE_TEMPORARY, in rc_variable_change_dst()
334 file = RC_FILE_TEMPORARY; in get_variable_pair_helper()
Dradeon_rename_regs.c75 if (var->Inst->U.I.DstReg.File != RC_FILE_TEMPORARY) { in rc_rename_regs()
Dradeon_pair_regalloc.c242 if (*file == RC_FILE_TEMPORARY && s->Simple) in remap_register()
263 s->Input[input].File = RC_FILE_TEMPORARY; in alloc_input_simple()
277 s->Temporary[i].File = RC_FILE_TEMPORARY; in do_regalloc_inputs_only()
767 s.NumTemporaries = rc_get_max_index(cc, RC_FILE_TEMPORARY) + 1; in rc_pair_regalloc()
Dradeon_pair_schedule.c163 if (file != RC_FILE_TEMPORARY) in get_reg_valuep()
734 if (emitted->U.P.RGB.Src[i].File == RC_FILE_TEMPORARY in presub_nop()
751 if(emitted->U.P.Alpha.Src[i].File == RC_FILE_TEMPORARY in presub_nop()
915 s, RC_FILE_TEMPORARY, i, 3); in convert_rgb_to_alpha()
919 RC_FILE_TEMPORARY, in convert_rgb_to_alpha()
925 new_regvalp = get_reg_valuep(s, RC_FILE_TEMPORARY, i, 3); in convert_rgb_to_alpha()
974 RC_FILE_TEMPORARY, old_swz, new_index); in convert_rgb_to_alpha()
Dradeon_dataflow.c273 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->RGB.DestIndex, inst->RGB.WriteMask); in writes_pair()
276 cb(userdata, fullinst, RC_FILE_TEMPORARY, inst->Alpha.DestIndex, RC_MASK_W); in writes_pair()
395 rc_register_file file = RC_FILE_TEMPORARY; in remap_pair_instruction()
404 rc_register_file file = RC_FILE_TEMPORARY; in remap_pair_instruction()
889 get_readers_for_single_write(&d, writer, RC_FILE_TEMPORARY, in rc_get_readers_sub()
Dradeon_emulate_loops.c122 if(file != RC_FILE_TEMPORARY || in get_incr_amount()
141 if(inst->U.I.SrcReg[0].File == RC_FILE_TEMPORARY && in get_incr_amount()
145 } else if( inst->U.I.SrcReg[1].File == RC_FILE_TEMPORARY && in get_incr_amount()
Dradeon_dataflow_swizzles.c61 mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in rewrite_source()
85 inst->U.I.SrcReg[src].File = RC_FILE_TEMPORARY; in rewrite_source()
Dradeon_optimize.c91 if(reader_data->Writer->U.I.SrcReg[0].File != RC_FILE_TEMPORARY && in copy_propagate_scan_read()
145 if (inst_mov->U.I.DstReg.File != RC_FILE_TEMPORARY || in copy_propagate()
667 || (inst_add->U.I.SrcReg[1].File != RC_FILE_TEMPORARY in peephole_add_presub_inv()
733 && inst_mul->U.I.SrcReg[i].File != RC_FILE_TEMPORARY) { in peephole_mul_omod()
736 if (inst_mul->U.I.SrcReg[i].File == RC_FILE_TEMPORARY) { in peephole_mul_omod()
Dradeon_program_constants.h53 RC_FILE_TEMPORARY, enumerator
Dradeon_program.c88 if (file != RC_FILE_TEMPORARY) in get_used_temporaries_cb()
Dradeon_dataflow_deadcode.c121 if (file == RC_FILE_OUTPUT || file == RC_FILE_TEMPORARY) { in get_used_ptr()
Dr300_fragprog_emit.c96 } else if (src.File == RC_FILE_TEMPORARY || src.File == RC_FILE_INPUT) { in use_source()
Dradeon_program_print.c142 case RC_FILE_TEMPORARY: filename = "temp"; break; in rc_print_register()
Dr500_fragprog_emit.c210 } else if (src.File == RC_FILE_TEMPORARY || src.File == RC_FILE_INPUT) { in use_source()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c139 case TGSI_FILE_TEMPORARY: return RC_FILE_TEMPORARY; in translate_register_file()
191 dst->File = RC_FILE_TEMPORARY; in transform_srcreg()
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c175 src_reg->File = RC_FILE_TEMPORARY; in init_rc_normal_src()
289 inst->U.I.DstReg.File = RC_FILE_TEMPORARY; in init_rc_normal_dst()