|
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 197 of file Pattern.cpp.
References isNestedDagArg().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
Definition at line 193 of file Pattern.cpp.
References DagNode().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getNumOps().
| StringRef DagNode::getArgName | ( | unsigned | index | ) | const |
Definition at line 202 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| Operator & DagNode::getDialectOp | ( | RecordOperatorMap * | mapper | ) | const |
Definition at line 168 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 152 of file Pattern.cpp.
References isNativeCodeCall().
| int DagNode::getNumArgs | ( | ) | const |
Definition at line 187 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), and getNumOps().
| int DagNode::getNumOps | ( | ) | const |
Definition at line 176 of file Pattern.cpp.
References getArgAsNestedDag(), getNumArgs(), and isOperation().
| int DagNode::getNumReturnsOfNativeCode | ( | ) | const |
Definition at line 159 of file Pattern.cpp.
References isNativeCodeCall().
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| StringRef DagNode::getSymbol | ( | ) | const |
Definition at line 166 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols().
| bool DagNode::isEither | ( | ) | const |
Definition at line 221 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isLocationDirective | ( | ) | const |
Definition at line 211 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isNativeCodeCall | ( | ) | const |
Definition at line 140 of file Pattern.cpp.
Referenced by mlir::tblgen::Pattern::collectBoundSymbols(), getNativeCodeTemplate(), getNumReturnsOfNativeCode(), and isOperation().
Definition at line 189 of file Pattern.cpp.
Referenced by getArgAsLeaf().
| bool DagNode::isOperation | ( | ) | const |
Definition at line 146 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 206 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isReturnTypeDirective | ( | ) | const |
Definition at line 216 of file Pattern.cpp.
Referenced by isOperation().
| bool DagNode::isVariadic | ( | ) | const |
Definition at line 226 of file Pattern.cpp.
Referenced by isOperation().
| void DagNode::print | ( | raw_ostream & | os | ) | const |
Definition at line 231 of file Pattern.cpp.
|
friend |