class BinOpInit
Declaration
class BinOpInit : public OpInit, public Node { /* full declaration omitted */ };
Description
!op (X, Y) - Combine two inits.
Declared at: llvm/include/llvm/TableGen/Record.h:801
Inherits from: OpInit, FoldingSetBase::Node
Member Variables
Inherited from Init:
Method Overview
- public BinOpInit(const llvm::BinOpInit &)
- public llvm::Init * Fold(llvm::Record * CurRec) const
- public void Profile(llvm::FoldingSetNodeID & ID) const
- public static bool classof(const llvm::Init * I)
- public llvm::OpInit * clone(ArrayRef<llvm::Init *> Operands) const
- public static llvm::BinOpInit * get(llvm::BinOpInit::BinaryOp opc, llvm::Init * lhs, llvm::Init * rhs, llvm::RecTy * Type)
- public std::string getAsString() const
- public llvm::Init * getLHS() const
- public static llvm::Init * getListConcat(llvm::TypedInit * lhs, llvm::Init * rhs)
- public static llvm::Init * getListSplat(llvm::TypedInit * lhs, llvm::Init * rhs)
- public unsigned int getNumOperands() const
- public llvm::BinOpInit::BinaryOp getOpcode() const
- public llvm::Init * getOperand(unsigned int i) const
- public llvm::Init * getRHS() const
- public static llvm::Init * getStrConcat(llvm::Init * lhs, llvm::Init * rhs)
- 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
¶BinOpInit(const llvm::BinOpInit&)
BinOpInit(const llvm::BinOpInit&)
Declared at: llvm/include/llvm/TableGen/Record.h:814
Parameters
- const llvm::BinOpInit&
¶llvm::Init* Fold(llvm::Record* CurRec) const
llvm::Init* Fold(llvm::Record* CurRec) const
Declared at: llvm/include/llvm/TableGen/Record.h:851
Parameters
- llvm::Record* CurRec
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:827
Parameters
¶static bool classof(const llvm::Init* I)
static bool classof(const llvm::Init* I)
Declared at: llvm/include/llvm/TableGen/Record.h:817
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:830
Parameters
- ArrayRef<llvm::Init*> Operands
¶static llvm::BinOpInit* get(
llvm::BinOpInit::BinaryOp opc,
llvm::Init* lhs,
llvm::Init* rhs,
llvm::RecTy* Type)
static llvm::BinOpInit* get(
llvm::BinOpInit::BinaryOp opc,
llvm::Init* lhs,
llvm::Init* rhs,
llvm::RecTy* Type)
Declared at: llvm/include/llvm/TableGen/Record.h:821
Parameters
- llvm::BinOpInit::BinaryOp opc
- llvm::Init* lhs
- 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:855
¶llvm::Init* getLHS() const
llvm::Init* getLHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:846
¶static llvm::Init* getListConcat(
llvm::TypedInit* lhs,
llvm::Init* rhs)
static llvm::Init* getListConcat(
llvm::TypedInit* lhs,
llvm::Init* rhs)
Declared at: llvm/include/llvm/TableGen/Record.h:824
Parameters
- llvm::TypedInit* lhs
- llvm::Init* rhs
¶static llvm::Init* getListSplat(
llvm::TypedInit* lhs,
llvm::Init* rhs)
static llvm::Init* getListSplat(
llvm::TypedInit* lhs,
llvm::Init* rhs)
Declared at: llvm/include/llvm/TableGen/Record.h:825
Parameters
- llvm::TypedInit* lhs
- llvm::Init* rhs
¶unsigned int getNumOperands() const
unsigned int getNumOperands() const
Declared at: llvm/include/llvm/TableGen/Record.h:836
¶llvm::BinOpInit::BinaryOp getOpcode() const
llvm::BinOpInit::BinaryOp getOpcode() const
Declared at: llvm/include/llvm/TableGen/Record.h:845
¶llvm::Init* getOperand(unsigned int i) const
llvm::Init* getOperand(unsigned int i) const
Declared at: llvm/include/llvm/TableGen/Record.h:837
Parameters
- unsigned int i
¶llvm::Init* getRHS() const
llvm::Init* getRHS() const
Declared at: llvm/include/llvm/TableGen/Record.h:847
¶static llvm::Init* getStrConcat(llvm::Init* lhs,
llvm::Init* rhs)
static llvm::Init* getStrConcat(llvm::Init* lhs,
llvm::Init* rhs)
Declared at: llvm/include/llvm/TableGen/Record.h:823
Parameters
- llvm::Init* lhs
- llvm::Init* rhs
¶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:853