MLIR  19.0.0git
Public Member Functions | List of all members
mlir::tblgen::DagLeaf Class Reference

#include "mlir/TableGen/Pattern.h"

Public Member Functions

 DagLeaf (const llvm::Init *def)
 
bool isUnspecified () const
 
bool isOperandMatcher () const
 
bool isAttrMatcher () const
 
bool isNativeCodeCall () const
 
bool isConstantAttr () const
 
bool isEnumAttrCase () const
 
bool isStringAttr () const
 
Constraint getAsConstraint () const
 
ConstantAttr getAsConstantAttr () const
 
EnumAttrCase getAsEnumAttrCase () const
 
std::string getConditionTemplate () const
 
StringRef getNativeCodeTemplate () const
 
int getNumReturnsOfNativeCode () const
 
std::string getStringAttr () const
 
void print (raw_ostream &os) const
 

Detailed Description

Definition at line 58 of file Pattern.h.

Constructor & Destructor Documentation

◆ DagLeaf()

mlir::tblgen::DagLeaf::DagLeaf ( const llvm::Init *  def)
inlineexplicit

Definition at line 60 of file Pattern.h.

Member Function Documentation

◆ getAsConstantAttr()

ConstantAttr DagLeaf::getAsConstantAttr ( ) const

Definition at line 67 of file Pattern.cpp.

References isConstantAttr().

◆ getAsConstraint()

Constraint DagLeaf::getAsConstraint ( ) const

◆ getAsEnumAttrCase()

EnumAttrCase DagLeaf::getAsEnumAttrCase ( ) const

Definition at line 72 of file Pattern.cpp.

References isEnumAttrCase().

◆ getConditionTemplate()

std::string DagLeaf::getConditionTemplate ( ) const

◆ getNativeCodeTemplate()

llvm::StringRef DagLeaf::getNativeCodeTemplate ( ) const

Definition at line 81 of file Pattern.cpp.

References isNativeCodeCall().

◆ getNumReturnsOfNativeCode()

int DagLeaf::getNumReturnsOfNativeCode ( ) const

Definition at line 86 of file Pattern.cpp.

References isNativeCodeCall().

◆ getStringAttr()

std::string DagLeaf::getStringAttr ( ) const

Definition at line 91 of file Pattern.cpp.

References isStringAttr().

◆ isAttrMatcher()

bool DagLeaf::isAttrMatcher ( ) const

Definition at line 44 of file Pattern.cpp.

Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstraint().

◆ isConstantAttr()

bool DagLeaf::isConstantAttr ( ) const

Definition at line 53 of file Pattern.cpp.

Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstantAttr().

◆ isEnumAttrCase()

bool DagLeaf::isEnumAttrCase ( ) const

Definition at line 55 of file Pattern.cpp.

Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsEnumAttrCase().

◆ isNativeCodeCall()

bool DagLeaf::isNativeCodeCall ( ) const

Definition at line 49 of file Pattern.cpp.

Referenced by getNativeCodeTemplate(), and getNumReturnsOfNativeCode().

◆ isOperandMatcher()

bool DagLeaf::isOperandMatcher ( ) const

Definition at line 39 of file Pattern.cpp.

Referenced by getAsConstraint().

◆ isStringAttr()

bool DagLeaf::isStringAttr ( ) const

Definition at line 59 of file Pattern.cpp.

Referenced by getStringAttr().

◆ isUnspecified()

bool DagLeaf::isUnspecified ( ) const

Definition at line 35 of file Pattern.cpp.

Referenced by mlir::tblgen::Pattern::collectBoundSymbols().

◆ print()

void DagLeaf::print ( raw_ostream &  os) const

Definition at line 101 of file Pattern.cpp.


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