MLIR  20.0.0git
Classes | Namespaces | Functions
MatchInterfaces.h File Reference
#include <optional>
#include <type_traits>
#include "mlir/Dialect/Transform/Interfaces/TransformInterfaces.h"
#include "mlir/IR/OpDefinition.h"
#include "llvm/ADT/STLExtras.h"
#include "mlir/Dialect/Transform/Interfaces/MatchInterfaces.h.inc"

Go to the source code of this file.

Classes

class  mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >
 
class  mlir::transform::SingleOpMatcherOpTrait< OpTy >
 
class  mlir::transform::SingleValueMatcherOpTrait< OpTy >
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::transform
 
 mlir::transform::detail
 

Functions

template<typename OpTy >
DiagnosedSilenceableFailure mlir::transform::detail::matchOptionalOperation (OpTy op, TransformResults &results, TransformState &state)
 Dispatch matchOperation based on Operation* or std::optional<Operation*> first operand. More...
 
ParseResult mlir::transform::parseTransformMatchDims (OpAsmParser &parser, DenseI64ArrayAttr &rawDimList, UnitAttr &isInverted, UnitAttr &isAll)
 Parses a positional index specification for transform match operations. More...
 
void mlir::transform::printTransformMatchDims (OpAsmPrinter &printer, Operation *op, DenseI64ArrayAttr rawDimList, UnitAttr isInverted, UnitAttr isAll)
 Prints a positional index specification for transform match operations. More...
 
LogicalResult mlir::transform::verifyTransformMatchDimsOp (Operation *op, ArrayRef< int64_t > raw, bool inverted, bool all)
 Checks if the positional specification defined is valid and reports errors otherwise. More...
 
DiagnosedSilenceableFailure mlir::transform::expandTargetSpecification (Location loc, bool isAll, bool isInverted, ArrayRef< int64_t > rawList, int64_t maxNumber, SmallVectorImpl< int64_t > &result)
 Populates result with the positional identifiers relative to maxNumber. More...