|
MLIR
22.0.0git
|
A position describing the result of a native constraint. More...
#include "Conversion/PDLToPDLInterp/Predicate.h"
Inheritance diagram for mlir::pdl_to_pdl_interp::ConstraintPosition:Public Member Functions | |
| ConstraintQuestion * | getQuestion () const |
| Returns the ConstraintQuestion to enable keeping track of the native constraint this position stems from. More... | |
| unsigned | getIndex () const |
| template<typename KeyT > | |
| PredicateBase (KeyT &&key) | |
Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintPosition, Position, std::pair< ConstraintQuestion *, unsigned >, Predicates::ConstraintResultPos > | |
| 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 the result of a native constraint.
It saves the corresponding ConstraintQuestion and result index to enable referring back to them
Definition at line 298 of file Predicate.h.
|
inline |
Definition at line 309 of file Predicate.h.
|
inline |
Returns the ConstraintQuestion to enable keeping track of the native constraint this position stems from.
Definition at line 306 of file Predicate.h.
|
inlineexplicit |
Definition at line 90 of file Predicate.h.