Lines Matching defs:block
31 * same basic block. Usually this is to reduce register usage. It's probably
67 nir_opt_move_block(nir_block *block, nir_move_options options)
70 nir_instr *last_instr = nir_block_ends_in_jump(block) ?
71 nir_block_last_instr(block) : NULL;
72 const nir_if *iff = nir_block_get_following_if(block);
84 nir_foreach_instr_reverse_safe(instr, block) {
97 /* Check all users in this block which is the first */
102 if (parent->type == nir_instr_type_phi || parent->block != block)
131 /* No user was found in this block:
132 * This instruction will be moved to the end of the block.
134 assert(nir_block_last_instr(block)->type != nir_instr_type_jump);
135 if (instr == nir_block_last_instr(block))
140 exec_list_push_tail(&block->instr_list, &instr->node);
161 nir_foreach_block(block, func->impl) {
162 if (nir_opt_move_block(block, options))