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

#include "mlir/TableGen/Argument.h"

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 44 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().

Referenced by isVariableLength().

◆ isVariableLength()

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

Definition at line 56 of file Argument.h.

References isOptional(), and 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 58 of file Argument.h.

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