class VarBitInit
Declaration
class VarBitInit : public TypedInit { /* full declaration omitted */ };
Description
Opcode{0} - Represent access to one bit of a variable or field.
Declared at: llvm/include/llvm/TableGen/Record.h:1171
Inherits from: TypedInit
Member Variables
- private llvm::TypedInit* TI
- private unsigned int Bit
Inherited from Init:
Method Overview
- private VarBitInit(llvm::TypedInit * T, unsigned int B)
- public VarBitInit(const llvm::VarBitInit &)
- public static bool classof(const llvm::Init * I)
- public static llvm::VarBitInit * get(llvm::TypedInit * T, unsigned int B)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int B) const
- public unsigned int getBitNum() const
- public llvm::Init * getBitVar() const
- public llvm::Init * resolveReferences(llvm::Resolver & R) const
Inherited from TypedInit:
- public classof
- public convertInitListSlice
- public convertInitializerBitRange
- public convertInitializerTo
- public getCastTo
- public getFieldType
- public getRecordKeeper
- public getType
Inherited from Init:
- public convertInitListSlice
- public convertInitializerBitRange
- public convertInitializerTo
- public dump
- public getAsString
- public getAsUnquotedString
- public getBit
- public getCastTo
- public getFieldType
- public getKind
- public getRecordKeeper
- public isComplete
- public isConcrete
- public print
- public resolveReferences
Methods
¶VarBitInit(llvm::TypedInit* T, unsigned int B)
VarBitInit(llvm::TypedInit* T, unsigned int B)
Declared at: llvm/include/llvm/TableGen/Record.h:1175
Parameters
- llvm::TypedInit* T
- unsigned int B
¶VarBitInit(const llvm::VarBitInit&)
VarBitInit(const llvm::VarBitInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1186
Parameters
- const llvm::VarBitInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1189
Parameters
- const llvm::Init* I
¶static llvm::VarBitInit* get(llvm::TypedInit* T,
unsigned int B)
static llvm::VarBitInit* get(llvm::TypedInit* T,
unsigned int B)
Declared at: llvm/include/llvm/TableGen/Record.h:1193
Parameters
- llvm::TypedInit* T
- unsigned int B
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a literal form.
Declared at: llvm/include/llvm/TableGen/Record.h:1198
¶llvm::Init* getBit(unsigned int B) const
llvm::Init* getBit(unsigned int B) const
Description
Get the \p Init value of the specified bit.
Declared at: llvm/include/llvm/TableGen/Record.h:1201
Parameters
- unsigned int B
¶unsigned int getBitNum() const
unsigned int getBitNum() const
Declared at: llvm/include/llvm/TableGen/Record.h:1196
¶llvm::Init* getBitVar() const
llvm::Init* getBitVar() const
Declared at: llvm/include/llvm/TableGen/Record.h:1195
¶llvm::Init* resolveReferences(
llvm::Resolver& R) const
llvm::Init* resolveReferences(
llvm::Resolver& R) const
Description
This function is used by classes that refer to other variables which may not be defined at the time the expression is formed. If a value is set for the variable later, this method will be called on users of the value to allow the value to propagate out.
Declared at: llvm/include/llvm/TableGen/Record.h:1199