MLIR 22.0.0git
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.

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 462 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>
LogicalResult mlir::OpTrait::OneOperand< ConcreteType >::verifyTrait ( Operation * op)
inlinestatic

Definition at line 468 of file OpDefinition.h.

References mlir::OpTrait::impl::verifyOneOperand().


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