Searched refs:inst_add (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c471 struct rc_instruction * inst_add,
481 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL,
495 presub_replace(inst_add, reader.Inst, src_index);
501 /* This function assumes that inst_add->U.I.SrcReg[0] and
502 * inst_add->U.I.SrcReg[1] aren't both negative. */
504 struct rc_instruction * inst_add,
509 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate)
514 if (inst_add->U.I.SrcReg[1].Negate) {
515 inst_reader->U.I.PreSub.SrcReg[0] = inst_add
469 presub_helper(struct radeon_compiler * c,struct rc_instruction * inst_add,rc_presubtract_op presub_opcode,rc_presub_replace_fn presub_replace) argument
503 presub_replace_add(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
581 peephole_add_presub_add(struct radeon_compiler * c,struct rc_instruction * inst_add) argument
618 presub_replace_inv(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
645 peephole_add_presub_inv(struct radeon_compiler * c,struct rc_instruction * inst_add) argument
[all...]
H A Dradeon_program_tex.c159 struct rc_instruction *inst_mul, *inst_add, *inst_cmp; local in function:radeonTransformTEX
206 inst_add = rc_insert_new_instruction(c, inst_mul);
207 inst_add->U.I.Opcode = RC_OPCODE_ADD;
208 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
209 inst_add->U.I.DstReg.Index = tmp_sum;
210 inst_add->U.I.DstReg.WriteMask = RC_MASK_W;
211 inst_add->U.I.SrcReg[0].File = RC_FILE_TEMPORARY;
212 inst_add->U.I.SrcReg[0].Index = tmp_sum;
213 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW;
214 inst_add
325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add; local in function:radeonTransformTEX
[all...]
H A Dradeon_compiler.c326 struct rc_instruction *inst_add; local in function:rc_transform_fragment_face
330 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
331 inst_add->U.I.Opcode = RC_OPCODE_ADD;
333 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
334 inst_add->U.I.DstReg.Index = tempregi;
335 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
337 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
338 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
340 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
341 inst_add
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c469 struct rc_instruction * inst_add,
479 rc_get_readers(c, inst_add, &reader_data, presub_scan_read, NULL,
493 presub_replace(inst_add, reader.Inst, src_index);
499 /* This function assumes that inst_add->U.I.SrcReg[0] and
500 * inst_add->U.I.SrcReg[1] aren't both negative. */
502 struct rc_instruction * inst_add,
507 if (inst_add->U.I.SrcReg[1].Negate || inst_add->U.I.SrcReg[0].Negate)
512 if (inst_add->U.I.SrcReg[1].Negate) {
513 inst_reader->U.I.PreSub.SrcReg[0] = inst_add
467 presub_helper(struct radeon_compiler * c,struct rc_instruction * inst_add,rc_presubtract_op presub_opcode,rc_presub_replace_fn presub_replace) argument
501 presub_replace_add(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
579 peephole_add_presub_add(struct radeon_compiler * c,struct rc_instruction * inst_add) argument
616 presub_replace_inv(struct rc_instruction * inst_add,struct rc_instruction * inst_reader,unsigned int src_index) argument
643 peephole_add_presub_inv(struct radeon_compiler * c,struct rc_instruction * inst_add) argument
[all...]
H A Dradeon_program_tex.c159 struct rc_instruction *inst_mul, *inst_add, *inst_cmp; local in function:radeonTransformTEX
206 inst_add = rc_insert_new_instruction(c, inst_mul);
207 inst_add->U.I.Opcode = RC_OPCODE_ADD;
208 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
209 inst_add->U.I.DstReg.Index = tmp_sum;
210 inst_add->U.I.DstReg.WriteMask = RC_MASK_W;
211 inst_add->U.I.SrcReg[0].File = RC_FILE_TEMPORARY;
212 inst_add->U.I.SrcReg[0].Index = tmp_sum;
213 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW;
214 inst_add
325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add; local in function:radeonTransformTEX
[all...]
H A Dradeon_compiler.c326 struct rc_instruction *inst_add; local in function:rc_transform_fragment_face
330 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
331 inst_add->U.I.Opcode = RC_OPCODE_ADD;
333 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
334 inst_add->U.I.DstReg.Index = tempregi;
335 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
337 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
338 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
340 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
341 inst_add
[all...]

Completed in 7 milliseconds