My Project
|
Defines the 'Quantization' dialect. More...
#include <QuantOps.h>
Public Member Functions | |
QuantizationDialect (MLIRContext *context) | |
Type | parseType (DialectAsmParser &parser) const override |
Parse a type registered to this dialect. More... | |
void | printType (Type type, DialectAsmPrinter &os) const override |
Print a type registered to this dialect. More... | |
![]() | |
virtual | ~Dialect () |
MLIRContext * | getContext () const |
StringRef | getNamespace () const |
bool | allowsUnknownOperations () const |
bool | allowsUnknownTypes () const |
virtual Operation * | materializeConstant (OpBuilder &builder, Attribute value, Type type, Location loc) |
virtual Attribute | parseAttribute (DialectAsmParser &parser, Type type) const |
Parse an attribute registered to this dialect. More... | |
virtual void | printAttribute (Attribute, DialectAsmPrinter &) const |
virtual LogicalResult | verifyRegionArgAttribute (Operation *, unsigned regionIndex, unsigned argIndex, NamedAttribute) |
virtual LogicalResult | verifyRegionResultAttribute (Operation *, unsigned regionIndex, unsigned resultIndex, NamedAttribute) |
virtual LogicalResult | verifyOperationAttribute (Operation *, NamedAttribute) |
const DialectInterface * | getRegisteredInterface (ClassID *interfaceID) |
template<typename InterfaceT > | |
const InterfaceT * | getRegisteredInterface () |
Additional Inherited Members | |
![]() | |
static bool | isValidNamespace (StringRef str) |
![]() | |
DialectConstantFoldHook | constantFoldHook |
DialectConstantDecodeHook | decodeHook |
DialectExtractElementHook | extractElementHook |
![]() | |
Dialect (StringRef name, MLIRContext *context) | |
template<typename... Args> | |
void | addOperations () |
void | addOperation (AbstractOperation opInfo) |
template<typename... Args> | |
void | addTypes () |
This method is used by derived classes to add their types to the set. More... | |
template<typename... Args> | |
void | addAttributes () |
This method is used by derived classes to add their attributes to the set. More... | |
void | allowUnknownOperations (bool allow=true) |
Enable support for unregistered operations. More... | |
void | allowUnknownTypes (bool allow=true) |
Enable support for unregistered types. More... | |
void | addInterface (std::unique_ptr< DialectInterface > interface) |
Register a dialect interface with this dialect instance. More... | |
template<typename T , typename T2 , typename... Tys> | |
void | addInterfaces () |
Register a set of dialect interfaces with this dialect instance. More... | |
template<typename T > | |
void | addInterfaces () |
Defines the 'Quantization' dialect.
QuantizationDialect::QuantizationDialect | ( | MLIRContext * | context | ) |
|
overridevirtual |
Parse a type registered to this dialect.
Reimplemented from mlir::Dialect.
|
overridevirtual |
Print a type registered to this dialect.
Reimplemented from mlir::Dialect.