35#ifndef _BLAZE_MATH_FUNCTORS_SHIFTLV_H_
36#define _BLAZE_MATH_FUNCTORS_SHIFTLV_H_
85 template<
typename T1,
typename T2 >
88 return std::forward<T1>( a ) << std::forward<T2>( b );
97 template<
typename T1,
typename T2 >
98 static constexpr bool simdEnabled() {
return HasSIMDShiftLV_v<T1,T2>; }
116 template<
typename T1,
typename T2 >
138template<
typename T1,
typename T2 >
139struct YieldsUniform<ShiftLV,T1,T2>
140 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
156template<
typename MT1,
typename MT2 >
157struct YieldsSymmetric<ShiftLV,MT1,MT2>
158 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
174template<
typename MT1,
typename MT2 >
175struct YieldsLower<ShiftLV,MT1,MT2>
176 :
public IsLower<MT1>
192template<
typename MT1,
typename MT2 >
193struct YieldsStrictlyLower<ShiftLV,MT1,MT2>
194 :
public IsStrictlyLower<MT1>
210template<
typename MT1,
typename MT2 >
211struct YieldsUpper<ShiftLV,MT1,MT2>
212 :
public IsUpper<MT1>
228template<
typename MT1,
typename MT2 >
229struct YieldsStrictlyUpper<ShiftLV,MT1,MT2>
230 :
public IsStrictlyUpper<MT1>
246template<
typename T1,
typename T2 >
247struct YieldsZero<ShiftLV,T1,T2>
Header file for the HasSIMDShiftLV type trait.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUpper type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition: IntegralConstant.h:110
Header file for the SIMD left-shift functionality.
Generic wrapper for the elementwise left-shift operation.
Definition: ShiftLV.h:77
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: ShiftLV.h:98
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: ShiftLV.h:106
BLAZE_ALWAYS_INLINE decltype(auto) load(const T1 &a, const T2 &b) const
Returns the result of the elementwise left-shift operation for the given SIMD vector.
Definition: ShiftLV.h:117
System settings for the inline keywords.
Header file for the IsZero type trait.