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:1142
Inherits from: TypedInit
Member Variables
Inherited from Init:
Method Overview
- 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 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 isComplete
- public isConcrete
- public print
- public resolveReferences
Methods
¶VarListElementInit(
const llvm::VarListElementInit&)
VarListElementInit(
const llvm::VarListElementInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1155
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:1158
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:1162
Parameters
- llvm::TypedInit* T
- unsigned int E
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a string form.
Declared at: llvm/include/llvm/TableGen/Record.h:1167
¶llvm::Init* getBit(unsigned int Bit) const
llvm::Init* getBit(unsigned int Bit) const
Description
This method is used to return the initializer for the specified bit.
Declared at: llvm/include/llvm/TableGen/Record.h:1170
Parameters
- unsigned int Bit
¶unsigned int getElementNum() const
unsigned int getElementNum() const
Declared at: llvm/include/llvm/TableGen/Record.h:1165
¶llvm::TypedInit* getVariable() const
llvm::TypedInit* getVariable() const
Declared at: llvm/include/llvm/TableGen/Record.h:1164
¶llvm::Init* resolveReferences(
llvm::Resolver& R) const
llvm::Init* resolveReferences(
llvm::Resolver& R) const
Description
This method 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:1168