Lines Matching refs:Lhs
130 template <typename Lhs, typename Rhs>
133 Lhs::kRows > Rhs::kRows ? Lhs::kRows : Rhs::kRows;
135 Lhs::kCols > Rhs::kCols ? Lhs::kCols : Rhs::kCols;
138 template <typename Lhs, typename Rhs>
140 using Shape = BroadcastBinaryOpShape<Lhs, Rhs>;
141 using ScalarType = typename Lhs::ScalarType;
145 template <typename Lhs, typename Rhs>
148 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type;
149 static ResultBlockType Run(const Lhs& lhs, const Rhs& rhs) {
153 static constexpr int LhsRows = Lhs::kRows;
154 static constexpr int LhsCols = Lhs::kCols;
164 static_assert(Lhs::kRegisterLanes == 1,
184 template <typename Lhs, typename Rhs>
185 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type BroadcastAdd(
186 const Lhs& lhs, const Rhs& rhs) {
187 using Flip = FlipLhsRhs<Lhs, Rhs>;
194 template <typename Lhs, typename Rhs>
197 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type;
198 static ResultBlockType Run(const Lhs& lhs, const Rhs& rhs) {
202 static constexpr int LhsRows = Lhs::kRows;
203 static constexpr int LhsCols = Lhs::kCols;
208 static_assert(Lhs::kRegisterLanes == 1,
232 template <typename Lhs, typename Rhs>
233 typename BroadcastBinaryOpRegisterBlock<Lhs, Rhs>::Type BroadcastMul(
234 const Lhs& lhs, const Rhs& rhs) {
235 using Flip = FlipLhsRhs<Lhs, Rhs>;
242 template <typename Lhs, typename Rhs, typename Acc>
244 static void Run(const Lhs& lhs, const Rhs& rhs, Acc* acc) {
247 static constexpr int LhsRows = Lhs::kRows;
248 static constexpr int LhsCols = Lhs::kCols;
253 static_assert(Lhs::kRegisterLanes == 1,
276 template <typename Lhs, typename Rhs, typename Acc>
277 void BroadcastMulAdd(const Lhs& lhs, const Rhs& rhs, Acc* acc) {
278 using Flip = FlipLhsRhs<Lhs, Rhs>;