My Project
Public Member Functions | List of all members
mlir::tblgen::DagNode Class Reference

#include <Pattern.h>

Public Member Functions

 DagNode (const llvm::DagInit *node)
 
 operator bool () const
 
StringRef getSymbol () const
 
OperatorgetDialectOp (RecordOperatorMap *mapper) const
 
int getNumOps () const
 
int getNumArgs () const
 
bool isNestedDagArg (unsigned index) const
 
DagNode getArgAsNestedDag (unsigned index) const
 
DagLeaf getArgAsLeaf (unsigned index) const
 
StringRef getArgName (unsigned index) const
 
bool isReplaceWithValue () const
 
bool isNativeCodeCall () const
 
bool isOperation () const
 
StringRef getNativeCodeTemplate () const
 
void print (raw_ostream &os) const
 

Constructor & Destructor Documentation

◆ DagNode()

mlir::tblgen::DagNode::DagNode ( const llvm::DagInit *  node)
inlineexplicit

Member Function Documentation

◆ getArgAsLeaf()

tblgen::DagLeaf tblgen::DagNode::getArgAsLeaf ( unsigned  index) const

◆ getArgAsNestedDag()

tblgen::DagNode tblgen::DagNode::getArgAsNestedDag ( unsigned  index) const

◆ getArgName()

StringRef tblgen::DagNode::getArgName ( unsigned  index) const

◆ getDialectOp()

Operator & tblgen::DagNode::getDialectOp ( RecordOperatorMap mapper) const

◆ getNativeCodeTemplate()

llvm::StringRef tblgen::DagNode::getNativeCodeTemplate ( ) const

◆ getNumArgs()

int tblgen::DagNode::getNumArgs ( ) const

◆ getNumOps()

int tblgen::DagNode::getNumOps ( ) const

◆ getSymbol()

llvm::StringRef tblgen::DagNode::getSymbol ( ) const

◆ isNativeCodeCall()

bool tblgen::DagNode::isNativeCodeCall ( ) const

◆ isNestedDagArg()

bool tblgen::DagNode::isNestedDagArg ( unsigned  index) const

◆ isOperation()

bool tblgen::DagNode::isOperation ( ) const

◆ isReplaceWithValue()

bool tblgen::DagNode::isReplaceWithValue ( ) const

◆ operator bool()

mlir::tblgen::DagNode::operator bool ( ) const
inline

◆ print()

void tblgen::DagNode::print ( raw_ostream &  os) const

The documentation for this class was generated from the following files: