Home
last modified time | relevance | path

Searched refs:Rhs (Results 1 – 25 of 204) sorted by relevance

123456789

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAlignment.h47 friend bool operator==(Align Lhs, Align Rhs);
48 friend bool operator!=(Align Lhs, Align Rhs);
49 friend bool operator<=(Align Lhs, Align Rhs);
50 friend bool operator>=(Align Lhs, Align Rhs);
51 friend bool operator<(Align Lhs, Align Rhs);
52 friend bool operator>(Align Lhs, Align Rhs);
252 inline bool operator==(Align Lhs, uint64_t Rhs) {
253 ALIGN_CHECK_ISPOSITIVE(Rhs);
254 return Lhs.value() == Rhs;
256 inline bool operator!=(Align Lhs, uint64_t Rhs) {
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DAlignment.h46 friend bool operator==(Align Lhs, Align Rhs);
47 friend bool operator!=(Align Lhs, Align Rhs);
48 friend bool operator<=(Align Lhs, Align Rhs);
49 friend bool operator>=(Align Lhs, Align Rhs);
50 friend bool operator<(Align Lhs, Align Rhs);
51 friend bool operator>(Align Lhs, Align Rhs);
258 inline bool operator==(Align Lhs, uint64_t Rhs) {
259 ALIGN_CHECK_ISPOSITIVE(Rhs);
260 return Lhs.value() == Rhs;
262 inline bool operator!=(Align Lhs, uint64_t Rhs) {
[all …]
/external/eigen/Eigen/src/Core/
DProductEvaluators.h28 template<typename Lhs, typename Rhs, int Options>
29 struct evaluator<Product<Lhs, Rhs, Options> >
30 : public product_evaluator<Product<Lhs, Rhs, Options> >
32 typedef Product<Lhs, Rhs, Options> XprType;
40 template<typename Lhs, typename Rhs, typename Scalar1, typename Scalar2, typename Plain1>
43 const Product<Lhs, Rhs, DefaultProduct> > >
47 template<typename Lhs, typename Rhs, typename Scalar1, typename Scalar2, typename Plain1>
50 const Product<Lhs, Rhs, DefaultProduct> > >
51 …: public evaluator<Product<EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar1,Lhs,product), Rhs, Defau…
55 const Product<Lhs, Rhs, DefaultProduct> > XprType;
[all …]
DSolveTriangular.h26 template<typename Lhs, typename Rhs, int Side>
31 … RhsIsVectorAtCompileTime = (Side==OnTheLeft ? Rhs::ColsAtCompileTime : Rhs::RowsAtCompileTime)==1
35 …Unrolling = (RhsIsVectorAtCompileTime && Rhs::SizeAtCompileTime != Dynamic && Rhs::SizeAtCompile…
41 template<typename Lhs, typename Rhs,
44 int Unrolling = trsolve_traits<Lhs,Rhs,Side>::Unrolling,
45 int RhsVectors = trsolve_traits<Lhs,Rhs,Side>::RhsVectors
49 template<typename Lhs, typename Rhs, int Side, int Mode>
50 struct triangular_solver_selector<Lhs,Rhs,Side,Mode,NoUnrolling,1>
53 typedef typename Rhs::Scalar RhsScalar;
57 static void run(const Lhs& lhs, Rhs& rhs)
[all …]
DProduct.h15 template<typename Lhs, typename Rhs, int Option, typename StorageKind> class ProductImpl;
19 template<typename Lhs, typename Rhs, int Option>
20 struct traits<Product<Lhs, Rhs, Option> >
23 typedef typename remove_all<Rhs>::type RhsCleaned;
32 … internal::product_type<Lhs,Rhs>::ret>::ret StorageKind;
79 typedef _Rhs Rhs;
82 Lhs, Rhs, Option,
84 typename internal::traits<Rhs>::StorageKind,
85 … internal::product_type<Lhs,Rhs>::ret>::ret>::Base Base;
89 typedef typename internal::ref_selector<Rhs>::type RhsNested;
[all …]
DCwiseBinaryOp.h17 template<typename BinaryOp, typename Lhs, typename Rhs>
18 struct traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
36 const typename Rhs::Scalar&
40 typename traits<Rhs>::StorageKind,
43 typename traits<Rhs>::StorageIndex>::type StorageIndex;
45 typedef typename Rhs::Nested RhsNested;
49 …Flags = cwise_promote_storage_order<typename traits<Lhs>::StorageKind,typename traits<Rhs>::Storag…
54 template<typename BinaryOp, typename Lhs, typename Rhs, typename StorageKind>
89 typedef typename internal::remove_all<RhsType>::type Rhs;
94 typename internal::traits<Rhs>::StorageKind,
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DNarrowingConversionsCheck.cpp192 const Expr &Rhs) { in diagNarrowType() argument
194 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowType()
198 SourceLocation SourceLoc, const Expr &Lhs, const Expr &Rhs) { in diagNarrowTypeToSignedInt() argument
201 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowTypeToSignedInt()
205 SourceLocation SourceLoc, const Expr &Lhs, const Expr &Rhs, in diagNarrowIntegerConstant() argument
209 << getValueAsString(Value, /*NoHex*/ 0) << getUnqualifiedType(Rhs) in diagNarrowIntegerConstant()
214 SourceLocation SourceLoc, const Expr &Lhs, const Expr &Rhs, in diagNarrowIntegerConstantToSignedInt() argument
218 << getValueAsString(Value, HexBits) << getUnqualifiedType(Rhs) in diagNarrowIntegerConstantToSignedInt()
224 const Expr &Rhs) { in diagNarrowConstant() argument
226 << getUnqualifiedType(Rhs) << getUnqualifiedType(Lhs); in diagNarrowConstant()
[all …]
DNarrowingConversionsCheck.h35 const Expr &Rhs);
38 const Expr &Rhs);
41 const Expr &Rhs, const llvm::APSInt &Value);
44 const Expr &Lhs, const Expr &Rhs,
49 const Expr &Rhs);
52 const Expr &Rhs);
56 const Expr &Rhs);
59 const Expr &Lhs, const Expr &Rhs);
63 const Expr &Rhs);
67 const Expr &Rhs);
[all …]
/external/eigen/Eigen/src/SparseCore/
DConservativeSparseSparseProduct.h17 template<typename Lhs, typename Rhs, typename ResultType>
18 static void conservative_sparse_sparse_product_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res…
34 evaluator<Rhs> rhsEval(rhs);
52 for (typename evaluator<Rhs>::InnerIterator rhsIt(rhsEval, j); rhsIt; ++rhsIt)
125 template<typename Lhs, typename Rhs, typename ResultType,
127 int RhsStorageOrder = (traits<Rhs>::Flags&RowMajorBit) ? RowMajor : ColMajor,
131 template<typename Lhs, typename Rhs, typename ResultType>
132 struct conservative_sparse_sparse_product_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
137 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res)
150 … internal::conservative_sparse_sparse_product_impl<Lhs,Rhs,ColMajorMatrix>(lhs, rhs, resCol, true);
[all …]
DSparseProduct.h37 template<typename Lhs, typename Rhs, int ProductType>
38 struct generic_product_impl<Lhs, Rhs, SparseShape, SparseShape, ProductType>
41 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs)
48 …static void addTo(Dest& dst, const ActualLhs& lhs, const Rhs& rhs, typename enable_if<is_same<type…
51 typedef typename nested_eval<Rhs,Dynamic>::type RhsNested;
60 …static void subTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, typename enable_if<is_same<typename e…
69 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, SparseShape)
72 typedef typename nested_eval<Rhs,Dynamic>::type RhsNested;
81 static void evalTo(Dest& dst, const Lhs& lhs, const Rhs& rhs, DenseShape)
89 template<typename Lhs, typename Rhs, int ProductType>
[all …]
DSparseSparseProductWithPruning.h19 template<typename Lhs, typename Rhs, typename ResultType>
20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res… in sparse_sparse_product_with_pruning_impl()
43 evaluator<Rhs> rhsEval(rhs); in sparse_sparse_product_with_pruning_impl()
62 for (typename evaluator<Rhs>::InnerIterator rhsIt(rhsEval, j); rhsIt; ++rhsIt) in sparse_sparse_product_with_pruning_impl()
79 template<typename Lhs, typename Rhs, typename ResultType,
81 int RhsStorageOrder = traits<Rhs>::Flags&RowMajorBit,
85 template<typename Lhs, typename Rhs, typename ResultType>
86 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
91 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
94 … internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,ResultType>(lhs, rhs, _res, tolerance);
[all …]
DSparseDenseProduct.h30 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
89 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
100 …typename ScalarBinaryOpTraits<AlphaType, typename Rhs::Scalar>::ReturnType rhs_j(alpha * rhs.coeff…
112 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
131 typedef typename internal::remove_all<DenseRhsType>::type Rhs;
139 typename Rhs::ConstRowXpr rhs_j(rhs.row(j));
156 template<typename Lhs, typename Rhs, int ProductType>
157 struct generic_product_impl<Lhs, Rhs, SparseShape, DenseShape, ProductType>
158 …: generic_product_impl_base<Lhs,Rhs,generic_product_impl<Lhs,Rhs,SparseShape,DenseShape,ProductTyp…
160 typedef typename Product<Lhs,Rhs>::Scalar Scalar;
[all …]
DSparseSolverBase.h21 template<typename Decomposition, typename Rhs, typename Dest>
22 typename enable_if<Rhs::ColsAtCompileTime!=1 && Dest::ColsAtCompileTime!=1>::type
23 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels()
45 template<typename Decomposition, typename Rhs, typename Dest>
46 typename enable_if<Rhs::ColsAtCompileTime==1 || Dest::ColsAtCompileTime==1>::type
47 solve_sparse_through_dense_panels(const Decomposition &dec, const Rhs& rhs, Dest &dest) in solve_sparse_through_dense_panels()
86 template<typename Rhs>
87 inline const Solve<Derived, Rhs>
88 solve(const MatrixBase<Rhs>& b) const in solve()
92 return Solve<Derived, Rhs>(derived(), b.derived()); in solve()
[all …]
DSparseCwiseBinaryOp.h35 template<typename BinaryOp, typename Lhs, typename Rhs>
36 class CwiseBinaryOpImpl<BinaryOp, Lhs, Rhs, Sparse>
37 : public SparseMatrixBase<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
40 typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> Derived;
47 typename internal::traits<Rhs>::StorageKind>::value) in CwiseBinaryOpImpl()
48 …|| ((internal::evaluator<Lhs>::Flags&RowMajorBit) == (internal::evaluator<Rhs>::Flags&RowMajorBit… in CwiseBinaryOpImpl()
59 template<typename BinaryOp, typename Lhs, typename Rhs>
60 struct binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs>, IteratorBased, IteratorBased>
61 : evaluator_base<CwiseBinaryOp<BinaryOp, Lhs, Rhs> >
65 typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
[all …]
DTriangularSolver.h17 template<typename Lhs, typename Rhs, int Mode,
27 template<typename Lhs, typename Rhs, int Mode>
28 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Lower,RowMajor>
30 typedef typename Rhs::Scalar Scalar;
33 static void run(const Lhs& lhs, Rhs& other)
64 template<typename Lhs, typename Rhs, int Mode>
65 struct sparse_solve_triangular_selector<Lhs,Rhs,Mode,Upper,RowMajor>
67 typedef typename Rhs::Scalar Scalar;
70 static void run(const Lhs& lhs, Rhs& other)
103 template<typename Lhs, typename Rhs, int Mode>
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h528 template <typename D, typename Rhs, typename Op>
531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
543 template <typename Lhs, typename = Rhs>
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
561 Rhs rhs_;
563 Rhs rhs_;
566 template <typename Rhs>
567 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
569 explicit EqMatcher(const Rhs& rhs) in EqMatcher()
570 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { } in EqMatcher()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h526 template <typename D, typename Rhs, typename Op>
529 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
541 template <typename Lhs, typename = Rhs>
544 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
559 Rhs rhs_;
561 Rhs rhs_;
564 template <typename Rhs>
565 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
567 explicit EqMatcher(const Rhs& rhs) in EqMatcher()
568 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { } in EqMatcher()
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-matchers.h537 template <typename D, typename Rhs, typename Op>
540 explicit ComparisonBase(const Rhs &rhs) : rhs_(rhs) {} in ComparisonBase()
556 template <typename Lhs, typename = Rhs>
559 explicit Impl(const Rhs &rhs) : rhs_(rhs) {} in Impl()
574 Rhs rhs_;
576 Rhs rhs_;
579 template <typename Rhs>
580 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
582 explicit EqMatcher(const Rhs &rhs) in EqMatcher()
583 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) {} in EqMatcher()
[all …]
/external/eigen/unsupported/Eigen/src/KroneckerProduct/
DKroneckerTensorProduct.h33 typedef typename Traits::Rhs Rhs; typedef
37 KroneckerProductBase(const Lhs& A, const Rhs& B) in KroneckerProductBase()
66 typename Rhs::Nested m_B;
81 template<typename Lhs, typename Rhs>
82 class KroneckerProduct : public KroneckerProductBase<KroneckerProduct<Lhs,Rhs> >
91 KroneckerProduct(const Lhs& A, const Rhs& B) in KroneckerProduct()
114 template<typename Lhs, typename Rhs>
115 class KroneckerProductSparse : public KroneckerProductBase<KroneckerProductSparse<Lhs,Rhs> >
124 KroneckerProductSparse(const Lhs& A, const Rhs& B) in KroneckerProductSparse()
132 template<typename Lhs, typename Rhs>
[all …]
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h707 template <typename D, typename Rhs, typename Op>
710 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
737 Rhs rhs_;
740 template <typename Rhs>
741 class EqMatcher : public ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq> {
743 explicit EqMatcher(const Rhs& rhs)
744 : ComparisonBase<EqMatcher<Rhs>, Rhs, AnyEq>(rhs) { }
748 template <typename Rhs>
749 class NeMatcher : public ComparisonBase<NeMatcher<Rhs>, Rhs, AnyNe> {
751 explicit NeMatcher(const Rhs& rhs)
[all …]
/external/gemmlowp/internal/
Dsimd_wrappers.h134 template <typename Lhs, typename Rhs>
137 Lhs::kRows > Rhs::kRows ? Lhs::kRows : Rhs::kRows;
139 Lhs::kCols > Rhs::kCols ? Lhs::kCols : Rhs::kCols;
142 template <typename Lhs, typename Rhs>
144 using Shape = BroadcastBinaryOpShape<Lhs, Rhs>;
149 template <typename Lhs, typename Rhs>
152 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type;
153 static ResultBlockType Run(const Lhs& lhs, const Rhs& rhs) {
159 static constexpr int RhsRows = Rhs::kRows;
160 static constexpr int RhsCols = Rhs::kCols;
[all …]
/external/eigen/Eigen/src/Geometry/
DHomogeneous.h56 template<typename MatrixType,typename Rhs> struct homogeneous_right_product_impl;
80 template<typename Rhs>
81 EIGEN_DEVICE_FUNC inline const Product<Homogeneous,Rhs>
82 operator* (const MatrixBase<Rhs>& rhs) const
85 return Product<Homogeneous,Rhs>(*this,rhs.derived());
283 template<typename MatrixType,typename Rhs>
284 struct traits<homogeneous_right_product_impl<Homogeneous<MatrixType,Horizontal>,Rhs> >
288 Rhs::ColsAtCompileTime,
291 Rhs::MaxColsAtCompileTime>::type ReturnType;
294 template<typename MatrixType,typename Rhs>
[all …]
/external/dtc/
Dsrcpos.h68 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
71 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
72 (Current).first_column = YYRHSLOC(Rhs, 1).first_column; \
73 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
74 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
75 (Current).file = YYRHSLOC(Rhs, N).file; \
78 YYRHSLOC(Rhs, 0).last_line; \
80 YYRHSLOC(Rhs, 0).last_column; \
81 (Current).file = YYRHSLOC (Rhs, 0).file; \
/external/pdfium/third_party/base/numerics/
Dsafe_conversions_impl.h449 typename Rhs,
451 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
456 template <typename Lhs, typename Rhs>
457 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
461 template <typename Lhs, typename Rhs>
462 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
463 using type = Rhs;
468 typename Rhs,
471 ? (std::is_signed<Rhs>::value
472 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]
/external/libchrome/base/numerics/
Dsafe_conversions_impl.h448 typename Rhs,
450 (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value)
455 template <typename Lhs, typename Rhs>
456 struct MaxExponentPromotion<Lhs, Rhs, LEFT_PROMOTION> {
460 template <typename Lhs, typename Rhs>
461 struct MaxExponentPromotion<Lhs, Rhs, RIGHT_PROMOTION> {
462 using type = Rhs;
467 typename Rhs,
470 ? (std::is_signed<Rhs>::value
471 ? (MaxExponent<Lhs>::value > MaxExponent<Rhs>::value
[all …]

123456789