/third_party/node/deps/v8/src/compiler/ |
H A D | typed-optimization.cc | 320 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 in ReduceSameValue() 790 Type const lhs_type = NodeProperties::GetType(lhs); ReduceSpeculativeNumberAdd() local 858 Type const lhs_type = NodeProperties::GetType(lhs); ReduceSpeculativeNumberBinop() local 881 Type const lhs_type = NodeProperties::GetType(lhs); ReduceSpeculativeNumberComparison() local [all...] |
H A D | simplified-lowering.cc | 2237 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 in VisitNode() 2576 Type const lhs_type = TypeOf(node->InputAt(0)); VisitNode() local 2792 Type const lhs_type = TypeOf(node->InputAt(0)); VisitNode() local 2850 Type const lhs_type = TypeOf(node->InputAt(0)); VisitNode() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 217 auto lhs_type = in Apply() 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/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 217 auto lhs_type = in Apply() 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/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_equation_instructions.cpp | 221 auto lhs_type = in Apply() 225 if (lhs_type->AsVector()) { in Apply() 226 lhs_element_count = lhs_type->AsVector()->element_count(); in Apply() 227 lhs_bit_width = lhs_type->AsVector() in Apply() 233 lhs_bit_width = lhs_type->AsInteger()->width(); in Apply()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | resolver_test.cc | 1501 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, as in TEST_P() 1633 const ast::Type* lhs_type = nullptr; TEST_P() local 1684 auto* lhs_type = ty.mat<f32>(lhs_mat_cols, lhs_mat_rows); TEST_P() local [all...] |
H A D | type_constructor_validation_test.cc | 236 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/ |
H A D | builder.cc | 1987 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 in GenerateBinaryExpression() [all...] |
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
H A D | generator_impl.cc | 433 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() [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | csa-generator.cc | 545 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/ |
H A D | json.hpp | 3573 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 < [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-string-gen.h | 89 MachineType lhs_type, TNode<String> rhs,
|
H A D | builtins-string-gen.cc | 244 TNode<String> lhs, TNode<Word32T> lhs_instance_type, MachineType lhs_type, in StringEqual_Loop() 266 Load(lhs_type, lhs_data, in StringEqual_Loop() 268 ElementSizeLog2Of(lhs_type.representation())))); in StringEqual_Loop() 243 StringEqual_Loop( TNode<String> lhs, TNode<Word32T> lhs_instance_type, MachineType lhs_type, TNode<String> rhs, TNode<Word32T> rhs_instance_type, MachineType rhs_type, TNode<IntPtrT> length, Label* if_equal, Label* if_not_equal) StringEqual_Loop() argument
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl.cc | 648 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/ |
H A D | json_v3_10_5.hpp | 20480 const auto lhs_type = lhs.type(); 20483 if (lhs_type == rhs_type) 20485 switch (lhs_type) 20519 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) 20523 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) 20527 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) 20531 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) 20535 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) 20539 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) 20597 const auto lhs_type [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 22751 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 < [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_glsl.cpp | 15647 auto &lhs_type = get<SPIRType>(lhs_type_id); 15650 if (!lhs_type.array.empty()) 15654 uint32_t array_size = to_array_size_literal(lhs_type); 15660 emit_copy_logical_type(lhs_id, lhs_type.parent_type, rhs_id, rhs_type.parent_type, chain); 15663 else if (lhs_type.basetype == SPIRType::Struct) 15666 uint32_t member_count = uint32_t(lhs_type.member_types.size()); 15670 emit_copy_logical_type(lhs_id, lhs_type.member_types[i], rhs_id, rhs_type.member_types[i], chain);
|
/third_party/libabigail/src/ |
H A D | abg-ir.cc | 13937 maybe_propagate_canonical_type(const type_base& lhs_type, 22286 /// @param lhs_type the type which canonical type to propagate. 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/ |
H A D | function-body-decoder-impl.h | 5450 ValueType lhs_type, ValueType rhs_type) { in BuildSimpleOperator() 5452 Value lval = Peek(1, 0, lhs_type); in BuildSimpleOperator() 5449 BuildSimpleOperator(WasmOpcode opcode, ValueType return_type, ValueType lhs_type, ValueType rhs_type) BuildSimpleOperator() argument
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-generator.cc | 6224 TypeHint lhs_type = VisitForAccumulatorValue(expr->left()); in VisitArithmeticExpression() local 6229 (lhs_type == TypeHint::kString || rhs_type == TypeHint::kString)) { in VisitArithmeticExpression()
|