Home
last modified time | relevance | path

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

/third_party/boost/boost/geometry/policies/robustness/
Dsegment_ratio.hpp155 inline bool is_one() const { return math::equals(m_numerator, m_denominator); } in is_one() function in boost::geometry::segment_ratio
169 return is_zero() || is_one(); in on_end()
/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()
Dlower_vector.cpp78 if (!c->is_one() && !c->is_zero() && !c->is_negative_one()) in is_extended_swizzle()
Dir.cpp41 bool ir_rvalue::is_one() const in is_one() function in ir_rvalue
1649 ir_constant::is_one() const in is_one() function in ir_constant
2304 if (expr->operands[0]->is_one()) in try_min_one()
2307 if (expr->operands[1]->is_one()) in try_min_one()
Dir.h289 virtual bool is_one() const;
2345 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.cpp792 backend_reg::is_one() const in is_one() function in backend_reg
Dbrw_vec4.cpp880 } else if (inst->src[1].is_one()) { in opt_algebraic()
Dbrw_fs.cpp2843 if (inst->src[1].is_one()) { in opt_algebraic()
2981 if (inst->src[1].is_one()) { in opt_algebraic()
2986 } else if (inst->src[2].is_one()) { in opt_algebraic()
/third_party/openssl/crypto/ec/
Decp_nistz256.c216 static BN_ULONG is_one(const BIGNUM *z) in is_one() function
805 is_one(generator->Z); in ecp_nistz256_is_affine_G()
1159 r->Z_is_one = is_one(r->Z) & 1; in ecp_nistz256_points_mul()
/third_party/mesa3d/src/mesa/main/
Dlight.c208 bool is_one = params[0] == 1.0f; in _mesa_light() local
211 if (old_is_one != is_one) { in _mesa_light()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dsort_by_side.hpp293 Point const& point_to = op.fraction.is_one() ? point3 : point2; in add()
/third_party/boost/boost/dynamic_bitset/
Ddynamic_bitset.hpp1904 const bool is_one = Tr::eq(to_c, one); in operator >>()
1906 if (!is_one && !Tr::eq(to_c, zero)) in operator >>()
1909 appender.do_append(is_one); in operator >>()
/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/mesa3d/src/amd/llvm/
Dac_llvm_build.c2752 bool is_zero[4] = {0}, is_one[4] = {0}; in ac_eliminate_const_output() local
2758 is_one[i] = true; in ac_eliminate_const_output()
2763 is_one[i] = true; in ac_eliminate_const_output()
2773 else if (is_one[0] && is_one[1] && is_one[2]) in ac_eliminate_const_output()
/third_party/spirv-tools/source/opt/
Dfolding_rules.cpp1404 bool is_one = (width == 32) ? int_constant->GetU32BitValue() == 1u in IntMultipleBy1() local
1406 if (is_one) { in IntMultipleBy1()
/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/mesa3d/src/mesa/program/
Dir_to_mesa.cpp776 if (c->is_one()) { in emit_swz()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp1700 ir->operands[1]->as_constant()->is_one()) { in visit_expression()
/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