Home
last modified time | relevance | path

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

12345678

/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/compiler/nir/
H A Dnir_opt_if.c639 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
640 if (bcsel->op != nir_op_bcsel && in opt_simplify_bcsel_of_phi()
641 bcsel->op != nir_op_b32csel && in opt_simplify_bcsel_of_phi()
642 bcsel->op != nir_op_fcsel) in opt_simplify_bcsel_of_phi()
651 if (!nir_alu_src_is_trivial_ssa(bcsel, i) || in opt_simplify_bcsel_of_phi()
663 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
707 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
716 nir_foreach_use_safe(use_src, &bcsel->dest.dest.ssa) { in opt_simplify_bcsel_of_phi()
722 nir_foreach_if_use_safe(use_src, &bcsel->dest.dest.ssa) { in opt_simplify_bcsel_of_phi()
730 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/lang/clover/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/compiler/nir/
H A 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()
654 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
656 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
692 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
701 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
707 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/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 (bcsel->op != nir_op_bcsel && in is_trivial_bcsel()
307 bcsel->op != nir_op_b32csel && in is_trivial_bcsel()
308 bcsel->op != nir_op_fcsel) in is_trivial_bcsel()
312 if (!nir_alu_src_is_trivial_ssa(bcsel, i) || in is_trivial_bcsel()
655 nir_alu_instr *const bcsel = nir_instr_as_alu(instr); in opt_simplify_bcsel_of_phi() local
657 nir_instr_as_phi(bcsel->src[0].src.ssa->parent_instr); in opt_simplify_bcsel_of_phi()
693 nir_dest_bit_size(bcsel->dest.dest), in opt_simplify_bcsel_of_phi()
702 nir_ssa_def_rewrite_uses(&bcsel->dest.dest.ssa, in opt_simplify_bcsel_of_phi()
708 nir_instr_remove_v(&bcsel->instr); in opt_simplify_bcsel_of_phi()
[all …]
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/glsl-1.10/execution/
H A Dvs-loop-simple-unroll-cf-inside-terminator.shader_test16 int j = 0; // we use this so the if doesn't get reduced to a series of bcsel
H A Dvs-loop-simple-unroll-induction-variable-inside-if-branch.shader_test16 int j = 0; // we use this so the if doesn't get reduced to a series of bcsel
H A Dvs-loop-complex-unroll-nested-break.shader_test22 j++; // we use this so the if doesn't get reduced to a series of bcsel
H A Dvs-loop-complex-unroll-cf-before-terminators.shader_test23 j++; // we use this so the if doesn't get reduced to a series of bcsel
H A Dvs-loop-complex-unroll-cf-inside-terminator.shader_test27 j++; // we use this so the if doesn't get reduced to a series of bcsel
/dports/lang/clover/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/libosmesa-gallium/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/libosmesa/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-gallium-va/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-dri-classic/mesa-20.2.3/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-dri/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/docs/relnotes/
H A D19.0.5.rst73 - Revert "nir: add late opt to turn inot/b2f combos back to bcsel"

12345678