My Project
|
Dialect for Ops on higher-dimensional vector types. More...
#include <VectorOps.h>
Public Member Functions | |
VectorOpsDialect (MLIRContext *context) | |
Operation * | materializeConstant (OpBuilder &builder, Attribute value, Type type, Location loc) override |
![]() | |
virtual | ~Dialect () |
MLIRContext * | getContext () const |
StringRef | getNamespace () const |
bool | allowsUnknownOperations () const |
bool | allowsUnknownTypes () const |
virtual Attribute | parseAttribute (DialectAsmParser &parser, Type type) const |
Parse an attribute registered to this dialect. More... | |
virtual void | printAttribute (Attribute, DialectAsmPrinter &) const |
virtual Type | parseType (DialectAsmParser &parser) const |
Parse a type registered to this dialect. More... | |
virtual void | printType (Type, DialectAsmPrinter &) const |
Print a type registered to this dialect. More... | |
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 () |
Static Public Member Functions | |
static StringRef | getDialectNamespace () |
![]() | |
static bool | isValidNamespace (StringRef str) |
Additional Inherited Members | |
![]() | |
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 () |
Dialect for Ops on higher-dimensional vector types.
VectorOpsDialect::VectorOpsDialect | ( | MLIRContext * | context | ) |
|
inlinestatic |
|
overridevirtual |
Materialize a single constant operation from a given attribute value with the desired resultant type.
Reimplemented from mlir::Dialect.