|
MLIR
22.0.0git
|
A position describing a result of an operation. More...
#include "Conversion/PDLToPDLInterp/Predicate.h"
Inheritance diagram for mlir::pdl_to_pdl_interp::ResultPosition:Public Member Functions | |
| ResultPosition (const KeyTy &key) | |
| unsigned | getResultNumber () const |
| Returns the result number of this position. More... | |
Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ResultPosition, Position, std::pair< OperationPosition *, unsigned >, Predicates::ResultPos > | |
| PredicateBase (KeyT &&key) | |
| bool | operator== (const KeyTy &key) const |
| Utility methods required by the storage allocator. More... | |
| const KeyTy & | getValue () const |
| Return the key value of this predicate. More... | |
Public Member Functions inherited from mlir::pdl_to_pdl_interp::Position | |
| Position (Predicates::Kind kind) | |
| virtual | ~Position () |
| unsigned | getOperationDepth () const |
| Returns the depth of the first ancestor operation position. More... | |
| Position * | getParent () const |
| Returns the parent position. The root operation position has no parent. More... | |
| Predicates::Kind | getKind () const |
| Returns the kind of this position. More... | |
A position describing a result of an operation.
Definition at line 317 of file Predicate.h.
|
inlineexplicit |
|
inline |
Returns the result number of this position.
Definition at line 324 of file Predicate.h.