MLIR
20.0.0git
|
#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 |
Definition at line 44 of file Argument.h.
bool NamedTypeConstraint::hasPredicate | ( | ) | const |
Definition at line 19 of file Argument.cpp.
References constraint, mlir::tblgen::Constraint::getPredicate(), and mlir::tblgen::Pred::isNull().
bool NamedTypeConstraint::isOptional | ( | ) | const |
Definition at line 23 of file Argument.cpp.
References constraint, and mlir::tblgen::TypeConstraint::isOptional().
Referenced by isVariableLength().
|
inline |
Definition at line 56 of file Argument.h.
References isOptional(), and isVariadic().
bool NamedTypeConstraint::isVariadic | ( | ) | const |
Definition at line 25 of file Argument.cpp.
References constraint, and mlir::tblgen::TypeConstraint::isVariadic().
Referenced by mlir::tblgen::Operator::hasSingleVariadicArg(), mlir::tblgen::Operator::hasSingleVariadicResult(), isVariableLength(), and mlir::tblgen::Operator::isVariadic().
bool NamedTypeConstraint::isVariadicOfVariadic | ( | ) | const |
Definition at line 27 of file Argument.cpp.
References constraint, and mlir::tblgen::TypeConstraint::isVariadicOfVariadic().
TypeConstraint mlir::tblgen::NamedTypeConstraint::constraint |
Definition at line 59 of file Argument.h.
Referenced by mlir::tblgen::Operator::getNumVariableLengthOperands(), mlir::tblgen::Operator::getNumVariableLengthResults(), hasPredicate(), isOptional(), isVariadic(), and isVariadicOfVariadic().
llvm::StringRef mlir::tblgen::NamedTypeConstraint::name |
Definition at line 58 of file Argument.h.