class VarListElementInit
Declaration
class VarListElementInit : public TypedInit { /* full declaration omitted */ };
Description
List[4] - Represent access to one element of a var or field.
Declared at: llvm/include/llvm/TableGen/Record.h:1209
Inherits from: TypedInit
Member Variables
- private llvm::TypedInit* TI
- private unsigned int Element
Inherited from Init:
Method Overview
- private VarListElementInit(llvm::TypedInit * T, unsigned int E)
- public VarListElementInit(const llvm::VarListElementInit &)
- public static bool classof(const llvm::Init * I)
- public static llvm::VarListElementInit * get(llvm::TypedInit * T, unsigned int E)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public unsigned int getElementNum() const
- public llvm::TypedInit * getVariable() 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
¶VarListElementInit(llvm::TypedInit* T,
unsigned int E)
VarListElementInit(llvm::TypedInit* T,
unsigned int E)
Declared at: llvm/include/llvm/TableGen/Record.h:1213
Parameters
- llvm::TypedInit* T
- unsigned int E
¶VarListElementInit(
const llvm::VarListElementInit&)
VarListElementInit(
const llvm::VarListElementInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1222
Parameters
- const llvm::VarListElementInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1225
Parameters
- const llvm::Init* I
¶static llvm::VarListElementInit* get(
llvm::TypedInit* T,
unsigned int E)
static llvm::VarListElementInit* get(
llvm::TypedInit* T,
unsigned int E)
Declared at: llvm/include/llvm/TableGen/Record.h:1229
Parameters
- llvm::TypedInit* T
- unsigned int E
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a literal form.
Declared at: llvm/include/llvm/TableGen/Record.h:1234
¶llvm::Init* getBit(unsigned int Bit) const
llvm::Init* getBit(unsigned int Bit) const
Description
Get the \p Init value of the specified bit.
Declared at: llvm/include/llvm/TableGen/Record.h:1237
Parameters
- unsigned int Bit
¶unsigned int getElementNum() const
unsigned int getElementNum() const
Declared at: llvm/include/llvm/TableGen/Record.h:1232
¶llvm::TypedInit* getVariable() const
llvm::TypedInit* getVariable() const
Declared at: llvm/include/llvm/TableGen/Record.h:1231
¶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:1235