|
MLIR 22.0.0git
|
#include "mlir/TableGen/Pattern.h"
Public Member Functions | |
| DagNode (const llvm::DagInit *node) | |
| operator bool () const | |
| StringRef | getSymbol () const |
| Operator & | getDialectOp (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 | isLocationDirective () const |
| bool | isReturnTypeDirective () const |
| bool | isNativeCodeCall () const |
| bool | isEither () const |
| bool | isVariadic () const |
| bool | isOperation () const |
| StringRef | getNativeCodeTemplate () const |
| int | getNumReturnsOfNativeCode () const |
| void | print (raw_ostream &os) const |
Friends | |
| class | SymbolInfoMap |
|
inlineexplicit |
Definition at line 165 of file Pattern.h.
Referenced by getArgAsNestedDag().
Definition at line 198 of file Pattern.cpp.
References isNestedDagArg().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
Definition at line 194 of file Pattern.cpp.
References DagNode().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getNumOps().
| StringRef DagNode::getArgName | ( | unsigned | index | ) | const |
Definition at line 203 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| Operator & DagNode::getDialectOp | ( | RecordOperatorMap * | mapper | ) | const |
Definition at line 169 of file Pattern.cpp.
References mlir::tblgen::Operator::getDef(), and inserted().
Referenced by mlir::tblgen::Pattern::getDialectOp(), and mlir::tblgen::Pattern::getSourceRootOp().
| StringRef DagNode::getNativeCodeTemplate | ( | ) | const |
Definition at line 153 of file Pattern.cpp.
References isNativeCodeCall().
| int DagNode::getNumArgs | ( | ) | const |
Definition at line 188 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getNumOps().
| int DagNode::getNumOps | ( | ) | const |
Definition at line 177 of file Pattern.cpp.
References getArgAsNestedDag(), getNumArgs(), and isOperation().
| int DagNode::getNumReturnsOfNativeCode | ( | ) | const |
Definition at line 160 of file Pattern.cpp.
References isNativeCodeCall().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| StringRef DagNode::getSymbol | ( | ) | const |
Definition at line 167 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| bool DagNode::isEither | ( | ) | const |
Definition at line 222 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isLocationDirective | ( | ) | const |
Definition at line 212 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isNativeCodeCall | ( | ) | const |
Definition at line 141 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), getNativeCodeTemplate(), getNumReturnsOfNativeCode(), and isOperation().
Definition at line 190 of file Pattern.cpp.
Referenced by getArgAsLeaf().
| bool DagNode::isOperation | ( | ) | const |
Definition at line 147 of file Pattern.cpp.
References isEither(), isLocationDirective(), isNativeCodeCall(), isReplaceWithValue(), isReturnTypeDirective(), and isVariadic().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getNumOps().
| bool DagNode::isReplaceWithValue | ( | ) | const |
Definition at line 207 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isReturnTypeDirective | ( | ) | const |
Definition at line 217 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isVariadic | ( | ) | const |
Definition at line 227 of file Pattern.cpp.
Referenced by isOperation().
| void DagNode::print | ( | raw_ostream & | os | ) | const |
Definition at line 232 of file Pattern.cpp.
|
friend |