class BitInit
Declaration
class BitInit : public TypedInit { /* full declaration omitted */ };
Description
'true'/'false' - Represent a concrete initializer for a bit.
Declared at: llvm/include/llvm/TableGen/Record.h:483
Inherits from: TypedInit
Member Variables
Inherited from Init:
Method Overview
- public BitInit(const llvm::BitInit &)
- public static bool classof(const llvm::Init * I)
- public llvm::Init * convertInitializerTo(llvm::RecTy * Ty) const
- public static llvm::BitInit * get(bool V)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public bool getValue() const
- public bool isConcrete() 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
¶BitInit(const llvm::BitInit&)
BitInit(const llvm::BitInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:489
Parameters
- const llvm::BitInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:492
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:500
Parameters
- llvm::RecTy* Ty
¶static llvm::BitInit* get(bool V)
static llvm::BitInit* get(bool V)
Declared at: llvm/include/llvm/TableGen/Record.h:496
Parameters
- bool V
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a string form.
Declared at: llvm/include/llvm/TableGen/Record.h:508
¶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:502
Parameters
- unsigned int Bit
¶bool getValue() const
bool getValue() const
Declared at: llvm/include/llvm/TableGen/Record.h:498
¶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:507