TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttnn::ClampOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttnn::ClampOpAdaptor:
mlir::tt::ttnn::ClampOpGenericAdaptor< RangeT > mlir::tt::ttnn::detail::ClampOpGenericAdaptorBase

Public Member Functions

 ClampOpAdaptor (ClampOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ClampOp, typename = std::enable_if_t<std::is_same_v<LateInst, ClampOp>>>
 ClampOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttnn::ClampOpGenericAdaptor< RangeT >
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ClampOp, typename = std::enable_if_t<std::is_same_v<LateInst, ClampOp>>>
 ClampOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
RangeT getInputs ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttnn::detail::ClampOpGenericAdaptorBase
 ClampOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptorBase (ClampOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::FloatAttr getMinAttr ()
 
::llvm::APFloat getMin ()
 
::mlir::FloatAttr getMaxAttr ()
 
::llvm::APFloat getMax ()
 

Additional Inherited Members

- Protected Attributes inherited from mlir::tt::ttnn::detail::ClampOpGenericAdaptorBase
::mlir::DictionaryAttr odsAttrs
 
::std::optional<::mlir::OperationName > odsOpName
 
Properties properties
 
::mlir::RegionRange odsRegions
 

Constructor & Destructor Documentation

◆ ClampOpAdaptor()

mlir::tt::ttnn::ClampOpAdaptor::ClampOpAdaptor ( ClampOp  op)

Member Function Documentation

◆ ClampOpGenericAdaptor() [1/4]

◆ ClampOpGenericAdaptor() [2/4]

◆ ClampOpGenericAdaptor() [3/4]

◆ ClampOpGenericAdaptor() [4/4]

template<typename LateInst = ClampOp, typename = std::enable_if_t<std::is_same_v<LateInst, ClampOp>>>
mlir::tt::ttnn::ClampOpGenericAdaptor< RangeT >::ClampOpGenericAdaptor ( typename LateInst  = ClampOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ClampOp>> 
)
inline

◆ verify()

llvm::LogicalResult mlir::tt::ttnn::ClampOpAdaptor::verify ( ::mlir::Location  loc)

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