12 #ifndef MLIR_TABLEGEN_DIALECT_H_ 13 #define MLIR_TABLEGEN_DIALECT_H_ 27 explicit Dialect(
const llvm::Record *def) : def(def) {}
30 StringRef getName()
const;
33 StringRef getCppNamespace()
const;
37 StringRef getSummary()
const;
40 StringRef getDescription()
const;
50 operator bool()
const {
return def !=
nullptr; }
53 const llvm::Record *def;
58 #endif // MLIR_TABLEGEN_DIALECT_H_ Definition: InferTypeOpInterface.cpp:20
Definition: PassRegistry.cpp:413
bool operator==(IntInfty lhs, IntInfty rhs)
Definition: SDBM.h:90
bool operator<(IntInfty lhs, IntInfty rhs)
Definition: SDBM.h:82
Dialect(const llvm::Record *def)
Definition: Dialect.h:27