19bool LLT::ExtendedLLT =
false;
26 return LLT::FpSemantics::S_IEEEhalf;
28 return LLT::FpSemantics::S_BFloat;
30 return LLT::FpSemantics::S_IEEEsingle;
32 return LLT::FpSemantics::S_IEEEdouble;
34 return LLT::FpSemantics::S_x87DoubleExtended;
36 return LLT::FpSemantics::S_IEEEquad;
38 return LLT::FpSemantics::S_PPCDoubleDouble;
106#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
static LLT::FpSemantics getFpSemanticsForMVT(MVT VT)
Implement a low-level type suitable for MachineInstr level instruction selection.
static constexpr ElementCount getFixed(ScalarTy MinVal)
LLVM_ABI void print(raw_ostream &OS) const
constexpr bool isBFloat16() const
constexpr unsigned getScalarSizeInBits() const
constexpr bool isScalar() const
APFloat::Semantics FpSemantics
constexpr bool isInteger() const
constexpr bool isValid() const
constexpr bool isVector() const
constexpr bool isPointer() const
constexpr ElementCount getElementCount() const
constexpr unsigned getAddressSpace() const
LLVM_DUMP_METHOD void dump() const
constexpr bool isFloatIEEE() const
LLT getElementType() const
Returns the vector's element type. Only valid for vector types.
constexpr bool isPPCF128() const
unsigned getVectorMinNumElements() const
Given a vector type, return the minimum number of elements it contains.
bool isScalableTargetExtVT() const
Return true if this is a custom target type that has a scalable size.
bool isVector() const
Return true if this is a vector value type.
bool isScalableVector() const
Return true if this is a vector value type where the runtime length is machine dependent.
TypeSize getSizeInBits() const
Returns the size of the specified MVT in bits.
ElementCount getVectorElementCount() const
MVT getVectorElementType() const
bool isFloatingPoint() const
Return true if this is a FP or a vector FP type.
bool isValid() const
Return true if this is a valid simple valuetype.
MVT getScalarType() const
If this is a vector, return the element type, otherwise return this.
This class implements an extremely fast bulk output stream that can only output to a stream.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.