Lines Matching defs:block
3909 emit_block(bi_context *ctx, nir_block *block)
3923 nir_foreach_instr(instr, block) {
3946 /* Emit second block, and check if it's empty */
3964 /* Emit a jump from the end of the then block to the end of the else */
4016 bi_block *block = emit_block(ctx, nir_cf_node_as_block(node));
4019 start_block = block;
4157 bi_foreach_block(ctx, block) {
4158 bi_foreach_clause_in_block(block, clause) {
4710 /* Dead code elimination for branches at the end of a block - only one branch
4711 * per block is legal semantically, but unreachable jumps can be generated.
4712 * Likewise on Bifrost we can generate jumps to the terminal block which need
4715 * terminal block instead.
4718 bi_lower_branch(bi_context *ctx, bi_block *block)
4724 bi_foreach_instr_in_block_safe(block, ins) {
5009 bi_foreach_block(ctx, block) {
5010 block->index = ctx->num_blocks++;
5089 bi_foreach_block(ctx, block) {
5090 bi_lower_branch(ctx, block);
5220 /* A register is preloaded <==> it is live before the first block */