Lines Matching refs:instr
181 * that writes the same register can race w/ the sam instr
194 * instr consuming sfu result.. need to make
457 * (2) (block-is-empty || only-instr-is-jump)
463 struct ir3_instruction *instr =
465 if (instr->opc == OPC_JUMP) {
541 retarget_jump(struct ir3_instruction *instr, struct ir3_block *new_target)
543 struct ir3_block *old_target = instr->cat0.target;
544 struct ir3_block *cur_block = instr->block;
570 instr->cat0.target = new_target;
590 foreach_instr (instr, &block->instr_list) {
591 if (!is_flow(instr) || !instr->cat0.target)
594 struct ir3_block *tblock = resolve_dest_block(instr->cat0.target);
595 if (tblock != instr->cat0.target) {
601 if (retarget_jump(instr, tblock))
647 foreach_instr (instr, &block->instr_list)
648 if (is_flow(instr) && instr->cat0.target) {
650 &instr->cat0.target->instr_list, struct ir3_instruction, node);
652 instr->cat0.immed = (int)target->ip - (int)instr->ip;
704 foreach_instr_rev (instr, &pred->instr_list) {
705 if (!is_flow(instr))
707 if (instr->cat0.target == block) {
831 foreach_instr_safe (instr, &block->instr_list) {
832 if (instr->opc != OPC_KILL)
836 ir3_src_create(br, instr->srcs[0]->num, instr->srcs[0]->flags)->wrmask =
842 list_add(&br->node, &instr->node);
876 foreach_instr_safe (instr, &instr_list) {
877 unsigned delay = ir3_delay_calc(block, instr, so->mergedregs);
905 list_addtail(&instr->node, &block->instr_list);
906 last = instr;
943 foreach_instr (instr, &block->instr_list) {
944 if (is_input(instr)) {