class TernOpInit
Declaration
class TernOpInit : public OpInit, public Node { /* full declaration omitted */ };
Description
!op (X, Y, Z) - Combine two inits.
Declared at: llvm/include/llvm/TableGen/Record.h:859
Inherits from: OpInit, FoldingSetBase::Node
Member Variables
Inherited from Init:
Method Overview
- public llvm::Init * Fold(llvm::Record * CurRec) const
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public TernOpInit(const llvm::TernOpInit &)
- public static bool classof(const llvm::Init * I)
- public llvm::OpInit * clone(ArrayRef<llvm::Init *> Operands) const
- public static llvm::TernOpInit * get(llvm::TernOpInit::TernaryOp opc, llvm::Init * lhs, llvm::Init * mhs, llvm::Init * rhs, llvm::RecTy * Type)
- public std::string getAsString() const
- public llvm::Init * getLHS() const
- public llvm::Init * getMHS() const
- public unsigned int getNumOperands() const
- public llvm::TernOpInit::TernaryOp getOpcode() const
- public llvm::Init * getOperand(unsigned int i) const
- public llvm::Init * getRHS() const
- public bool isComplete() const
- public llvm::Init * resolveReferences(llvm::Resolver & R) const
Inherited from FoldingSetBase::Node:
Inherited from OpInit:
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
¶llvm::Init* Fold(llvm::Record* CurRec) const
llvm::Init* Fold(llvm::Record* CurRec) const
Declared at: llvm/include/llvm/TableGen/Record.h:909
Parameters
- llvm::Record* CurRec
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:882
Parameters
¶TernOpInit(const llvm::TernOpInit&)
TernOpInit(const llvm::TernOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:871
Parameters
- const llvm::TernOpInit&
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:874
Parameters
- const llvm::Init* I
¶llvm::OpInit* clone(
ArrayRef<llvm::Init*> Operands) const
llvm::OpInit* clone(
ArrayRef<llvm::Init*> Operands) const
Declared at: llvm/include/llvm/TableGen/Record.h:885
Parameters
- ArrayRef<llvm::Init*> Operands
¶static llvm::TernOpInit* get(
llvm::TernOpInit::TernaryOp opc,
llvm::Init* lhs,
llvm::Init* mhs,
llvm::Init* rhs,
llvm::RecTy* Type)
static llvm::TernOpInit* get(
llvm::TernOpInit::TernaryOp opc,
llvm::Init* lhs,
llvm::Init* mhs,
llvm::Init* rhs,
llvm::RecTy* Type)
Declared at: llvm/include/llvm/TableGen/Record.h:878
Parameters
- llvm::TernOpInit::TernaryOp opc
- llvm::Init* lhs
- llvm::Init* mhs
- llvm::Init* rhs
- llvm::RecTy* Type
¶std::string getAsString() const
std::string getAsString() const
Description
Convert this value to a string form.
Declared at: llvm/include/llvm/TableGen/Record.h:917
¶llvm::Init* getLHS() const
llvm::Init* getLHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:903
¶llvm::Init* getMHS() const
llvm::Init* getMHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:904
¶unsigned int getNumOperands() const
unsigned int getNumOperands() const
Declared at: llvm/include/llvm/TableGen/Record.h:892
¶llvm::TernOpInit::TernaryOp getOpcode() const
llvm::TernOpInit::TernaryOp getOpcode() const
Declared at: llvm/include/llvm/TableGen/Record.h:902
¶llvm::Init* getOperand(unsigned int i) const
llvm::Init* getOperand(unsigned int i) const
Declared at: llvm/include/llvm/TableGen/Record.h:893
Parameters
- unsigned int i
¶llvm::Init* getRHS() const
llvm::Init* getRHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:905
¶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:911
¶llvm::Init* resolveReferences(
llvm::Resolver& R) const
llvm::Init* resolveReferences(
llvm::Resolver& R) const
Description
This method 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:915