TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttir::ClampOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttir::ClampOpAdaptor:
mlir::tt::ttir::ClampOpGenericAdaptor<::mlir::ValueRange > mlir::tt::ttir::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::ttir::ClampOpGenericAdaptor<::mlir::ValueRange >
 ClampOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ClampOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 ClampOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::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 ()
 
::mlir::ArrayAttr getOperandConstraintsAttr ()
 
::mlir::ArrayAttr getOperandConstraints ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ClampOpAdaptor()

mlir::tt::ttir::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::ttir::ClampOpGenericAdaptor< RangeT >::ClampOpGenericAdaptor ( typename LateInst  = ClampOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ClampOp>> 
)
inline

◆ verify()

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

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