class ExistsOpInit
Declaration
class ExistsOpInit : public TypedInit, public Node { /* full declaration omitted */ };
Description
!exists <type >(expr) - Dynamically determine if a record of `type` named `expr` exists.
Declared at: llvm/include/llvm/TableGen/Record.h:1101
Inherits from: TypedInit, FoldingSetBase::Node
Member Variables
- private llvm::RecTy* CheckType
- private llvm::Init* Expr
Inherited from Init:
Method Overview
- private ExistsOpInit(llvm::RecTy * CheckType, llvm::Init * Expr)
- public ExistsOpInit(const llvm::ExistsOpInit &)
- public llvm::Init * Fold(llvm::Record * CurRec, bool IsFinal = false) const
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public static bool classof(const llvm::Init * I)
- public static llvm::ExistsOpInit * get(llvm::RecTy * CheckType, llvm::Init * Expr)
- public std::string getAsString() const
- public llvm::Init * getBit(unsigned int Bit) const
- public bool isComplete() const
- public llvm::Init * resolveReferences(llvm::Resolver & R) const
Inherited from FoldingSetBase::Node:
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
¶ExistsOpInit(llvm::RecTy* CheckType,
llvm::Init* Expr)
ExistsOpInit(llvm::RecTy* CheckType,
llvm::Init* Expr)
Declared at: llvm/include/llvm/TableGen/Record.h:1106
Parameters
- llvm::RecTy* CheckType
- llvm::Init* Expr
¶ExistsOpInit(const llvm::ExistsOpInit&)
ExistsOpInit(const llvm::ExistsOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1111
Parameters
- const llvm::ExistsOpInit&
¶llvm::Init* Fold(llvm::Record* CurRec,
bool IsFinal = false) const
llvm::Init* Fold(llvm::Record* CurRec,
bool IsFinal = false) const
Declared at: llvm/include/llvm/TableGen/Record.h:1122
Parameters
- llvm::Record* CurRec
- bool IsFinal = false
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:1118
Parameters
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1114
Parameters
- const llvm::Init* I
¶static llvm::ExistsOpInit* get(
llvm::RecTy* CheckType,
llvm::Init* Expr)
static llvm::ExistsOpInit* get(
llvm::RecTy* CheckType,
llvm::Init* Expr)
Declared at: llvm/include/llvm/TableGen/Record.h:1116
Parameters
- llvm::RecTy* CheckType
- llvm::Init* Expr
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a literal form.
Declared at: llvm/include/llvm/TableGen/Record.h:1130
¶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:1128
Parameters
- unsigned int Bit
¶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:1124
¶llvm::Init* resolveReferences(
llvm::Resolver& R) const
llvm::Init* resolveReferences(
llvm::Resolver& R) const
Description
This function 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:1126