MLIR
20.0.0git
|
This class represents a generic ODS constraint. More...
#include "mlir/Tools/PDLL/ODS/Constraint.h"
Public Member Functions | |
StringRef | getName () const |
Return the unique name of this constraint. More... | |
StringRef | getDemangledName () const |
Return the demangled name of this constraint. More... | |
StringRef | getSummary () const |
Return the summary of this constraint. More... | |
Protected Member Functions | |
Constraint (StringRef name, StringRef summary) | |
Constraint (const Constraint &)=delete | |
This class represents a generic ODS constraint.
Definition at line 32 of file Constraint.h.
|
inlineprotected |
Definition at line 47 of file Constraint.h.
|
protecteddelete |
StringRef Constraint::getDemangledName | ( | ) | const |
Return the demangled name of this constraint.
This tries to strip out bits of the name that are purely for uniquing, and show the underlying name. As such, this name does guarantee uniqueness and should only be used for logging or other lossy friendly "pretty" output.
Definition at line 18 of file Constraint.cpp.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Return the unique name of this constraint.
Definition at line 35 of file Constraint.h.
|
inline |
Return the summary of this constraint.
Definition at line 44 of file Constraint.h.