MLIR 22.0.0git
mlir::arm_sme::ArmSMETileOpInterface Class Reference

#include "mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h"

Inheritance diagram for mlir::arm_sme::ArmSMETileOpInterface:

Classes

struct  Trait

Public Member Functions

void setTileId (mlir::IntegerAttr tileId)
 Sets the tile ID for this operation.
mlir::IntegerAttr getTileId ()
 Returns the tile ID assigned to this operation.
VectorType getTileType ()
 Returns the VectorType of the tile used by this operation.
bool isInMemoryTile ()
Public Member Functions inherited from mlir::detail::Interface< ArmSMETileOpInterface, Operation *, detail::ArmSMETileOpInterfaceInterfaceTraits, Op< ArmSMETileOpInterface >, OpTrait::TraitBase >
 Interface (Operation *t=Operation *())
 Construct an interface from an instance of the value type.
Public Member Functions inherited from mlir::Op< ArmSMETileOpInterface >
OperationgetOperation ()
 Inherit getOperation from OpState.
LogicalResult verify ()
 If the concrete type didn't implement a custom verifier hook, just fall back to this one which accepts everything.
LogicalResult verifyRegions ()
ArmSMETileOpInterface clone ()
 Create a deep copy of this operation.
ArmSMETileOpInterface cloneWithoutRegions ()
 Create a partial copy of this operation without traversing into attached regions.
 Op ()
 This is a public constructor. Any op can be initialized to null.
const voidgetAsOpaquePointer () const
 Methods for supporting PointerLikeTypeTraits.
InferredProperties< T > & getProperties ()
Public Member Functions inherited from mlir::OpState
 operator bool ()
 Ops are pointer-like, so we allow conversion to bool.
 operator Operation * () const
 This implicitly converts to Operation*.
Operationoperator-> () const
 Shortcut of -> to access a member of Operation.
OperationgetOperation ()
 Return the operation that this refers to.
MLIRContextgetContext ()
 Return the context this operation belongs to.
void print (raw_ostream &os, OpPrintingFlags flags={})
 Print the operation to the given stream.
void print (raw_ostream &os, AsmState &asmState)
void dump ()
 Dump this operation.
Location getLoc ()
 The source location the operation was defined or derived from.
bool use_empty ()
 Return true if there are no users of any results of this operation.
void erase ()
 Remove this operation from its parent block and delete it.
InFlightDiagnostic emitOpError (const Twine &message={})
 Emit an error with the op name prefixed, like "'dim' op " which is convenient for verifiers.
InFlightDiagnostic emitError (const Twine &message={})
 Emit an error about fatal conditions with this operation, reporting up to any diagnostic handlers that may be listening.
InFlightDiagnostic emitWarning (const Twine &message={})
 Emit a warning about this operation, reporting up to any diagnostic handlers that may be listening.
InFlightDiagnostic emitRemark (const Twine &message={})
 Emit a remark about this operation, reporting up to any diagnostic handlers that may be listening.
template<WalkOrder Order = WalkOrder::PostOrder, typename Iterator = ForwardIterator, typename FnT, typename RetT = detail::walkResultType<FnT>>
std::enable_if_t< llvm::function_traits< std::decay_t< FnT > >::num_args==1, RetT > walk (FnT &&callback)
 Walk the operation by calling the callback for each nested operation (including this one), block or region, depending on the callback provided.
template<typename FnT, typename RetT = detail::walkResultType<FnT>>
std::enable_if_t< llvm::function_traits< std::decay_t< FnT > >::num_args==2, RetT > walk (FnT &&callback)
 Generic walker with a stage aware callback.

Additional Inherited Members

Public Types inherited from mlir::OpInterface< ArmSMETileOpInterface, detail::ArmSMETileOpInterfaceInterfaceTraits >
using Base
using InterfaceBase
Public Types inherited from mlir::detail::Interface< ArmSMETileOpInterface, Operation *, detail::ArmSMETileOpInterfaceInterfaceTraits, Op< ArmSMETileOpInterface >, OpTrait::TraitBase >
using Concept
using Model
using FallbackModel
using InterfaceBase
using ExternalModel
using ValueType
Public Types inherited from mlir::Op< ArmSMETileOpInterface >
using ConcreteOpType
 Expose the type we are instantiated on to template machinery that may want to introspect traits on this operation.
using InferredProperties
Static Public Member Functions inherited from mlir::detail::Interface< ArmSMETileOpInterface, Operation *, detail::ArmSMETileOpInterfaceInterfaceTraits, Op< ArmSMETileOpInterface >, OpTrait::TraitBase >
static bool classof (Operation *t)
 Support 'classof' by checking if the given object defines the concrete interface.
