Home
last modified time | relevance | path

Searched refs:bcsel (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_if.c304 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in is_trivial_bcsel() local
305 if (bcsel->op != nir_op_bcsel && in is_trivial_bcsel()
306 bcsel->op != nir_op_b32csel && in is_trivial_bcsel()
307 bcsel->op != nir_op_fcsel) in is_trivial_bcsel()
311 if (!nir_alu_src_is_trivial_ssa(bcsel, i) || in is_trivial_bcsel()
312 bcsel->src[i].src.ssa->parent_instr->block != instr->block) in is_trivial_bcsel()
315 if (bcsel->src[i].src.ssa->parent_instr->type != nir_instr_type_phi) { in is_trivial_bcsel()
323 nir_foreach_phi_src(src, nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr)) { in is_trivial_bcsel()
676 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
678 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
[all …]
/external/mesa3d/docs/relnotes/
D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
D17.3.7.rst117 - ac/nir: to integer the args to bcsel.
D19.1.0.rst519 - panfrost/midgard: Respect component of bcsel condition
1387 - v3d: Refactor bcsel and if condition handling.
1949 - nir: Convert a bcsel with only phi node sources to a phi node
1955 - nir/algebraic: Replace i2b used by bcsel or if-statement with
1966 - nir/algebraic: Replace a bcsel of a b2f sources with a b2f(!(a \|\|
1996 a bcsel
2006 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
D19.0.0.rst486 - ac: avoid casting pointers on bcsel and stores
806 - v3d: Simplify the emission of comparisons for the bcsel optimization.
808 bcsel.
2388 - nir: allow propagation of if evaluation for bcsel
D20.2.0.rst1269 - nir/algebraic: optimize bcsel(a, 0, 1) to b2i
1273 - nir/algebraic: add some more unop + bcsel optimizations
1274 - nir/algebraic: optimize fmul(x, bcsel(c, -1.0, 1.0)) -> bcsel(c, -x, x)
1278 - nir/algebraic: fold some nested bcsel
D20.3.0.rst2861 - nir/opt_intrinsic: Optimize bcsel(b, shuffle(x, i), shuffle(x, j))
3380 - ac/llvm: fix bcsel for v2*16
4123 - nir: skip bcsel with non-trivial swizzle in opt_simplify_bcsel_of_phi()
D19.3.0.rst1462 - zink/spirv: implement bcsel
1692 - nir/range-analysis: Use types to provide better ranges from bcsel and
D20.0.0.rst1443 - nir/algebraic: Rearrange bcsel sequences generated by
D20.1.0.rst464 - pan/bi: Lower b2f to bcsel
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp969 aco_ptr<Instruction> bcsel; in emit_bcsel() local