30 #ifndef LLVM_MC_LANEBITMASK_H
31 #define LLVM_MC_LANEBITMASK_H
42 constexpr
static const char *
const FormatStr =
"%08X";
50 constexpr
bool none()
const {
return Mask == 0; }
51 constexpr
bool any()
const {
return Mask != 0; }
52 constexpr
bool all()
const {
return ~Mask == 0; }
89 #endif // LLVM_MC_LANEBITMASK_H
static LaneBitmask getAll()
constexpr bool any() const
static constexpr const char *const FormatStr
constexpr LaneBitmask()=default
format_object< Ts...> format(const char *Fmt, const Ts &...Vals)
These are helper functions used to produce formatted output.
LaneBitmask & operator|=(LaneBitmask M)
constexpr bool none() const
The instances of the Type class are immutable: once they are created, they are never changed...
constexpr LaneBitmask operator&(LaneBitmask M) const
#define LLVM_ATTRIBUTE_UNUSED
LaneBitmask & operator&=(LaneBitmask M)
constexpr LaneBitmask operator~() const
constexpr bool operator<(LaneBitmask M) const
constexpr Type getAsInteger() const
constexpr LaneBitmask operator|(LaneBitmask M) const
static LaneBitmask getNone()
constexpr bool all() const
static LLVM_ATTRIBUTE_UNUSED Printable PrintLaneMask(LaneBitmask LaneMask)
Create Printable object to print LaneBitmasks on a raw_ostream.
constexpr bool operator!=(LaneBitmask M) const
This class implements an extremely fast bulk output stream that can only output to a stream...
constexpr bool operator==(LaneBitmask M) const
constexpr LaneBitmask(Type V)
Simple wrapper around std::function<void(raw_ostream&)>.