class UnsetInit
Declaration
class UnsetInit : public Init { /* full declaration omitted */ };
Description
'?' - Represents an uninitialized value.
Declared at: llvm/include/llvm/TableGen/Record.h:456
Inherits from: Init
Member Variables
- private llvm::RecordKeeper& RK
- The record keeper that initialized this Init.
Inherited from Init:
Method Overview
- private UnsetInit(llvm::RecordKeeper & RK)
- public UnsetInit(const llvm::UnsetInit &)
- public static bool classof(const llvm::Init * I)
- public llvm::Init * convertInitializerTo(llvm::RecTy * Ty) const
- public static llvm::UnsetInit * get(llvm::RecordKeeper & RK)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public llvm::Init * getCastTo(llvm::RecTy * Ty) const
- public llvm::RecordKeeper & getRecordKeeper() const
- public bool isComplete() const
- public bool isConcrete() const
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
¶UnsetInit(llvm::RecordKeeper& RK)
UnsetInit(llvm::RecordKeeper& RK)
Declared at: llvm/include/llvm/TableGen/Record.h:462
Parameters
¶UnsetInit(const llvm::UnsetInit&)
UnsetInit(const llvm::UnsetInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:465
Parameters
- const llvm::UnsetInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:468
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:479
Parameters
- llvm::RecTy* Ty
¶static llvm::UnsetInit* get(
llvm::RecordKeeper& RK)
static llvm::UnsetInit* get(
llvm::RecordKeeper& RK)
Description
Get the singleton unset Init.
Declared at: llvm/include/llvm/TableGen/Record.h:473
Parameters
¶std::string getAsString() const
std::string getAsString() const
Description
Get the string representation of the Init.
Declared at: llvm/include/llvm/TableGen/Record.h:491
¶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:481
Parameters
- unsigned int Bit
¶llvm::Init* getCastTo(llvm::RecTy* Ty) const
llvm::Init* getCastTo(llvm::RecTy* Ty) const
Description
If this value is convertible to type \p Ty, return a value whose type is \p Ty, generating a !cast operation if required. Otherwise, return null.
Declared at: llvm/include/llvm/TableGen/Record.h:478
Parameters
- llvm::RecTy* Ty
¶llvm::RecordKeeper& getRecordKeeper() const
llvm::RecordKeeper& getRecordKeeper() const
Description
Get the record keeper that initialized this Init.
Declared at: llvm/include/llvm/TableGen/Record.h:476
¶bool isComplete() const
bool isComplete() const
Description
Is this a complete value with no unset (uninitialized) subvalues?
Declared at: llvm/include/llvm/TableGen/Record.h:486
¶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:488