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:891
Inherits from: OpInit, FoldingSetBase::Node
Member Variables
- private llvm::Init* LHS
- private llvm::Init* MHS
- private llvm::Init* RHS
Inherited from Init:
Method Overview
- public llvm::Init * Fold(llvm::Record * CurRec) const
- public void Profile(llvm::FoldingSetNodeID & ID) const
- private TernOpInit(llvm::TernOpInit::TernaryOp opc, llvm::Init * lhs, llvm::Init * mhs, llvm::Init * rhs, llvm::RecTy * Type)
- 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 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(llvm::Record* CurRec) const
llvm::Init* Fold(llvm::Record* CurRec) const
Declared at: llvm/include/llvm/TableGen/Record.h:941
Parameters
- llvm::Record* CurRec
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:914
Parameters
¶TernOpInit(llvm::TernOpInit::TernaryOp opc,
llvm::Init* lhs,
llvm::Init* mhs,
llvm::Init* rhs,
llvm::RecTy* Type)
TernOpInit(llvm::TernOpInit::TernaryOp opc,
llvm::Init* lhs,
llvm::Init* mhs,
llvm::Init* rhs,
llvm::RecTy* Type)
Declared at: llvm/include/llvm/TableGen/Record.h:898
Parameters
- llvm::TernOpInit::TernaryOp opc
- llvm::Init* lhs
- llvm::Init* mhs
- llvm::Init* rhs
- llvm::RecTy* Type
¶TernOpInit(const llvm::TernOpInit&)
TernOpInit(const llvm::TernOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:903
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:906
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:917
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:910
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 literal form.
Declared at: llvm/include/llvm/TableGen/Record.h:949
¶llvm::Init* getLHS() const
llvm::Init* getLHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:935
¶llvm::Init* getMHS() const
llvm::Init* getMHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:936
¶unsigned int getNumOperands() const
unsigned int getNumOperands() const
Declared at: llvm/include/llvm/TableGen/Record.h:924
¶llvm::TernOpInit::TernaryOp getOpcode() const
llvm::TernOpInit::TernaryOp getOpcode() const
Declared at: llvm/include/llvm/TableGen/Record.h:934
¶llvm::Init* getOperand(unsigned int i) const
llvm::Init* getOperand(unsigned int i) const
Declared at: llvm/include/llvm/TableGen/Record.h:925
Parameters
- unsigned int i
¶llvm::Init* getRHS() const
llvm::Init* getRHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:937
¶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:943
¶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:947