MLIR  19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::OpTrait::OneOperand< ConcreteType > Class Template Reference

This class provides the API for ops that are known to have exactly one SSA operand. More...

#include "mlir/IR/OpDefinition.h"

+ Inheritance diagram for mlir::OpTrait::OneOperand< ConcreteType >:

Public Member Functions

Value getOperand ()
 
void setOperand (Value value)
 

Static Public Member Functions

static LogicalResult verifyTrait (Operation *op)
 

Additional Inherited Members

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

Detailed Description

template<typename ConcreteType>
class mlir::OpTrait::OneOperand< ConcreteType >

This class provides the API for ops that are known to have exactly one SSA operand.

Definition at line 456 of file OpDefinition.h.

Member Function Documentation

◆ getOperand()

template<typename ConcreteType >
Value mlir::OpTrait::OneOperand< ConcreteType >::getOperand ( )
inline

◆ setOperand()

template<typename ConcreteType >
void mlir::OpTrait::OneOperand< ConcreteType >::setOperand ( Value  value)
inline

◆ verifyTrait()

template<typename ConcreteType >
static LogicalResult mlir::OpTrait::OneOperand< ConcreteType >::verifyTrait ( Operation op)
inlinestatic

Definition at line 462 of file OpDefinition.h.


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