MLIR
20.0.0git
|
#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 |
|
inlineexplicit |
ConstantAttr DagLeaf::getAsConstantAttr | ( | ) | const |
Definition at line 72 of file Pattern.cpp.
References isConstantAttr().
Constraint DagLeaf::getAsConstraint | ( | ) | const |
Definition at line 66 of file Pattern.cpp.
References isAttrMatcher(), and isOperandMatcher().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getConditionTemplate().
EnumAttrCase DagLeaf::getAsEnumAttrCase | ( | ) | const |
Definition at line 77 of file Pattern.cpp.
References isEnumAttrCase().
std::string DagLeaf::getConditionTemplate | ( | ) | const |
Definition at line 82 of file Pattern.cpp.
References getAsConstraint(), and mlir::tblgen::Constraint::getConditionTemplate().
StringRef DagLeaf::getNativeCodeTemplate | ( | ) | const |
Definition at line 86 of file Pattern.cpp.
References isNativeCodeCall().
int DagLeaf::getNumReturnsOfNativeCode | ( | ) | const |
Definition at line 91 of file Pattern.cpp.
References isNativeCodeCall().
std::string DagLeaf::getStringAttr | ( | ) | const |
Definition at line 96 of file Pattern.cpp.
References isStringAttr().
bool DagLeaf::isAttrMatcher | ( | ) | const |
Definition at line 49 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstraint().
bool DagLeaf::isConstantAttr | ( | ) | const |
Definition at line 58 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstantAttr().
bool DagLeaf::isEnumAttrCase | ( | ) | const |
Definition at line 60 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsEnumAttrCase().
bool DagLeaf::isNativeCodeCall | ( | ) | const |
Definition at line 54 of file Pattern.cpp.
Referenced by getNativeCodeTemplate(), and getNumReturnsOfNativeCode().
bool DagLeaf::isOperandMatcher | ( | ) | const |
Definition at line 44 of file Pattern.cpp.
Referenced by getAsConstraint().
bool DagLeaf::isStringAttr | ( | ) | const |
Definition at line 64 of file Pattern.cpp.
Referenced by getStringAttr().
bool DagLeaf::isUnspecified | ( | ) | const |
Definition at line 40 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
void DagLeaf::print | ( | raw_ostream & | os | ) | const |
Definition at line 106 of file Pattern.cpp.