Home | History | Annotate | Download | only in program

Lines Matching refs:Instructions

355  * Insert 'count' NOP instructions at 'start' in the given program.
368 struct prog_instruction *inst = prog->arb.Instructions + i;
376 /* Alloc storage for new instructions */
382 /* Copy 'start' instructions into new instruction buffer */
383 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
385 /* init the new instructions */
388 /* Copy the remaining/tail instructions to new inst buffer */
390 prog->arb.Instructions + start,
393 /* free old instructions */
394 ralloc_free(prog->arb.Instructions);
396 /* install new instructions */
397 prog->arb.Instructions = newInst;
404 * Delete 'count' instructions at 'start' in the given program.
418 struct prog_instruction *inst = prog->arb.Instructions + i;
426 /* Alloc storage for new instructions */
432 /* Copy 'start' instructions into new instruction buffer */
433 _mesa_copy_instructions(newInst, prog->arb.Instructions, start);
435 /* Copy the remaining/tail instructions to new inst buffer */
437 prog->arb.Instructions + start + count,
440 /* free old instructions */
441 ralloc_free(prog->arb.Instructions);
443 /* install new instructions */
444 prog->arb.Instructions = newInst;
468 const struct prog_instruction *inst = prog->arb.Instructions + i;