Searched refs:is_not_zero (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_frexp.c38 nir_ssa_def *is_not_zero = nir_fne(b, abs_x, zero); local in function:lower_frexp_sig
96 nir_bcsel(b, is_not_zero, exponent_value, zero32));
103 nir_bcsel(b, is_not_zero, exponent_value, zero));
112 nir_ssa_def *is_not_zero = nir_fne(b, abs_x, zero); local in function:lower_frexp_exp
124 nir_bcsel(b, is_not_zero, exponent_bias, zero)));
132 nir_bcsel(b, is_not_zero, exponent_bias, zero));
143 nir_bcsel(b, is_not_zero, exponent_bias, zero32));
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_frexp.c124 nir_ssa_def *is_not_zero = nir_fneu(b, abs_x, zero); local in function:lower_frexp_exp
136 nir_bcsel(b, is_not_zero, exponent_bias, zero)));
144 nir_bcsel(b, is_not_zero, exponent_bias, zero));
155 nir_bcsel(b, is_not_zero, exponent_bias, zero32));
H A Dnir_range_analysis.c41 is_not_zero(enum ssa_ranges r) function in typeref:typename:bool
887 (!is_not_zero(left.range) && right.is_finite) ||
888 (left.is_finite && !is_not_zero(right.range)));
H A Dnir_search_helpers.h524 is_not_zero(struct hash_table *ht, const nir_alu_instr *instr, unsigned src, function in typeref:typename:bool
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_instructions.cpp690 ir_variable *is_not_zero = local in function:lower_instructions_visitor::dfrexp_sig_to_arith
691 new(ir) ir_variable(bvec, "is_not_zero", ir_var_temporary);
695 i.insert_before(is_not_zero);
697 assign(is_not_zero,
727 csel(swizzle(is_not_zero, elem, 1),
763 ir_variable *is_not_zero = local in function:lower_instructions_visitor::dfrexp_exp_to_arith
764 new(ir) ir_variable(bvec, "is_not_zero", ir_var_temporary);
772 i.insert_before(is_not_zero);
774 i.insert_before(assign(is_not_zero, nequal(absval->clone(ir, NULL), dzero)));
791 ir->operands[0] = new(ir) ir_dereference_variable(is_not_zero);
[all...]
H A Dbuiltin_functions.cpp7030 ir_variable *is_not_zero = body.make_temp(bvec, "is_not_zero"); local in function:builtin_builder::_frexp
7031 body.emit(assign(is_not_zero, nequal(abs(x), imm(0.0f, vec_elem))));
7037 body.emit(assign(exponent, add(exponent, csel(is_not_zero, exponent_bias,
7043 body.emit(assign(bits, bit_or(bits, csel(is_not_zero, exponent_value,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_instructions.cpp683 ir_variable *is_not_zero = local in function:lower_instructions_visitor::dfrexp_sig_to_arith
684 new(ir) ir_variable(bvec, "is_not_zero", ir_var_temporary);
688 i.insert_before(is_not_zero);
690 assign(is_not_zero,
720 csel(swizzle(is_not_zero, elem, 1),
756 ir_variable *is_not_zero = local in function:lower_instructions_visitor::dfrexp_exp_to_arith
757 new(ir) ir_variable(bvec, "is_not_zero", ir_var_temporary);
765 i.insert_before(is_not_zero);
767 i.insert_before(assign(is_not_zero, nequal(absval->clone(ir, NULL), dzero)));
784 ir->operands[0] = new(ir) ir_dereference_variable(is_not_zero);
[all...]
H A Dbuiltin_functions.cpp6551 ir_variable *is_not_zero = body.make_temp(bvec, "is_not_zero"); local in function:builtin_builder::_frexp
6552 body.emit(assign(is_not_zero, nequal(abs(x), imm(0.0f, vec_elem))));
6558 body.emit(assign(exponent, add(exponent, csel(is_not_zero, exponent_bias,
6564 body.emit(assign(bits, bit_or(bits, csel(is_not_zero, exponent_value,
/xsrc/external/mit/MesaLib/src/compiler/nir/
H A Dnir_opt_algebraic.c956 * ('fneu', 'a(is_not_zero)', 0.0) => True
957 * ('feq', 'a(is_not_zero)', 0.0) => False
964 * ('ine', 'a(is_not_zero)', 0) => True
965 * ('ieq', 'a(is_not_zero)', 0) => False
34731 (is_not_zero),
[all...]

Completed in 167 milliseconds