|
MLIR
22.0.0git
|
Functions | |
| FailureOr< Attribute > | 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. More... | |
| FailureOr< Attribute > | query (Operation *op, ArrayRef< StringRef > keys, bool emitError=false) |
Perform a DLTI-query at op using each string in keys as a separate DLTI entry key, recursively querying on query interface-implementing attrs, starting from attr obtained from op. More... | |
| void | registerTransformDialectExtension (DialectRegistry ®istry) |
| 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 537 of file DLTI.cpp.
References diag(), mlir::Operation::emitError(), mlir::emitError(), mlir::detail::enumerate(), mlir::remark::failed(), getClosestQueryable(), mlir::Operation::getLoc(), and keyToStr().
Referenced by mlir::query::InvalidQuery::classof(), mlir::query::NoOpQuery::classof(), mlir::query::HelpQuery::classof(), mlir::query::QuitQuery::classof(), mlir::query::MatchQuery::classof(), and query().
| FailureOr< Attribute > mlir::dlti::query | ( | Operation * | op, |
| ArrayRef< StringRef > | keys, | ||
| bool | emitError = false |
||
| ) |
Perform a DLTI-query at op using each string in keys as a separate DLTI entry key, recursively querying on query interface-implementing attrs, starting from attr obtained from op.
Definition at line 595 of file DLTI.cpp.
References mlir::emitError(), mlir::get(), mlir::Operation::getContext(), and query().
| void mlir::dlti::registerTransformDialectExtension | ( | DialectRegistry & | registry | ) |
Definition at line 82 of file DLTITransformOps.cpp.
References mlir::DialectRegistry::addExtensions().