class IsAOpInit
Declaration
class IsAOpInit : public TypedInit, public Node { /* full declaration omitted */ };
Description
!isa <type >(expr) - Dynamically determine the type of an expression.
Declared at: llvm/include/llvm/TableGen/Record.h:1067
Inherits from: TypedInit, FoldingSetBase::Node
Member Variables
- private llvm::RecTy* CheckType
- private llvm::Init* Expr
Inherited from Init:
Method Overview
- public llvm::Init * Fold() const
- private IsAOpInit(llvm::RecTy * CheckType, llvm::Init * Expr)
- public IsAOpInit(const llvm::IsAOpInit &)
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public static bool classof(const llvm::Init * I)
- public static llvm::IsAOpInit * 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
¶llvm::Init* Fold() const
llvm::Init* Fold() const
Declared at: llvm/include/llvm/TableGen/Record.h:1088
¶IsAOpInit(llvm::RecTy* CheckType,
llvm::Init* Expr)
IsAOpInit(llvm::RecTy* CheckType,
llvm::Init* Expr)
Declared at: llvm/include/llvm/TableGen/Record.h:1072
Parameters
- llvm::RecTy* CheckType
- llvm::Init* Expr
¶IsAOpInit(const llvm::IsAOpInit&)
IsAOpInit(const llvm::IsAOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:1077
Parameters
- const llvm::IsAOpInit&
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:1084
Parameters
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:1080
Parameters
- const llvm::Init* I
¶static llvm::IsAOpInit* get(
llvm::RecTy* CheckType,
llvm::Init* Expr)
static llvm::IsAOpInit* get(
llvm::RecTy* CheckType,
llvm::Init* Expr)
Declared at: llvm/include/llvm/TableGen/Record.h:1082
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:1096
¶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:1094
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:1090
¶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:1092