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

Public Member Functions

 BuiltinOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 BuiltinOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 BuiltinOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = BuiltinOp, typename = std::enable_if_t<std::is_same_v<LateInst, BuiltinOp>>>
 BuiltinOpGenericAdaptor (RangeT values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
RangeT getODSOperands (unsigned index)
 
RangeT getArgs ()
 
RangeT getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttkernel::detail::BuiltinOpGenericAdaptorBase
 BuiltinOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 BuiltinOpGenericAdaptorBase (BuiltinOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::FlatSymbolRefAttr getOpAttr ()
 
::llvm::StringRef getOp ()
 
::mlir::FlatSymbolRefAttr getKindAttr ()
 
::llvm::StringRef getKind ()
 

Private Types

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

Private Attributes

RangeT odsOperands
 

Additional Inherited Members

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

Member Typedef Documentation

◆ Base

template<typename RangeT >
using mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::Base = detail::BuiltinOpGenericAdaptorBase
private

◆ ValueT

template<typename RangeT >
using mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::ValueT = ::llvm::detail::ValueOfRange<RangeT>
private

Constructor & Destructor Documentation

◆ BuiltinOpGenericAdaptor() [1/4]

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

◆ BuiltinOpGenericAdaptor() [2/4]

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

◆ BuiltinOpGenericAdaptor() [3/4]

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

◆ BuiltinOpGenericAdaptor() [4/4]

template<typename RangeT >
template<typename LateInst = BuiltinOp, typename = std::enable_if_t<std::is_same_v<LateInst, BuiltinOp>>>
mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::BuiltinOpGenericAdaptor ( RangeT  values,
LateInst  op 
)
inline

Member Function Documentation

◆ getArgs()

template<typename RangeT >
RangeT mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::getArgs ( )
inline

◆ getODSOperandIndexAndLength()

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

◆ getODSOperands()

template<typename RangeT >
RangeT mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::getODSOperands ( unsigned  index)
inline

◆ getOperands()

template<typename RangeT >
RangeT mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::getOperands ( )
inline

Member Data Documentation

◆ odsOperands

template<typename RangeT >
RangeT mlir::tt::ttkernel::BuiltinOpGenericAdaptor< RangeT >::odsOperands
private

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