Home
last modified time | relevance | path

Searched refs:is_one (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/amd/common/
Dac_nir_opt_outputs.c76 bool is_zero[4] = {0}, is_one[4] = {0}; in ac_eliminate_const_output() local
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/amd/vulkan/radix_sort/shaders/
Dscatter.glsl499 const bool is_one = RS_BIT_IS_ONE(digit, 0);
500 const u32vec2 ballot = subgroupBallot(is_one).xy;
501 const uint32_t mask = is_one ? 0 : 0xFFFFFFFF;
509 const bool is_one = RS_BIT_IS_ONE(digit, bit);
510 const u32vec2 ballot = subgroupBallot(is_one).xy;
511 const uint32_t mask = is_one ? 0 : 0xFFFFFFFF;
534 const bool is_one = RS_BIT_IS_ONE(digit, 0);
535 const uint32_t ballot = subgroupBallot(is_one).x;
536 const uint32_t mask = is_one ? 0 : RS_SUBGROUP_MASK;
543 const bool is_one = RS_BIT_IS_ONE(digit, bit);
[all …]
/third_party/mesa3d/src/compiler/glsl/
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()
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()
Dir.h285 virtual bool is_one() const;
2343 virtual bool is_one() const;
/third_party/mesa3d/src/intel/compiler/
Dbrw_ir.h59 bool is_one() const;
Dbrw_vec4_cmod_propagation.cpp75 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
Dbrw_fs_cmod_propagation.cpp258 !(inst->src[1].is_one() && in opt_cmod_propagation_local()
Dbrw_shader.cpp789 backend_reg::is_one() const in is_one() function in backend_reg
Dbrw_fs.cpp2615 if (inst->src[1].is_one()) { in opt_algebraic()
2753 if (inst->src[1].is_one()) { in opt_algebraic()
2758 } else if (inst->src[2].is_one()) { in opt_algebraic()
Dbrw_vec4.cpp688 } else if (inst->src[1].is_one()) { in opt_algebraic()
/third_party/astc-encoder/Source/
Dastcenc_vecmathlib.h443 vmask4 is_one = p == vint4(0xFFFF); in unorm16_to_sf16() local
464 vint4 r = select(p, fp16_one, is_one); in unorm16_to_sf16()
/third_party/openssl/crypto/ec/
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/node/deps/openssl/openssl/crypto/ec/
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/mesa3d/src/mesa/main/
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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h400 struct is_one { struct
405 inline cst_pred_ty<is_one> m_One() { in m_One() argument
406 return cst_pred_ty<is_one>(); in m_One()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfolding_rules.cpp1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1447 if (is_one) { in IntMultipleBy1()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1445 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1447 if (is_one) { in IntMultipleBy1()
/third_party/spirv-tools/source/opt/
Dfolding_rules.cpp1579 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1581 if (is_one) { in IntMultipleBy1()
/third_party/mesa3d/docs/relnotes/
D7.10.rst1611 - glsl: Make is_zero and is_one virtual methods of ir_rvalue
D19.1.0.rst1921 - intel/compiler: implement is_zero, is_one, is_negative_one for