Lines Matching defs:block
474 struct qblock *block = rzalloc(c, struct qblock);
476 list_inithead(&block->instructions);
478 block->predecessors = _mesa_set_create(block,
482 block->index = c->next_block_index++;
484 return block;
488 vir_set_emit_block(struct v3d_compile *c, struct qblock *block)
490 c->cur_block = block;
491 c->cursor = vir_after_block(block);
492 list_addtail(&block->link, &c->blocks);
1219 v3d_nir_sort_constant_ubo_load(nir_block *block, nir_intrinsic_instr *ref)
1400 nir_block *block)
1406 nir_foreach_instr_safe(inst, block) {
1411 v3d_nir_sort_constant_ubo_load(block, intr);
1421 * Sorts constant UBO loads in each block by offset to maximize chances of
1430 nir_foreach_block(block, function->impl) {
1432 v3d_nir_sort_constant_ubo_loads_block(c, block);
1462 nir_block *block, nir_builder *b)
1465 nir_foreach_instr_safe(inst, block) {
1502 nir_foreach_block(block, function->impl)
1503 progress |= lower_subgroup_intrinsics(c, block, &b);
1964 vir_for_each_block(block, c) {
1965 while (!list_is_empty(&block->instructions)) {
1967 list_first_entry(&block->instructions,
2008 /* Looks back into the current block to find the ldunif that wrote the uniform
2024 /* We can only reuse a uniform if it was emitted in the same block,
2026 * in the current block.