Home
last modified time | relevance | path

Searched refs:is_one (Results 1 - 18 of 18) sorted by relevance

/third_party/mesa3d/src/amd/common/
H A Dac_nir_opt_outputs.c76 bool is_zero[4] = {0}, is_one[4] = {0}; in ac_eliminate_const_output()
82 is_one[i] = true; in ac_eliminate_const_output()
87 is_one[i] = true; in ac_eliminate_const_output()
100 else if (is_one[3]) in ac_eliminate_const_output()
104 } else if (is_one[0] && is_one[1] && is_one[2]) { in ac_eliminate_const_output()
107 else if (is_one[3]) in ac_eliminate_const_output()
/third_party/mesa3d/src/compiler/glsl/
H A Dopt_algebraic.cpp112 return (ir == NULL) ? false : ir->is_one(); in is_vec_one()
897 outer_const->is_one()) in handle_expression()
902 inner_const->is_one() && in handle_expression()
920 inner_const->is_one() && in handle_expression()
927 outer_const->is_one()) in handle_expression()
H A Dir.cpp42 bool ir_rvalue::is_one() const in is_one() function in ir_rvalue
1640 ir_constant::is_one() const in is_one() function in ir_constant
2303 if (expr->operands[0]->is_one()) in try_min_one()
2306 if (expr->operands[1]->is_one()) in try_min_one()
H A Dir.h271 * \sa ir_constant::has_value, ir_rvalue::is_one, ir_rvalue::is_negative_one
285 virtual bool is_one() const;
295 * \sa ir_constant::has_value, ir_rvalue::is_zero, ir_rvalue::is_one
2331 * \sa ir_constant::is_zero, ir_constant::is_one,
2343 virtual bool is_one() const;
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_ir.h59 bool is_one() const;
H A Dbrw_fs_cmod_propagation.cpp258 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
H A Dbrw_vec4_cmod_propagation.cpp75 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
H A Dbrw_shader.cpp789 backend_reg::is_one() const in is_one() function in backend_reg
H A Dbrw_vec4.cpp688 } else if (inst->src[1].is_one()) { in opt_algebraic()
H A Dbrw_fs.cpp2615 if (inst->src[1].is_one()) {
2753 if (inst->src[1].is_one()) {
2758 } else if (inst->src[2].is_one()) {
/third_party/astc-encoder/Source/
H A Dastcenc_vecmathlib.h446 vmask4 is_one = p == vint4(0xFFFF);
467 vint4 r = select(p, fp16_one, is_one);
/third_party/mesa3d/src/mesa/main/
H A Dlight.c206 bool is_one = params[0] == 1.0f; in do_light() local
209 if (old_is_one != is_one) { in do_light()
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Decp_nistz256.c222 static BN_ULONG is_one(const BIGNUM *z) in is_one() function
810 is_one(generator->Z); in ecp_nistz256_is_affine_G()
1165 r->Z_is_one = is_one(r->Z) & 1; in ecp_nistz256_points_mul()
/third_party/openssl/crypto/ec/
H A Decp_nistz256.c222 static BN_ULONG is_one(const BIGNUM *z) in is_one() function
810 is_one(generator->Z); in ecp_nistz256_is_affine_G()
1165 r->Z_is_one = is_one(r->Z) & 1; in ecp_nistz256_points_mul()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DPatternMatch.h400 struct is_one { struct
405 inline cst_pred_ty<is_one> m_One() { in m_One()
406 return cst_pred_ty<is_one>(); in m_One()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dfolding_rules.cpp1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u
1447 if (is_one) {
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dfolding_rules.cpp1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u
1447 if (is_one) {
/third_party/spirv-tools/source/opt/
H A Dfolding_rules.cpp1601 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u
1603 if (is_one) {

Completed in 69 milliseconds