class DefInit
Declaration
class DefInit : public TypedInit { /* full declaration omitted */ };
Description
AL - Represent a reference to a 'def' in the description
Declared at: llvm/include/llvm/TableGen/Record.h:1241
Inherits from: TypedInit
Member Variables
- private llvm::Record* Def
Inherited from Init:
Method Overview
- private DefInit(llvm::Record * D)
- public DefInit(const llvm::DefInit &)
- public static bool classof(const llvm::Init * I)
- public llvm::Init * convertInitializerTo(llvm::RecTy * Ty) const
- public static llvm::DefInit * get(llvm::Record *)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public llvm::Record * getDef() const
- public llvm::RecTy * getFieldType(llvm::StringInit * FieldName) const
- public bool isConcrete() 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
¶DefInit(llvm::Record* D)
DefInit(llvm::Record* D)
Declared at: llvm/include/llvm/TableGen/Record.h:1246
Parameters
- llvm::Record* D
¶DefInit(const llvm::DefInit&)
DefInit(const llvm::DefInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1249
Parameters
- const llvm::DefInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1252
Parameters
- const llvm::Init* I
¶llvm::Init* convertInitializerTo(
llvm::RecTy* Ty) const
llvm::Init* convertInitializerTo(
llvm::RecTy* Ty) const
Description
Convert to a value whose type is \p Ty, or return null if this is not possible. This can happen if the value's type is convertible to \p Ty, but there are unresolved references.
Declared at: llvm/include/llvm/TableGen/Record.h:1258
Parameters
- llvm::RecTy* Ty
¶static llvm::DefInit* get(llvm::Record*)
static llvm::DefInit* get(llvm::Record*)
Declared at: llvm/include/llvm/TableGen/Record.h:1256
Parameters
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a literal form.
Declared at: llvm/include/llvm/TableGen/Record.h:1267
¶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:1269
Parameters
- unsigned int Bit
¶llvm::Record* getDef() const
llvm::Record* getDef() const
Declared at: llvm/include/llvm/TableGen/Record.h:1260
¶llvm::RecTy* getFieldType(
llvm::StringInit* FieldName) const
llvm::RecTy* getFieldType(
llvm::StringInit* FieldName) const
Description
This method is used to implement the FieldInit class. Implementors of this method should return the type of the named field if they are of type record.
Declared at: llvm/include/llvm/TableGen/Record.h:1264
Parameters
- llvm::StringInit* FieldName
¶bool isConcrete() const
bool isConcrete() const
Description
Is this a concrete and fully resolved value without any references or stuck operations? Unset values are concrete.
Declared at: llvm/include/llvm/TableGen/Record.h:1266