Home
last modified time | relevance | path

Searched refs:lhs_type (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/compiler/
Dtyped-optimization.cc320 Type const lhs_type = NodeProperties::GetType(lhs); in ReduceNumberFloor() local
323 if (lhs_type.Is(Type::Unsigned32()) && rhs_type.Is(Type::Unsigned32())) { in ReduceNumberFloor()
339 Type::Range(0, lhs_type.Max(), graph()->zone())); in ReduceNumberFloor()
403 Type const lhs_type = NodeProperties::GetType(lhs); in ReduceReferenceEqual() local
405 if (!lhs_type.Maybe(rhs_type)) { in ReduceReferenceEqual()
516 Type lhs_type = NodeProperties::GetType(lhs); in ReduceStringComparison() local
548 lhs_type, true); in ReduceStringComparison()
583 Type const lhs_type = NodeProperties::GetType(lhs); in ReduceSameValue() local
591 } else if (lhs_type.Is(Type::Unique()) && rhs_type.Is(Type::Unique())) { in ReduceSameValue()
595 } else if (lhs_type.Is(Type::String()) && rhs_type.Is(Type::String())) { in ReduceSameValue()
[all …]
Dsimplified-lowering.cc2237 Type const lhs_type = TypeOf(node->InputAt(0)); in VisitNode() local
2244 if ((lhs_type.Is(Type::Unsigned32OrMinusZero()) && in VisitNode()
2246 (lhs_type.Is(Type::Unsigned32OrMinusZeroOrNaN()) && in VisitNode()
2255 if ((lhs_type.Is(Type::Signed32OrMinusZero()) && in VisitNode()
2257 (lhs_type.Is(Type::Signed32OrMinusZeroOrNaN()) && in VisitNode()
2274 Type const lhs_type = TypeOf(node->InputAt(0)); in VisitNode() local
2279 if (lhs_type.Is(Type::Unsigned32OrMinusZero()) && in VisitNode()
2285 } else if (lhs_type.Is(Type::Signed32OrMinusZero()) && in VisitNode()
2311 Type const lhs_type = TypeOf(node->InputAt(0)); in VisitNode() local
2316 if (lhs_type.Is(Type::Unsigned32OrMinusZero()) && in VisitNode()
[all …]
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_equation_instructions.cpp217 auto lhs_type = in Apply() local
221 if (lhs_type->AsVector()) { in Apply()
222 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
223 lhs_bit_width = lhs_type->AsVector() in Apply()
229 lhs_bit_width = lhs_type->AsInteger()->width(); in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_equation_instructions.cpp217 auto lhs_type = in Apply() local
221 if (lhs_type->AsVector()) { in Apply()
222 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
223 lhs_bit_width = lhs_type->AsVector() in Apply()
229 lhs_bit_width = lhs_type->AsInteger()->width(); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_equation_instructions.cpp217 auto lhs_type = in Apply() local
221 if (lhs_type->AsVector()) { in Apply()
222 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply()
223 lhs_bit_width = lhs_type->AsVector() in Apply()
229 lhs_bit_width = lhs_type->AsInteger()->width(); in Apply()
/third_party/json/docs/mkdocs/docs/api/basic_json/
Doperator_eq.md87 const auto lhs_type lhs.type();
89 if (lhs_type == rhs_type)
91 switch(lhs_type)
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test.cc1501 auto* lhs_type = params.create_lhs_type(*this); in TEST_P() local
1506 ss << FriendlyName(lhs_type) << " " << params.op << " " in TEST_P()
1510 Global("lhs", lhs_type, ast::StorageClass::kPrivate); in TEST_P()
1541 auto* lhs_type = create_lhs_type(*this); in TEST_P() local
1545 ss << FriendlyName(lhs_type) << " " << params.op << " " in TEST_P()
1548 ss << ", After aliasing: " << FriendlyName(lhs_type) << " " << params.op in TEST_P()
1552 Global("lhs", lhs_type, ast::StorageClass::kPrivate); in TEST_P()
1597 auto* lhs_type = lhs_create_type_func(*this); in TEST_P() local
1601 ss << FriendlyName(lhs_type) << " " << op << " " << FriendlyName(rhs_type); in TEST_P()
1604 Global("lhs", lhs_type, ast::StorageClass::kPrivate); in TEST_P()
[all …]
Dtype_constructor_validation_test.cc236 builder::ast_type_func_ptr lhs_type; member
303 auto* lhs_type1 = params.lhs_type(*this); in TEST_P()
304 auto* lhs_type2 = params.lhs_type(*this); in TEST_P()
381 if (v.lhs_type == lhs_params.ast && v.rhs_type == rhs_params.ast && in TEST_P()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc1987 auto* lhs_type = TypeOf(expr->lhs)->UnwrapRef(); in GenerateBinaryExpression() local
1991 if ((expr->IsAdd() || expr->IsSubtract()) && lhs_type->is_float_matrix() && in GenerateBinaryExpression()
1993 auto* lhs_mat = lhs_type->As<sem::Matrix>(); in GenerateBinaryExpression()
2012 ((lhs_type->is_float_scalar() && rhs_type->is_float_vector()) || in GenerateBinaryExpression()
2013 (lhs_type->is_float_vector() && rhs_type->is_float_scalar())); in GenerateBinaryExpression()
2016 if (lhs_type->Is<sem::Vector>() && rhs_type->is_numeric_scalar()) { in GenerateBinaryExpression()
2017 uint32_t splat_vector_id = GenerateSplat(rhs_id, lhs_type); in GenerateBinaryExpression()
2022 rhs_type = lhs_type; in GenerateBinaryExpression()
2024 } else if (lhs_type->is_numeric_scalar() && rhs_type->Is<sem::Vector>()) { in GenerateBinaryExpression()
2030 lhs_type = rhs_type; in GenerateBinaryExpression()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc433 auto* lhs_type = TypeOf(expr->lhs)->UnwrapRef(); in EmitBinary() local
438 lhs_type->is_float_scalar_or_vector()) { in EmitBinary()
453 lhs_type->is_signed_scalar_or_vector() && in EmitBinary()
458 lhs_type->Is<sem::Vector>() in EmitBinary()
459 ? lhs_type in EmitBinary()
460 : (rhs_type->Is<sem::Vector>() ? rhs_type : lhs_type); in EmitBinary()
468 ScopedBitCast lhs_uint_cast(this, out, lhs_type, in EmitBinary()
491 if (expr->IsShiftLeft() && lhs_type->is_signed_scalar_or_vector()) { in EmitBinary()
494 ScopedBitCast outer_int_cast(this, out, lhs_type, signed_type_of(lhs_type)); in EmitBinary()
497 ScopedBitCast lhs_uint_cast(this, out, lhs_type, in EmitBinary()
[all …]
/third_party/node/deps/v8/src/torque/
Dcsa-generator.cc545 std::string lhs_type; in EmitInstruction() local
549 lhs_type = result_types[0]->GetGeneratedTNodeTypeName(); in EmitInstruction()
556 lhs_type = "PairT<" + result_types[0]->GetGeneratedTNodeTypeName() + in EmitInstruction()
558 decls() << " TNode<" << lhs_type << "> " << lhs_name << ";\n"; in EmitInstruction()
575 out() << "ca_.CallStub<" << lhs_type in EmitInstruction()
/third_party/json/include/nlohmann/
Djson.hpp3573 …const auto lhs_type = lhs.type(); …
3576 …if (lhs_type == rhs_type) /* NOLINT(readability/braces) */ …
3578 … switch (lhs_type) \
3612 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) …
3616 …else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) …
3620 …else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) …
3624 …else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) …
3628 …else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) …
3632 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) …
3717 lhs_type <=> rhs_type) // *NOPAD* in operator <=>()
[all …]
/third_party/json/docs/mkdocs/docs/features/types/
Dnumber_handling.md206 const auto lhs_type lhs.type();
208 if (lhs_type == rhs_type)
210 switch(lhs_type)
/third_party/node/deps/v8/src/builtins/
Dbuiltins-string-gen.h89 MachineType lhs_type, TNode<String> rhs,
Dbuiltins-string-gen.cc244 TNode<String> lhs, TNode<Word32T> lhs_instance_type, MachineType lhs_type, in StringEqual_Loop() argument
266 Load(lhs_type, lhs_data, in StringEqual_Loop()
268 ElementSizeLog2Of(lhs_type.representation())))); in StringEqual_Loop()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc648 auto* lhs_type = TypeOf(expr->lhs)->UnwrapRef(); in EmitBinary() local
653 ((lhs_type->Is<sem::Vector>() && rhs_type->Is<sem::Matrix>()) || in EmitBinary()
654 (lhs_type->Is<sem::Matrix>() && rhs_type->Is<sem::Vector>()) || in EmitBinary()
655 (lhs_type->Is<sem::Matrix>() && rhs_type->Is<sem::Matrix>()))) { in EmitBinary()
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp20480 const auto lhs_type = lhs.type(); in operator ==() local
20483 if (lhs_type == rhs_type) in operator ==()
20485 switch (lhs_type) in operator ==()
20519 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) in operator ==()
20523 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) in operator ==()
20527 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) in operator ==()
20531 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) in operator ==()
20535 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) in operator ==()
20539 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) in operator ==()
20597 const auto lhs_type = lhs.type(); in operator <() local
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp22751 …const auto lhs_type = lhs.type(); …
22754 …if (lhs_type == rhs_type) /* NOLINT(readability/braces) */ …
22756 … switch (lhs_type) \
22790 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) …
22794 …else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) …
22798 …else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) …
22802 …else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) …
22806 …else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) …
22810 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) …
22895 lhs_type <=> rhs_type) // *NOPAD* in operator <=>()
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp15647 auto &lhs_type = get<SPIRType>(lhs_type_id); in emit_copy_logical_type() local
15650 if (!lhs_type.array.empty()) in emit_copy_logical_type()
15654 uint32_t array_size = to_array_size_literal(lhs_type); in emit_copy_logical_type()
15660 emit_copy_logical_type(lhs_id, lhs_type.parent_type, rhs_id, rhs_type.parent_type, chain); in emit_copy_logical_type()
15663 else if (lhs_type.basetype == SPIRType::Struct) in emit_copy_logical_type()
15666 uint32_t member_count = uint32_t(lhs_type.member_types.size()); in emit_copy_logical_type()
15670 … emit_copy_logical_type(lhs_id, lhs_type.member_types[i], rhs_id, rhs_type.member_types[i], chain); in emit_copy_logical_type()
/third_party/libabigail/src/
Dabg-ir.cc13937 maybe_propagate_canonical_type(const type_base& lhs_type,
22290 maybe_propagate_canonical_type(const type_base& lhs_type, in maybe_propagate_canonical_type() argument
22293 const environment& env = lhs_type.get_environment(); in maybe_propagate_canonical_type()
22300 if (type_base_sptr canonical_type = lhs_type.get_canonical_type()) in maybe_propagate_canonical_type()
22302 if (env.priv_->propagate_ct(lhs_type, rhs_type)) in maybe_propagate_canonical_type()
/third_party/node/deps/v8/src/wasm/
Dfunction-body-decoder-impl.h5450 ValueType lhs_type, ValueType rhs_type) {
5452 Value lval = Peek(1, 0, lhs_type);
/third_party/node/deps/v8/src/interpreter/
Dbytecode-generator.cc6224 TypeHint lhs_type = VisitForAccumulatorValue(expr->left()); in VisitArithmeticExpression() local
6229 (lhs_type == TypeHint::kString || rhs_type == TypeHint::kString)) { in VisitArithmeticExpression()