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:126
Inherits from: RecTy
Member Variables
- private unsigned int Size
Method Overview
- private BitsRecTy(llvm::RecordKeeper & RK, unsigned int Sz)
- public static bool classof(const llvm::RecTy * RT)
- public static llvm::BitsRecTy * get(llvm::RecordKeeper & RK, 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 getRecordKeeper
- public print
- public typeIsA
- public typeIsConvertibleTo
Methods
¶BitsRecTy(llvm::RecordKeeper& RK, unsigned int Sz)
BitsRecTy(llvm::RecordKeeper& RK, unsigned int Sz)
Declared at: llvm/include/llvm/TableGen/Record.h:129
Parameters
- llvm::RecordKeeper& RK
- unsigned int Sz
¶static bool classof(const llvm::RecTy* RT)
static bool classof(const llvm::RecTy* RT)
Declared at: llvm/include/llvm/TableGen/Record.h:133
Parameters
- const llvm::RecTy* RT
¶static llvm::BitsRecTy* get(
llvm::RecordKeeper& RK,
unsigned int Sz)
static llvm::BitsRecTy* get(
llvm::RecordKeeper& RK,
unsigned int Sz)
Declared at: llvm/include/llvm/TableGen/Record.h:137
Parameters
- llvm::RecordKeeper& RK
- unsigned int Sz
¶std::string getAsString() const
std::string getAsString() const
Declared at: llvm/include/llvm/TableGen/Record.h:141
¶unsigned int getNumBits() const
unsigned int getNumBits() const
Declared at: llvm/include/llvm/TableGen/Record.h:139
¶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:145
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:143
Parameters
- const llvm::RecTy* RHS