TT-MLIR
Public Member Functions | Private Types | Private Attributes | List of all members
mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT > Class Template Reference
Inheritance diagram for mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >:
mlir::tt::ttir::detail::PermuteOpGenericAdaptorBase

Public Member Functions

 PermuteOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 PermuteOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 PermuteOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = PermuteOp, typename = std::enable_if_t<std::is_same_v<LateInst, PermuteOp>>>
 PermuteOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
ValueT getInput ()
 
ValueT getOutput ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::PermuteOpGenericAdaptorBase
 PermuteOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 PermuteOpGenericAdaptorBase (PermuteOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::DenseI64ArrayAttr getPermutationAttr ()
 
::llvm::ArrayRef< int64_t > getPermutation ()
 

Private Types

using ValueT = ::llvm::detail::ValueOfRange< RangeT >
 
using Base = detail::PermuteOpGenericAdaptorBase
 

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::Base = detail::PermuteOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ PermuteOpGenericAdaptor() [1/4]

template<typename RangeT >
mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::PermuteOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
const Properties properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ PermuteOpGenericAdaptor() [2/4]

template<typename RangeT >
mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::PermuteOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions = {} 
)
inline

◆ PermuteOpGenericAdaptor() [3/4]

template<typename RangeT >
mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::PermuteOpGenericAdaptor ( RangeT  values,
::mlir::DictionaryAttr  attrs = nullptr 
)
inline

◆ PermuteOpGenericAdaptor() [4/4]

template<typename RangeT >
template<typename LateInst = PermuteOp, typename = std::enable_if_t<std::is_same_v<LateInst, PermuteOp>>>
mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::PermuteOpGenericAdaptor ( RangeT  values,
LateInst  op 
)
inline

Member Function Documentation

◆ getInput()

template<typename RangeT >
ValueT mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::getInput ( )
inline

◆ getODSOperandIndexAndLength()

template<typename RangeT >
std::pair<unsigned, unsigned> mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::getOperands ( )
inline

◆ getOutput()

template<typename RangeT >
ValueT mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::getOutput ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttir::PermuteOpGenericAdaptor< RangeT >::odsOperands
private

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