Searched refs:is_zero (Results 1 - 25 of 46) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_opt_algebraic.c80 is_zero(struct vc4_compile *c, struct qreg reg) function in typeref:typename:bool
116 if (!is_zero(c, inst->src[arg]))
127 if (!is_zero(c, inst->src[arg]))
161 if (is_zero(c, inst->src[1]) &&
171 if (is_zero(c, inst->src[1])) {
201 if (is_zero(c, fsub->src[0])) {
216 if (is_zero(c, fsub->src[0])) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_opt_algebraic.c80 is_zero(struct vc4_compile *c, struct qreg reg) function in typeref:typename:bool
116 if (!is_zero(c, inst->src[arg]))
127 if (!is_zero(c, inst->src[arg]))
161 if (is_zero(c, inst->src[1]) &&
171 if (is_zero(c, inst->src[1])) {
201 if (is_zero(c, fsub->src[0])) {
216 if (is_zero(c, fsub->src[0])) {
/xsrc/external/mit/MesaLib/dist/bin/
H A Dgen_calendar_entries_test.py99 'is_zero, expected',
105 def test(self, is_zero: bool, expected: int) -> None:
106 date = gen_calendar_entries._calculate_next_release_date(is_zero)
118 'is_zero, expected',
124 def test(self, is_zero: bool, expected: int) -> None:
125 date = gen_calendar_entries._calculate_next_release_date(is_zero)
137 'is_zero, expected',
143 def test(self, is_zero: bool, expected: int) -> None:
144 date = gen_calendar_entries._calculate_next_release_date(is_zero)
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_ir.h58 bool is_zero() const;
H A Dbrw_vec4_cmod_propagation.cpp71 (inst->opcode != BRW_OPCODE_CMP || inst->src[1].is_zero()))
90 if (inst->opcode == BRW_OPCODE_CMP && !inst->src[1].is_zero()) {
H A Dbrw_fs_cmod_propagation.cpp247 (inst->opcode != BRW_OPCODE_CMP || inst->src[1].is_zero()))
272 if (inst->opcode == BRW_OPCODE_CMP && !inst->src[1].is_zero()) {
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_fs_cmod_propagation.cpp191 (inst->opcode != BRW_OPCODE_CMP || inst->src[1].is_zero()))
220 if (inst->opcode == BRW_OPCODE_CMP && !inst->src[1].is_zero()) {
H A Dbrw_vec4_cmod_propagation.cpp71 (inst->opcode != BRW_OPCODE_CMP || inst->src[1].is_zero()))
90 if (inst->opcode == BRW_OPCODE_CMP && !inst->src[1].is_zero()) {
H A Dbrw_shader.h64 bool is_zero() const;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_vector.cpp78 if (!c->is_one() && !c->is_zero() && !c->is_negative_one())
H A Dopt_algebraic.cpp106 return (ir == NULL) ? false : ir->is_zero();
687 if (op_const[i]->is_zero())
896 inner_const->is_zero() &&
903 outer_const->is_zero())
908 inner_const->is_zero() &&
915 outer_const->is_zero())
H A Dir.cpp36 bool ir_rvalue::is_zero() const function in class:ir_rvalue
1643 ir_constant::is_zero() const function in class:ir_constant
2321 if (expr->operands[0]->is_zero())
2324 if (expr->operands[1]->is_zero())
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_vector.cpp78 if (!c->is_one() && !c->is_zero() && !c->is_negative_one())
H A Dopt_algebraic.cpp106 return (ir == NULL) ? false : ir->is_zero();
686 if (op_const[i]->is_zero())
897 inner_const->is_zero() &&
904 outer_const->is_zero())
909 inner_const->is_zero() &&
916 outer_const->is_zero())
H A Dir.cpp35 bool ir_rvalue::is_zero() const function in class:ir_rvalue
1341 ir_constant::is_zero() const function in class:ir_constant
1992 if (expr->operands[0]->is_zero())
1995 if (expr->operands[1]->is_zero())
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_idiv_const.c133 nir_ssa_def *is_zero = nir_ieq_imm(b, n, 0); local in function:build_imod
134 return nir_bcsel(b, nir_ior(b, is_neg_not_int_min, is_zero), n, nir_iadd(b, int_min_def, n));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/api/
H A Dkernel.cpp233 if (!d_grid_size || any_of(is_zero(), grid_size))
257 if (any_of(is_zero(), block_size) ||
H A Dtransfer.cpp57 if (any_of(is_zero(), region))
92 if (any_of(is_zero(), region))
113 if (any_of(is_zero(), region))
H A Dprogram.cpp58 any_of(is_zero(), range(strings, count)))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/clover/util/
H A Dfunctional.hpp290 struct is_zero { struct in namespace:clover
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/util/
H A Dfunctional.hpp290 struct is_zero { struct in namespace:clover
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dlight.c224 bool is_zero = params[0] == 0.0f; local in function:_mesa_light
227 if (old_is_zero != is_zero) {
240 bool is_zero = params[0] == 0.0f; local in function:_mesa_light
243 if (old_is_zero != is_zero) {
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/api/
H A Dkernel.cpp295 if (any_of(is_zero(), block_size) ||
H A Dtransfer.cpp62 if (any_of(is_zero(), region))
97 if (any_of(is_zero(), region))
119 if (any_of(is_zero(), region))
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/clover/core/
H A Dkernel.cpp71 if (any_of(is_zero(), grid_size))
144 if (any_of(is_zero(), grid_size))

Completed in 26 milliseconds

12