MLIR 22.0.0git
mlir::pdl_to_pdl_interp::ConstraintQuestion Struct Reference

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.
ArrayRef< Position * > getArgs () const
 Return the arguments of the constraint.
ArrayRef< TypegetResultTypes () const
 Return the result types of the constraint.
bool getIsNegated () const
 Return the negation status of the constraint.
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.
const KeyTygetValue () const
 Return the key value of this predicate.
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.

Static Public Member Functions

static ConstraintQuestionconstruct (StorageUniquer::StorageAllocator &alloc, KeyTy key)
 Construct an instance with the given storage allocator.
static llvm::hash_code hashKey (const KeyTy &key)
 Returns a hash suitable for the given keytype.
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 ConstraintQuestionget (StorageUniquer &uniquer, Args &&...args)
 Get an instance of this position.
static ConstraintQuestionconstruct (StorageUniquer::StorageAllocator &alloc, KeyT &&key)
 Construct an instance with the given storage allocator.
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
using Base
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

Detailed Description

Apply a parameterized constraint to multiple position values and possibly produce results.

Definition at line 489 of file Predicate.h.

Member Function Documentation

◆ construct()

◆ getArgs()

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

◆ getIsNegated()

bool mlir::pdl_to_pdl_interp::ConstraintQuestion::getIsNegated ( ) const
inline

◆ getName()

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

◆ getResultTypes()

ArrayRef< Type > mlir::pdl_to_pdl_interp::ConstraintQuestion::getResultTypes ( ) const
inline

◆ hashKey()

llvm::hash_code mlir::pdl_to_pdl_interp::ConstraintQuestion::hashKey ( const KeyTy & key)
inlinestatic

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