Lines Matching defs:current
788 Block& current = program->blocks[i++];
789 wait_ctx ctx = in_ctx[current.index];
791 if (current.kind & block_kind_loop_header) {
792 loop_header_indices.push(current.index);
793 } else if (current.kind & block_kind_loop_exit) {
806 for (unsigned b : current.linear_preds)
808 for (unsigned b : current.logical_preds)
811 if (done[current.index] && !changed) {
812 in_ctx[current.index] = std::move(ctx);
815 in_ctx[current.index] = ctx;
818 if (current.instructions.empty()) {
819 out_ctx[current.index] = std::move(ctx);
823 loop_progress = std::max<unsigned>(loop_progress, current.loop_nest_depth);
824 done[current.index] = true;
826 handle_block(program, current, ctx);
828 out_ctx[current.index] = std::move(ctx);