class BitsRecTy
Declaration
class BitsRecTy : public RecTy { /* full declaration omitted */ };
Description
'bits <n >' - Represent a fixed number of bits
Declared at: llvm/include/llvm/TableGen/Record.h:118
Inherits from: RecTy
Method Overview
- public static bool classof(const llvm::RecTy * RT)
- public static llvm::BitsRecTy * get(unsigned int Sz)
- public std::string getAsString() const
- public unsigned int getNumBits() const
- public bool typeIsA(const llvm::RecTy * RHS) const
- public bool typeIsConvertibleTo(const llvm::RecTy * RHS) const
Inherited from RecTy:
- public dump
- public getAsString
- public getListTy
- public getRecTyKind
- public print
- public typeIsA
- public typeIsConvertibleTo
Methods
¶static bool classof(const llvm::RecTy* RT)
static bool classof(const llvm::RecTy* RT)
Declared at: llvm/include/llvm/TableGen/Record.h:124
Parameters
- const llvm::RecTy* RT
¶static llvm::BitsRecTy* get(unsigned int Sz)
static llvm::BitsRecTy* get(unsigned int Sz)
Declared at: llvm/include/llvm/TableGen/Record.h:128
Parameters
- unsigned int Sz
¶std::string getAsString() const
std::string getAsString() const
Declared at: llvm/include/llvm/TableGen/Record.h:132
¶unsigned int getNumBits() const
unsigned int getNumBits() const
Declared at: llvm/include/llvm/TableGen/Record.h:130
¶bool typeIsA(const llvm::RecTy* RHS) const
bool typeIsA(const llvm::RecTy* RHS) const
Description
Return true if 'this' type is equal to or a subtype of RHS. For example, a bit set is not an int, but they are convertible.
Declared at: llvm/include/llvm/TableGen/Record.h:136
Parameters
- const llvm::RecTy* RHS
¶bool typeIsConvertibleTo(
const llvm::RecTy* RHS) const
bool typeIsConvertibleTo(
const llvm::RecTy* RHS) const
Description
Return true if all values of 'this' type can be converted to the specified type.
Declared at: llvm/include/llvm/TableGen/Record.h:134
Parameters
- const llvm::RecTy* RHS