|
MLIR
22.0.0git
|
Apply a parameterized constraint to multiple position values and possibly produce results. More...
#include "Conversion/PDLToPDLInterp/Predicate.h"
Inheritance diagram for mlir::pdl_to_pdl_interp::ConstraintQuestion:Public Member Functions | |
| StringRef | getName () const |
| Return the name of the constraint. More... | |
| ArrayRef< Position * > | getArgs () const |
| Return the arguments of the constraint. More... | |
| ArrayRef< Type > | getResultTypes () const |
| Return the result types of the constraint. More... | |
| bool | getIsNegated () const |
| Return the negation status of the constraint. More... | |
Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion > | |
| 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::Qualifier | |
| Qualifier (Predicates::Kind kind) | |
| Predicates::Kind | getKind () const |
| Returns the kind of this qualifier. More... | |
Static Public Member Functions | |
| static ConstraintQuestion * | construct (StorageUniquer::StorageAllocator &alloc, KeyTy key) |
| Construct an instance with the given storage allocator. More... | |
| static llvm::hash_code | hashKey (const KeyTy &key) |
| Returns a hash suitable for the given keytype. More... | |
Static Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion > | |
| static ConstraintQuestion * | get (StorageUniquer &uniquer, Args &&...args) |
| Get an instance of this position. More... | |
| static ConstraintQuestion * | construct (StorageUniquer::StorageAllocator &alloc, KeyT &&key) |
| Construct an instance with the given storage allocator. More... | |
| static bool | classof (const Qualifier *pred) |
Additional Inherited Members | |
Public Types inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion > | |
| using | KeyTy = std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool > |
| using | Base = PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Kind > |
Protected Member Functions inherited from mlir::StorageUniquer::BaseStorage | |
| BaseStorage ()=default | |
Protected Attributes inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion > | |
| KeyTy | key |
Apply a parameterized constraint to multiple position values and possibly produce results.
Definition at line 489 of file Predicate.h.
|
inlinestatic |
Construct an instance with the given storage allocator.
Definition at line 509 of file Predicate.h.
References mlir::pdl_to_pdl_interp::PredicateBase< ConcreteT, BaseT, Key, Kind >::construct(), mlir::StorageUniquer::StorageAllocator::copyInto(), and mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion >::key.
Return the arguments of the constraint.
Definition at line 500 of file Predicate.h.
|
inline |
Return the negation status of the constraint.
Definition at line 506 of file Predicate.h.
|
inline |
Return the name of the constraint.
Definition at line 497 of file Predicate.h.
Return the result types of the constraint.
Definition at line 503 of file Predicate.h.
|
inlinestatic |
Returns a hash suitable for the given keytype.
Definition at line 518 of file Predicate.h.
References mlir::spirv::hash_value(), and mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * >, ArrayRef< Type >, bool >, Predicates::ConstraintQuestion >::key.