class UnsetInit
Declaration
class UnsetInit : public Init { /* full declaration omitted */ };
Description
'?' - Represents an uninitialized value
Declared at: llvm/include/llvm/TableGen/Record.h:457
Inherits from: Init
Member Variables
Inherited from Init:
Method Overview
- 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()
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public llvm::Init * getCastTo(llvm::RecTy * Ty) 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 isComplete
- public isConcrete
- public print
- public resolveReferences
Methods
¶UnsetInit(const llvm::UnsetInit&)
UnsetInit(const llvm::UnsetInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:461
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:464
Parameters
- const llvm::Init* I
¶llvm::Init* convertInitializerTo(
llvm::RecTy* Ty) const
llvm::Init* convertInitializerTo(
llvm::RecTy* Ty) const
Description
Convert to an initializer whose type is-a Ty, or return nullptr if this is not possible (this can happen if the initializer's type is convertible to Ty, but there are unresolved references).
Declared at: llvm/include/llvm/TableGen/Record.h:471
Parameters
- llvm::RecTy* Ty
¶static llvm::UnsetInit* get()
static llvm::UnsetInit* get()
Declared at: llvm/include/llvm/TableGen/Record.h:468
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a string form.
Declared at: llvm/include/llvm/TableGen/Record.h:479
¶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:473
Parameters
- unsigned int Bit
¶llvm::Init* getCastTo(llvm::RecTy* Ty) const
llvm::Init* getCastTo(llvm::RecTy* Ty) const
Description
If this initializer is convertible to Ty, return an initializer whose type is-a Ty, generating a !cast operation if required. Otherwise, return nullptr.
Declared at: llvm/include/llvm/TableGen/Record.h:470
Parameters
- llvm::RecTy* Ty
¶bool isComplete() const
bool isComplete() const
Description
This virtual method should be overridden by values that may not be completely specified yet.
Declared at: llvm/include/llvm/TableGen/Record.h:477
¶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:478