My Project
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mlir::tblgen::Constraint Class Reference

#include <Constraint.h>

Inheritance diagram for mlir::tblgen::Constraint:
Inheritance graph
[legend]

Public Types

enum  Kind { CK_Attr, CK_Region, CK_Type, CK_Uncategorized }
 

Public Member Functions

 Constraint (const llvm::Record *record)
 
bool operator== (const Constraint &that)
 
bool operator!= (const Constraint &that)
 
Pred getPredicate () const
 
std::string getConditionTemplate () const
 
StringRef getDescription () const
 
Kind getKind () const
 

Protected Member Functions

 Constraint (Kind kind, const llvm::Record *record)
 

Protected Attributes

const llvm::Record * def
 

Member Enumeration Documentation

◆ Kind

Enumerator
CK_Attr 
CK_Region 
CK_Type 
CK_Uncategorized 

Constructor & Destructor Documentation

◆ Constraint() [1/2]

Constraint::Constraint ( const llvm::Record *  record)

◆ Constraint() [2/2]

Constraint::Constraint ( Kind  kind,
const llvm::Record *  record 
)
protected

Member Function Documentation

◆ getConditionTemplate()

std::string Constraint::getConditionTemplate ( ) const

◆ getDescription()

llvm::StringRef Constraint::getDescription ( ) const

◆ getKind()

Kind mlir::tblgen::Constraint::getKind ( ) const
inline

◆ getPredicate()

Pred Constraint::getPredicate ( ) const

◆ operator!=()

bool mlir::tblgen::Constraint::operator!= ( const Constraint that)
inline

◆ operator==()

bool mlir::tblgen::Constraint::operator== ( const Constraint that)
inline

Member Data Documentation

◆ def

const llvm::Record* mlir::tblgen::Constraint::def
protected

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