static TypeID getInterfaceID ()
 Define an accessor for the ID of this interface.
Static Public Member Functions inherited from mlir::Op< ArmSMETileOpInterface >
static constexpr bool hasTrait ()
 Return if this operation contains the provided trait.
static bool classof (Operation *op)
 Return true if this "op class" can match against the specified operation.
static ConcreteOpType getFromOpaquePointer (const void *pointer)
static void attachInterface (MLIRContext &context)
 Attach the given models as implementations of the corresponding interfaces for the concrete operation.
static LogicalResult setPropertiesFromAttr (PropertiesTy &prop, Attribute attr, function_ref< InFlightDiagnostic()> emitError)
 Convert the provided attribute to a property and assigned it to the provided properties.
static Attribute getPropertiesAsAttr (MLIRContext *ctx, const PropertiesTy &prop)
 Convert the provided properties to an attribute.
static llvm::hash_code computePropertiesHash (const PropertiesTy &prop)
 Hash the provided properties.
static constexpr bool hasProperties ()
 Returns true if this operation defines a Properties inner type.
static void populateDefaultProperties (OperationName opName, InferredProperties< T > &properties)
 This hook populates any unset default attrs when mapped to properties.
static void printProperties (MLIRContext *ctx, OpAsmPrinter &p, const T &properties, ArrayRef< StringRef > elidedProps={})
 Print the operation properties with names not included within 'elidedProps'.
static ParseResult parseProperties (OpAsmParser &parser, OperationState &result)
 Parses 'prop-dict' for the operation.
Static Public Member Functions inherited from mlir::OpState
static void getCanonicalizationPatterns (RewritePatternSet &results, MLIRContext *context)
 This hook returns any canonicalization pattern rewrites that the operation supports, for use by the canonicalization pass.
static void populateDefaultAttrs (const OperationName &, NamedAttrList &)
 This hook populates any unset default attrs.
Protected Member Functions inherited from mlir::detail::Interface< ArmSMETileOpInterface, Operation *, detail::ArmSMETileOpInterfaceInterfaceTraits, Op< ArmSMETileOpInterface >, OpTrait::TraitBase >
const ConceptgetImpl () const
 Get the raw concept in the correct derived concept type.
Protected Member Functions inherited from mlir::OpState
LogicalResult verify ()
 If the concrete type didn't implement a custom verifier hook, just fall back to this one which accepts everything.
LogicalResult verifyRegions ()
 OpState (Operation *state)
 Mutability management is handled by the OpWrapper/OpConstWrapper classes, so we can cast it away here.
Static Protected Member Functions inherited from mlir::OpInterface< ArmSMETileOpInterface, detail::ArmSMETileOpInterfaceInterfaceTraits >
static InterfaceBase::ConceptgetInterfaceFor (Operation *op)
 Returns the impl interface instance for the given operation.
Static Protected Member Functions inherited from mlir::OpState
static ParseResult parse (OpAsmParser &parser, OperationState &result)
 Parse the custom form of an operation.
static void print (Operation *op, OpAsmPrinter &p, StringRef defaultDialect)
 Print the operation.
static ParseResult genericParseProperties (OpAsmParser &parser, Attribute &result)
 Parse properties as a Attribute.
static void genericPrintProperties (OpAsmPrinter &p, Attribute properties, ArrayRef< StringRef > elidedProps={})
 Print the properties as a Attribute with names not included within 'elidedProps'.
static void printOpName (Operation *op, OpAsmPrinter &p, StringRef defaultDialect)
 Print an operation name, eliding the dialect prefix if necessary.
static EmptyPropertiesgetEmptyProperties ()
 For all op which don't have properties, we keep a single instance of EmptyProperties to be used where a reference to a properties is needed: this allow to bind a pointer to the reference without triggering UB.

Detailed Description

Definition at line 75 of file ArmSMEOpInterfaces.h.

Member Function Documentation

◆ getTileId()

mlir::IntegerAttr mlir::arm_sme::ArmSMETileOpInterface::getTileId ( )

Returns the tile ID assigned to this operation.

This will be null before tile allocation.

◆ getTileType()

VectorType mlir::arm_sme::ArmSMETileOpInterface::getTileType ( )

Returns the VectorType of the tile used by this operation.

◆ isInMemoryTile()

bool mlir::arm_sme::ArmSMETileOpInterface::isInMemoryTile ( )
inline

Definition at line 91 of file ArmSMEOpInterfaces.h.

◆ setTileId()

void mlir::arm_sme::ArmSMETileOpInterface::setTileId ( mlir::IntegerAttr tileId)

Sets the tile ID for this operation.


The documentation for this class was generated from the following file: