TT-MLIR
|
Public Types | |
using | Adaptor = AllocOpAdaptor |
template<typename RangeT > | |
using | GenericAdaptor = AllocOpGenericAdaptor< RangeT > |
using | FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > |
using | Properties = FoldAdaptor::Properties |
Public Member Functions | |
static ::llvm::ArrayRef<::llvm::StringRef > | getAttributeNames () |
::mlir::StringAttr | getAddressAttrName () |
::mlir::StringAttr | getMemorySpaceAttrName () |
::mlir::StringAttr | getSizeAttrName () |
std::pair< unsigned, unsigned > | getODSOperandIndexAndLength (unsigned index) |
::mlir::Operation::operand_range | getODSOperands (unsigned index) |
std::pair< unsigned, unsigned > | getODSResultIndexAndLength (unsigned index) |
::mlir::Operation::result_range | getODSResults (unsigned index) |
::mlir::TypedValue<::mlir::RankedTensorType > | getResult () |
void | writeProperties (::mlir::DialectBytecodeWriter &writer) |
::mlir::IntegerAttr | getAddressAttr () |
uint64_t | getAddress () |
::mlir::IntegerAttr | getSizeAttr () |
uint64_t | getSize () |
::mlir::tt::MemorySpaceAttr | getMemorySpaceAttr () |
::mlir::tt::MemorySpace | getMemorySpace () |
void | setAddressAttr (::mlir::IntegerAttr attr) |
void | setAddress (uint64_t attrValue) |
void | setSizeAttr (::mlir::IntegerAttr attr) |
void | setSize (uint64_t attrValue) |
void | setMemorySpaceAttr (::mlir::tt::MemorySpaceAttr attr) |
void | setMemorySpace (::mlir::tt::MemorySpace attrValue) |
::llvm::LogicalResult | verifyInvariantsImpl () |
::llvm::LogicalResult | verifyInvariants () |
::llvm::LogicalResult | verify () |
Static Public Member Functions | |
::mlir::StringAttr | getAddressAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getMemorySpaceAttrName (::mlir::OperationName name) |
::mlir::StringAttr | getSizeAttrName (::mlir::OperationName name) |
static constexpr ::llvm::StringLiteral | getOperationName () |
::llvm::LogicalResult | setPropertiesFromAttr (Properties &prop, ::mlir::Attribute attr, ::llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
::mlir::Attribute | getPropertiesAsAttr (::mlir::MLIRContext *ctx, const Properties &prop) |
static llvm::hash_code | computePropertiesHash (const Properties &prop) |
static std::optional< mlir::Attribute > | getInherentAttr (::mlir::MLIRContext *ctx, const Properties &prop, llvm::StringRef name) |
static void | setInherentAttr (Properties &prop, llvm::StringRef name, mlir::Attribute value) |
static void | populateInherentAttrs (::mlir::MLIRContext *ctx, const Properties &prop, ::mlir::NamedAttrList &attrs) |
::llvm::LogicalResult | verifyInherentAttrs (::mlir::OperationName opName, ::mlir::NamedAttrList &attrs, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError) |
::llvm::LogicalResult | readProperties (::mlir::DialectBytecodeReader &reader, ::mlir::OperationState &state) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, ::mlir::IntegerAttr address, ::mlir::IntegerAttr size, ::mlir::tt::MemorySpaceAttr memory_space) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::IntegerAttr address, ::mlir::IntegerAttr size, ::mlir::tt::MemorySpaceAttr memory_space) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type result, uint64_t address, uint64_t size, ::mlir::tt::MemorySpace memory_space) |
static void | build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, uint64_t address, uint64_t size, ::mlir::tt::MemorySpace memory_space) |
static void | build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={}) |
Private Member Functions | |
::mlir::StringAttr | getAttributeNameForIndex (unsigned index) |
Static Private Member Functions | |
::mlir::StringAttr | getAttributeNameForIndex (::mlir::OperationName name, unsigned index) |
using mlir::tt::ttmetal::AllocOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> > |
using mlir::tt::ttmetal::AllocOp::GenericAdaptor = AllocOpGenericAdaptor<RangeT> |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
uint64_t mlir::tt::ttmetal::AllocOp::getAddress | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestaticprivate |
|
inlineprivate |
|
inline |
|
static |
mlir::tt::MemorySpace mlir::tt::ttmetal::AllocOp::getMemorySpace | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
inline |
uint64_t mlir::tt::ttmetal::AllocOp::getSize | ( | ) |
|
inline |
|
inline |
|
inlinestatic |
|
static |
|
static |
void mlir::tt::ttmetal::AllocOp::setAddress | ( | uint64_t | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttmetal::AllocOp::setMemorySpace | ( | ::mlir::tt::MemorySpace | attrValue | ) |
|
inline |
|
static |
void mlir::tt::ttmetal::AllocOp::setSize | ( | uint64_t | attrValue | ) |
|
inline |
::llvm::LogicalResult mlir::tt::ttmetal::AllocOp::verify | ( | ) |
|
static |
llvm::LogicalResult mlir::tt::ttmetal::AllocOp::verifyInvariants | ( | ) |
llvm::LogicalResult mlir::tt::ttmetal::AllocOp::verifyInvariantsImpl | ( | ) |
void mlir::tt::ttmetal::AllocOp::writeProperties | ( | ::mlir::DialectBytecodeWriter & | writer | ) |