|
MLIR 22.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 | isPropMatcher () const |
| bool | isPropDefinition () const |
| bool | isNativeCodeCall () const |
| bool | isConstantAttr () const |
| bool | isConstantProp () const |
| bool | isEnumCase () const |
| bool | isStringAttr () const |
| Constraint | getAsConstraint () const |
| PropConstraint | getAsPropConstraint () const |
| Property | getAsProperty () const |
| ConstantAttr | getAsConstantAttr () const |
| ConstantProp | getAsConstantProp () const |
| EnumCase | getAsEnumCase () 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 93 of file Pattern.cpp.
References isConstantAttr().
| ConstantProp DagLeaf::getAsConstantProp | ( | ) | const |
Definition at line 103 of file Pattern.cpp.
References isConstantProp().
| Constraint DagLeaf::getAsConstraint | ( | ) | const |
Definition at line 77 of file Pattern.cpp.
References isAttrMatcher(), isOperandMatcher(), and isPropMatcher().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getConditionTemplate().
| EnumCase DagLeaf::getAsEnumCase | ( | ) | const |
Definition at line 98 of file Pattern.cpp.
References isEnumCase().
| PropConstraint DagLeaf::getAsPropConstraint | ( | ) | const |
Definition at line 83 of file Pattern.cpp.
References isPropMatcher().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| Property DagLeaf::getAsProperty | ( | ) | const |
Definition at line 88 of file Pattern.cpp.
References isPropDefinition().
| std::string DagLeaf::getConditionTemplate | ( | ) | const |
Definition at line 108 of file Pattern.cpp.
References getAsConstraint(), and mlir::tblgen::Constraint::getConditionTemplate().
| StringRef DagLeaf::getNativeCodeTemplate | ( | ) | const |
Definition at line 112 of file Pattern.cpp.
References isNativeCodeCall().
| int DagLeaf::getNumReturnsOfNativeCode | ( | ) | const |
Definition at line 117 of file Pattern.cpp.
References isNativeCodeCall().
| std::string DagLeaf::getStringAttr | ( | ) | const |
Definition at line 122 of file Pattern.cpp.
References isStringAttr().
| bool DagLeaf::isAttrMatcher | ( | ) | const |
Definition at line 50 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstraint().
| bool DagLeaf::isConstantAttr | ( | ) | const |
Definition at line 69 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsConstantAttr().
| bool DagLeaf::isConstantProp | ( | ) | const |
Definition at line 73 of file Pattern.cpp.
Referenced by getAsConstantProp().
| bool DagLeaf::isEnumCase | ( | ) | const |
Definition at line 71 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getAsEnumCase().
| bool DagLeaf::isNativeCodeCall | ( | ) | const |
Definition at line 65 of file Pattern.cpp.
Referenced by getNativeCodeTemplate(), and getNumReturnsOfNativeCode().
| bool DagLeaf::isOperandMatcher | ( | ) | const |
Definition at line 45 of file Pattern.cpp.
Referenced by getAsConstraint().
| bool DagLeaf::isPropDefinition | ( | ) | const |
Definition at line 60 of file Pattern.cpp.
Referenced by getAsProperty().
| bool DagLeaf::isPropMatcher | ( | ) | const |
Definition at line 55 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), getAsConstraint(), and getAsPropConstraint().
| bool DagLeaf::isStringAttr | ( | ) | const |
Definition at line 75 of file Pattern.cpp.
Referenced by getStringAttr().
| bool DagLeaf::isUnspecified | ( | ) | const |
Definition at line 41 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| void DagLeaf::print | ( | raw_ostream & | os | ) | const |
Definition at line 132 of file Pattern.cpp.