Searched refs:header_block (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_if.c41 nir_block *header_block = nir_loop_first_block(loop); local in function:find_continue_block
45 assert(header_block->predecessors->entries == 2);
47 set_foreach(header_block->predecessors, pred_entry) {
141 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_peel_loop_initial_if
146 assert(_mesa_set_search(header_block->predecessors, prev_block));
152 if (header_block->predecessors->entries != 2)
155 nir_cf_node *if_node = nir_cf_node_next(&header_block->cf_node);
167 if (cond->parent_instr->block != header_block)
220 nir_lower_phis_to_regs_block(header_block);
225 nir_lower_ssa_defs_to_regs_block(header_block);
397 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_split_alu_of_phi
628 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_simplify_bcsel_of_phi
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_if.c41 nir_block *header_block = nir_loop_first_block(loop); local in function:find_continue_block
45 assert(header_block->predecessors->entries == 2);
47 set_foreach(header_block->predecessors, pred_entry) {
143 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_peel_loop_initial_if
148 assert(_mesa_set_search(header_block->predecessors, prev_block));
154 if (header_block->predecessors->entries != 2)
157 nir_cf_node *if_node = nir_cf_node_next(&header_block->cf_node);
169 if (cond->parent_instr->block != header_block)
222 nir_lower_phis_to_regs_block(header_block);
227 nir_lower_ssa_defs_to_regs_block(header_block);
377 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_split_alu_of_phi
654 nir_block *header_block = nir_loop_first_block(loop); local in function:opt_simplify_bcsel_of_phi
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_cfg.c366 if (loop && target_block == loop->header_block)
643 loop->header_block = block;
660 &loop->body, loop->header_block);
671 if (loop->cont_block != loop->header_block) {
729 if_stmt->header_block = block;
1093 const uint32_t *branch = vtn_if->header_block->branch;
H A Dvtn_private.h174 struct vtn_block *header_block; member in struct:vtn_loop
190 struct vtn_block *header_block; member in struct:vtn_if

Completed in 7 milliseconds