Home
last modified time | relevance | path

Searched refs:bcsel (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_if.c305 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in is_trivial_bcsel() local
306 if (!nir_op_is_selection(bcsel->op)) in is_trivial_bcsel()
310 if (!nir_alu_src_is_trivial_ssa(bcsel, i) || in is_trivial_bcsel()
311 bcsel->src[i].src.ssa->parent_instr->block != instr->block) in is_trivial_bcsel()
314 if (bcsel->src[i].src.ssa->parent_instr->type != nir_instr_type_phi) { in is_trivial_bcsel()
322 nir_foreach_phi_src(src, nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr)) { in is_trivial_bcsel()
346 * the only ALU user is a trivial bcsel that gets removed by peeling the ALU
494 /* check if the only user is a trivial bcsel */ in opt_split_alu_of_phi()
551 * Simplify a bcsel whose sources are all phi nodes from the loop header block
553 * bcsel instruction
653 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); opt_simplify_bcsel_of_phi() local
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_instruction_selection.cpp1135 aco_ptr<Instruction> bcsel;
1172 isel_err(&instr->instr, "Unimplemented uniform bcsel bit size");
1177 /* divergent boolean bcsel
1178 * this implements bcsel on bools: dst = s0 ? s1 : s2

Completed in 20 milliseconds