MLIR
21.0.0git
|
A position describing an operand of an operation. More...
#include "Conversion/PDLToPDLInterp/Predicate.h"
Public Member Functions | |
OperandPosition (const KeyTy &key) | |
unsigned | getOperandNumber () const |
Returns the operand number of this position. More... | |
![]() | |
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... | |
![]() | |
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 an operand of an operation.
Definition at line 213 of file Predicate.h.
|
explicit |
|
inline |
Returns the operand number of this position.
Definition at line 220 of file Predicate.h.