MLIR  16.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::pdl_to_pdl_interp::ConstraintQuestion Struct Reference

Apply a parameterized constraint to multiple position values. More...

#include "Conversion/PDLToPDLInterp/Predicate.h"

+ Inheritance diagram for mlir::pdl_to_pdl_interp::ConstraintQuestion:
+ Collaboration 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...
 
- Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position *> >, Predicates::ConstraintQuestion >
 PredicateBase (KeyT &&key)
 
bool operator== (const KeyTy &key) const
 Utility methods required by the storage allocator. More...
 
const KeyTygetValue () 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 ConstraintQuestionconstruct (StorageUniquer::StorageAllocator &alloc, KeyTy key)
 Construct an instance with the given storage allocator. More...
 
- Static Public Member Functions inherited from mlir::pdl_to_pdl_interp::PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position *> >, Predicates::ConstraintQuestion >
static ConstraintQuestionget (StorageUniquer &uniquer, Args &&...args)
 Get an instance of this position. More...
 
static ConstraintQuestionconstruct (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 *> >, Predicates::ConstraintQuestion >
using KeyTy = std::tuple< StringRef, ArrayRef< Position * > >
 
using Base = PredicateBase< ConstraintQuestion, Qualifier, std::tuple< StringRef, ArrayRef< Position * > >, 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 *> >, Predicates::ConstraintQuestion >
KeyTy key
 

Detailed Description

Apply a parameterized constraint to multiple position values.

Definition at line 447 of file Predicate.h.

Member Function Documentation

◆ construct()

static ConstraintQuestion* mlir::pdl_to_pdl_interp::ConstraintQuestion::construct ( StorageUniquer::StorageAllocator alloc,
KeyTy  key 
)
inlinestatic

Construct an instance with the given storage allocator.

Definition at line 460 of file Predicate.h.

References mlir::StorageUniquer::StorageAllocator::copyInto().

◆ getArgs()

ArrayRef<Position *> mlir::pdl_to_pdl_interp::ConstraintQuestion::getArgs ( ) const
inline

Return the arguments of the constraint.

Definition at line 457 of file Predicate.h.

◆ getName()

StringRef mlir::pdl_to_pdl_interp::ConstraintQuestion::getName ( ) const
inline

Return the name of the constraint.

Definition at line 454 of file Predicate.h.


The documentation for this struct was generated from the following file: