/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_tex.c | 68 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 …]
|
D | radeon_program_alu.c | 102 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 …]
|
D | radeon_emulate_branches.c | 76 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 …]
|
D | r3xx_vertprog.c | 64 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 …]
|
D | radeon_compiler.c | 206 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 …]
|
D | radeon_vert_fc.c | 48 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()
|
D | radeon_variable.c | 109 .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()
|
D | radeon_rename_regs.c | 75 if (var->Inst->U.I.DstReg.File != RC_FILE_TEMPORARY) { in rc_rename_regs()
|
D | radeon_pair_regalloc.c | 242 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()
|
D | radeon_pair_schedule.c | 163 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()
|
D | radeon_dataflow.c | 273 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()
|
D | radeon_emulate_loops.c | 122 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()
|
D | radeon_dataflow_swizzles.c | 61 mov->U.I.DstReg.File = RC_FILE_TEMPORARY; in rewrite_source() 85 inst->U.I.SrcReg[src].File = RC_FILE_TEMPORARY; in rewrite_source()
|
D | radeon_optimize.c | 91 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()
|
D | radeon_program_constants.h | 53 RC_FILE_TEMPORARY, enumerator
|
D | radeon_program.c | 88 if (file != RC_FILE_TEMPORARY) in get_used_temporaries_cb()
|
D | radeon_dataflow_deadcode.c | 121 if (file == RC_FILE_OUTPUT || file == RC_FILE_TEMPORARY) { in get_used_ptr()
|
D | r300_fragprog_emit.c | 96 } else if (src.File == RC_FILE_TEMPORARY || src.File == RC_FILE_INPUT) { in use_source()
|
D | radeon_program_print.c | 142 case RC_FILE_TEMPORARY: filename = "temp"; break; in rc_print_register()
|
D | r500_fragprog_emit.c | 210 } else if (src.File == RC_FILE_TEMPORARY || src.File == RC_FILE_INPUT) { in use_source()
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_tgsi_to_rc.c | 139 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/ |
D | rc_test_helpers.c | 175 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()
|