MLIR  20.0.0git
Functions
mlir::dlti Namespace Reference

Functions

FailureOr< Attributequery (Operation *op, ArrayRef< DataLayoutEntryKey > keys, bool emitError=false)
 Perform a DLTI-query at op, recursively querying each key of keys on query interface-implementing attrs, starting from attr obtained from op. More...
 
void registerTransformDialectExtension (DialectRegistry &registry)
 

Function Documentation

◆ query()

FailureOr< Attribute > mlir::dlti::query ( Operation op,
ArrayRef< DataLayoutEntryKey keys,
bool  emitError = false 
)

Perform a DLTI-query at op, recursively querying each key of keys on query interface-implementing attrs, starting from attr obtained from op.

Definition at line 510 of file DLTI.cpp.

References diag(), mlir::Operation::emitError(), mlir::emitError(), mlir::detail::enumerate(), getClosestQueryable(), mlir::Operation::getLoc(), and keyToStr().

Referenced by mlir::query::InvalidQuery::classof(), mlir::query::NoOpQuery::classof(), mlir::query::HelpQuery::classof(), mlir::query::QuitQuery::classof(), and mlir::query::MatchQuery::classof().

◆ registerTransformDialectExtension()

void mlir::dlti::registerTransformDialectExtension ( DialectRegistry registry)

Definition at line 82 of file DLTITransformOps.cpp.

References mlir::DialectRegistry::addExtensions().

Referenced by mlir::registerAllExtensions().