Lines Matching full:program
30 #include "program.h"
214 * \param prog the program to search/replace
244 * Remove dead instructions from the given program.
376 * Scan forward in program from 'start' for the next occurances of TEMP[index].
735 * Try to remove extraneous MOV instructions from the given program.
1044 * Find the live intervals for each temporary register in the program.
1126 program.
1224 * Scan the program and replace all the old temporary register
1243 print_it(struct gl_context *ctx, struct gl_program *program, const char *txt) {
1244 fprintf(stderr, "%s (%u inst):\n", txt, program->NumInstructions);
1245 _mesa_print_program(program);
1246 _mesa_print_program_parameters(ctx, program);
1266 * as the original program. If (T1 < 0.0) evaluates to false, executing
1273 _mesa_simplify_cmp(struct gl_program * program)
1281 _mesa_print_program(program);
1292 for (i = 0; i < program->NumInstructions; i++) {
1293 struct prog_instruction *inst = program->Instructions + i;
1337 _mesa_print_program(program);
1342 * Apply optimizations to the given program to eliminate unnecessary
1346 _mesa_optimize_program(struct gl_context *ctx, struct gl_program *program)
1350 _mesa_simplify_cmp(program);
1354 _mesa_remove_extra_move_use(program);
1355 if (_mesa_remove_dead_code_global(program))
1357 if (_mesa_remove_extra_moves(program))
1359 if (_mesa_remove_dead_code_local(program))
1362 any_change = _mesa_constant_fold(program) || any_change;
1363 _mesa_reallocate_registers(program);