|
MLIR 24.0.0git
|
Namespaces | |
| namespace | detail |
Functions | |
| FailureOr< Attribute > | query (Operation *op, ArrayRef< DataLayoutEntryKey > keys, bool emitError=false) |
| Query the first key at op or the nearest ancestor that can answer it. | |
| FailureOr< Attribute > | query (Operation *op, ArrayRef< StringRef > keys, bool emitError=false) |
| As above, using each string in keys as a DLTI entry key. | |
| void | registerTransformDialectExtension (DialectRegistry ®istry) |
| FailureOr< Attribute > mlir::dlti::query | ( | Operation * | op, |
| ArrayRef< DataLayoutEntryKey > | keys, | ||
| bool | emitError = false ) |
Query the first key at op or the nearest ancestor that can answer it.
Query later keys recursively on the returned attributes, without searching operation ancestors again.
Definition at line 580 of file DLTI.cpp.
References mlir::emitError(), mlir::Operation::emitError(), mlir::Operation::getLoc(), mlir::Operation::getParentOp(), keyToStr(), and result.
Referenced by mlir::mpi::FoldToDLTIConst(), and query().
| FailureOr< Attribute > mlir::dlti::query | ( | Operation * | op, |
| ArrayRef< StringRef > | keys, | ||
| bool | emitError = false ) |
As above, using each string in keys as a DLTI entry key.
Definition at line 649 of file DLTI.cpp.
References mlir::emitError(), mlir::Operation::getContext(), and query().
| void mlir::dlti::registerTransformDialectExtension | ( | DialectRegistry & | registry | ) |
Definition at line 82 of file DLTITransformOps.cpp.
References mlir::DialectRegistry::addExtensions().
Referenced by mlir::registerAllExtensions().