MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::tblgen::Successor Class Reference

#include "mlir/TableGen/Successor.h"

+ Inheritance diagram for mlir::tblgen::Successor:

Public Member Functions

bool isVariadic () const
 
 Constraint (const llvm::Record *record, Kind kind)
 
 Constraint (const llvm::Record *record)
 
- Public Member Functions inherited from mlir::tblgen::Constraint
 Constraint (const llvm::Record *record, Kind kind)
 
 Constraint (const llvm::Record *record)
 
bool operator== (const Constraint &that)
 Constraints are pointer-comparable. More...
 
bool operator!= (const Constraint &that)
 
Pred getPredicate () const
 
std::string getConditionTemplate () const
 
StringRef getSummary () const
 
StringRef getDescription () const
 
StringRef getDefName () const
 Returns the name of the TablGen def of this constraint. More...
 
std::string getUniqueDefName () const
 Returns a unique name for the TablGen def of this constraint. More...
 
std::optional< StringRef > getCppFunctionName () const
 Returns the name of the C++ function that should be generated for this constraint, or std::nullopt if no C++ function should be generated. More...
 
Kind getKind () const
 
const llvm::Record & getDef () const
 Return the underlying def. More...
 

Static Public Member Functions

static bool classof (const Constraint *c)
 

Additional Inherited Members

- Public Types inherited from mlir::tblgen::Constraint
enum  Kind {
  CK_Attr , CK_Region , CK_Successor , CK_Type ,
  CK_Uncategorized
}
 
- Protected Attributes inherited from mlir::tblgen::Constraint
const llvm::Record * def
 

Detailed Description

Definition at line 20 of file Successor.h.

Member Function Documentation

◆ classof()

static bool mlir::tblgen::Successor::classof ( const Constraint c)
inlinestatic

◆ Constraint() [1/2]

Constraint::Constraint

Definition at line 38 of file Constraint.cpp.

◆ Constraint() [2/2]

mlir::tblgen::Constraint::Constraint
inline

Definition at line 36 of file Constraint.h.

◆ isVariadic()

bool Successor::isVariadic ( ) const

Definition at line 22 of file Successor.cpp.

References mlir::tblgen::Constraint::def.

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


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