MLIR  15.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::tblgen::NamedTypeConstraint Struct Reference

#include "mlir/TableGen/Argument.h"

+ Collaboration diagram for mlir::tblgen::NamedTypeConstraint:

Public Member Functions

bool hasPredicate () const
 
bool isOptional () const
 
bool isVariadic () const
 
bool isVariadicOfVariadic () const
 
bool isVariableLength () const
 

Public Attributes

llvm::StringRef name
 
TypeConstraint constraint
 

Detailed Description

Definition at line 43 of file Argument.h.

Member Function Documentation

◆ hasPredicate()

bool NamedTypeConstraint::hasPredicate ( ) const

◆ isOptional()

bool NamedTypeConstraint::isOptional ( ) const

Definition at line 23 of file Argument.cpp.

References constraint, and mlir::tblgen::TypeConstraint::isOptional().

◆ isVariableLength()

bool mlir::tblgen::NamedTypeConstraint::isVariableLength ( ) const
inline

Definition at line 55 of file Argument.h.

Referenced by mlir::tblgen::Operator::isVariadic().

◆ isVariadic()

bool NamedTypeConstraint::isVariadic ( ) const

◆ isVariadicOfVariadic()

bool NamedTypeConstraint::isVariadicOfVariadic ( ) const

Member Data Documentation

◆ constraint

TypeConstraint mlir::tblgen::NamedTypeConstraint::constraint

◆ name

llvm::StringRef mlir::tblgen::NamedTypeConstraint::name

Definition at line 57 of file Argument.h.


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