MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::transform::AtMostOneOpMatcherOpTrait< OpTy > Class Template Reference

#include "mlir/Dialect/Transform/Interfaces/MatchInterfaces.h"

+ Inheritance diagram for mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >:

Public Member Functions

DiagnosedSilenceableFailure apply (TransformRewriter &rewriter, TransformResults &results, TransformState &state)
 
void getEffects (SmallVectorImpl< MemoryEffects::EffectInstance > &effects)
 

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

- Protected Member Functions inherited from mlir::OpTrait::TraitBase< OpTy, AtMostOneOpMatcherOpTrait >
OperationgetOperation ()
 Return the ultimate Operation being worked on. More...
 

Detailed Description

template<typename OpTy>
class mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >

Definition at line 42 of file MatchInterfaces.h.

Member Function Documentation

◆ apply()

template<typename OpTy >
DiagnosedSilenceableFailure mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >::apply ( TransformRewriter rewriter,
TransformResults results,
TransformState state 
)
inline

Definition at line 86 of file MatchInterfaces.h.

◆ getEffects()

template<typename OpTy >
void mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >::getEffects ( SmallVectorImpl< MemoryEffects::EffectInstance > &  effects)
inline

◆ verifyTrait()

template<typename OpTy >
static LogicalResult mlir::transform::AtMostOneOpMatcherOpTrait< OpTy >::verifyTrait ( Operation op)
inlinestatic

Definition at line 59 of file MatchInterfaces.h.

References mlir::Operation::emitError(), and mlir::Value::getType().


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