Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/TableGen/Dialect.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | public: | ||||
/// Returns true if this dialect has fallback interfaces for its operations. | /// Returns true if this dialect has fallback interfaces for its operations. | ||||
bool hasOperationInterfaceFallback() const; | bool hasOperationInterfaceFallback() const; | ||||
/// Returns true if this dialect should generate the default dispatch for | /// Returns true if this dialect should generate the default dispatch for | ||||
/// attribute printing/parsing. | /// attribute printing/parsing. | ||||
bool useDefaultAttributePrinterParser() const; | bool useDefaultAttributePrinterParser() const; | ||||
/// Returns true if this dialect should generate the default dispatch for | |||||
/// type printing/parsing. | |||||
bool useDefaultTypePrinterParser() const; | |||||
// Returns whether two dialects are equal by checking the equality of the | // Returns whether two dialects are equal by checking the equality of the | ||||
// underlying record. | // underlying record. | ||||
bool operator==(const Dialect &other) const; | bool operator==(const Dialect &other) const; | ||||
bool operator!=(const Dialect &other) const { return !(*this == other); } | bool operator!=(const Dialect &other) const { return !(*this == other); } | ||||
// Compares two dialects by comparing the names of the dialects. | // Compares two dialects by comparing the names of the dialects. | ||||
bool operator<(const Dialect &other) const; | bool operator<(const Dialect &other) const; | ||||
Show All 16 Lines |