TT-MLIR
Public Member Functions | List of all members
mlir::tt::ttir::ConstantOpAdaptor Class Reference
Inheritance diagram for mlir::tt::ttir::ConstantOpAdaptor:
mlir::tt::ttir::ConstantOpGenericAdaptor<::mlir::ValueRange > mlir::tt::ttir::detail::ConstantOpGenericAdaptorBase

Public Member Functions

 ConstantOpAdaptor (ConstantOp op)
 
::llvm::LogicalResult verify (::mlir::Location loc)
 
 ConstantOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ConstantOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ConstantOpGenericAdaptor (RangeT values, ::mlir::DictionaryAttr attrs=nullptr)
 
template<typename LateInst = ConstantOp, typename = std::enable_if_t<std::is_same_v<LateInst, ConstantOp>>>
 ConstantOpGenericAdaptor (RangeT values, LateInst op)
 
- Public Member Functions inherited from mlir::tt::ttir::ConstantOpGenericAdaptor<::mlir::ValueRange >
 ConstantOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ConstantOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions={})
 
 ConstantOpGenericAdaptor (::mlir::ValueRange values, ::mlir::DictionaryAttr attrs=nullptr)
 
 ConstantOpGenericAdaptor (::mlir::ValueRange values, LateInst op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::ValueRange getODSOperands (unsigned index)
 
::mlir::ValueRange getOperands ()
 
- Public Member Functions inherited from mlir::tt::ttir::detail::ConstantOpGenericAdaptorBase
 ConstantOpGenericAdaptorBase (::mlir::DictionaryAttr attrs, const Properties &properties, ::mlir::RegionRange regions={})
 
 ConstantOpGenericAdaptorBase (ConstantOp op)
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index, unsigned odsOperandsSize)
 
const PropertiesgetProperties ()
 
::mlir::DictionaryAttr getAttributes ()
 
::mlir::ElementsAttr getValueAttr ()
 
::mlir::ElementsAttr getValue ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ConstantOpAdaptor()

mlir::tt::ttir::ConstantOpAdaptor::ConstantOpAdaptor ( ConstantOp  op)

Member Function Documentation

◆ ConstantOpGenericAdaptor() [1/4]

◆ ConstantOpGenericAdaptor() [2/4]

◆ ConstantOpGenericAdaptor() [3/4]

◆ ConstantOpGenericAdaptor() [4/4]

template<typename LateInst = ConstantOp, typename = std::enable_if_t<std::is_same_v<LateInst, ConstantOp>>>
mlir::tt::ttir::ConstantOpGenericAdaptor< RangeT >::ConstantOpGenericAdaptor ( typename LateInst  = ConstantOp,
typename  = std::enable_if_t<std::is_same_v<LateInst, ConstantOp>> 
)
inline

◆ verify()

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

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