13class BoolDialect :
public ::mlir::Dialect {
17 friend class ::mlir::MLIRContext;
21 return ::llvm::StringLiteral(
"bool");
26 ::mlir::Type type)
const override;
30 ::mlir::DialectAsmPrinter &os)
const override;
35 ::mlir::Attribute value,
37 ::mlir::Location loc)
override;
friend class ::mlir::MLIRContext
::mlir::Operation * materializeConstant(::mlir::OpBuilder &builder, ::mlir::Attribute value, ::mlir::Type type, ::mlir::Location loc) override
Materialize a single constant operation from a given attribute value with the desired resultant type.
static constexpr ::llvm::StringLiteral getDialectNamespace()
::mlir::Attribute parseAttribute(::mlir::DialectAsmParser &parser, ::mlir::Type type) const override
Parse an attribute registered to this dialect.
void printAttribute(::mlir::Attribute attr, ::mlir::DialectAsmPrinter &os) const override
Print an attribute registered to this dialect.