Home | History | Annotate | Download | only in program

Lines Matching refs:Instructions

170  * \return number of instructions removed
183 /* begin a run of instructions to remove */
188 /* extend the run of instructions to remove */
194 * instructions are to be removed.
224 struct prog_instruction *inst = prog->Instructions + i;
244 * Remove dead instructions from the given program.
246 * that are written to but never read. Remove any instructions that
268 const struct prog_instruction *inst = prog->Instructions + i;
321 /* find instructions that write to dead registers, flag for removal */
323 struct prog_instruction *inst = prog->Instructions + i;
350 /* now remove the instructions which aren't needed */
356 printf(" %u instructions removed\n", rem);
391 const struct prog_instruction *inst = prog->Instructions + i;
490 * Try to remove use of extraneous MOV instructions, to free them up for dead
515 const struct prog_instruction *mov = prog->Instructions + i;
526 /* Walk through remaining instructions until the or src reg gets
531 struct prog_instruction *inst2 = prog->Instructions + j;
549 * components read still come from the mov instructions
611 const struct prog_instruction *inst = prog->Instructions + i;
663 * Also, some other instructions (like TEX) are not linear. We will only
668 /* Carstesian instructions: we compute the swizzle */
709 /* Dot products and scalar instructions: we only change the destination */
723 /* All other instructions require fully active components with no swizzle */
735 * Try to remove extraneous MOV instructions from the given program.
760 const struct prog_instruction *mov = prog->Instructions + i;
789 prevInst = prog->Instructions + prevI;
825 /* now remove the instructions which aren't needed */
831 printf("Optimize: End remove extra moves. %u instructions removed\n", rem);
940 GLuint Start, End; /**< Start, end instructions of loop */
990 _mesa_find_temp_intervals(const struct prog_instruction *instructions,
1003 /* Scan instructions looking for temporary registers */
1005 const struct prog_instruction *inst = instructions + i;
1069 if (!_mesa_find_temp_intervals(prog->Instructions, prog->NumInstructions,
1256 * that ir_to_mesa converts to CMP instructions like the one mentioned above.
1293 struct prog_instruction *inst = program->Instructions + i;
1343 * instructions, temp regs, etc.