TT-MLIR
Public Types | Public Member Functions | Static Public Member Functions | List of all members
mlir::tt::ttkernel::CastToL1PtrOp Class Reference
Inheritance diagram for mlir::tt::ttkernel::CastToL1PtrOp:

Public Types

using Adaptor = CastToL1PtrOpAdaptor
 
template<typename RangeT >
using GenericAdaptor = CastToL1PtrOpGenericAdaptor< RangeT >
 
using FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > >
 
using Properties = FoldAdaptor::Properties
 

Public Member Functions

static ::llvm::ArrayRef<::llvm::StringRef > getAttributeNames ()
 
std::pair< unsigned, unsigned > getODSOperandIndexAndLength (unsigned index)
 
::mlir::Operation::operand_range getODSOperands (unsigned index)
 
::mlir::TypedValue<::mlir::Type > getAddr ()
 
::mlir::OpOperand & getAddrMutable ()
 
std::pair< unsigned, unsigned > getODSResultIndexAndLength (unsigned index)
 
::mlir::Operation::result_range getODSResults (unsigned index)
 
::mlir::TypedValue<::mlir::tt::ttkernel::L1AddrPtrTypegetL1Ptr ()
 
::llvm::LogicalResult verifyInvariantsImpl ()
 
::llvm::LogicalResult verifyInvariants ()
 

Static Public Member Functions

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)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Type l1_ptr, ::mlir::Value addr)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::Value addr)
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::Value addr)
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, ::llvm::ArrayRef<::mlir::NamedAttribute > attributes={})
 
static void build (::mlir::OpBuilder &, ::mlir::OperationState &odsState, ::mlir::TypeRange resultTypes, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
 
static void build (::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::ValueRange operands, const Properties &properties, ::llvm::ArrayRef<::mlir::NamedAttribute > discardableAttributes={})
 
::llvm::LogicalResult inferReturnTypes (::mlir::MLIRContext *context, ::std::optional<::mlir::Location > location, ::mlir::ValueRange operands, ::mlir::DictionaryAttr attributes, ::mlir::OpaqueProperties properties, ::mlir::RegionRange regions, ::llvm::SmallVectorImpl<::mlir::Type > &inferredReturnTypes)
 

Member Typedef Documentation

◆ Adaptor

◆ FoldAdaptor

using mlir::tt::ttkernel::CastToL1PtrOp::FoldAdaptor = GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute> >

◆ GenericAdaptor

◆ Properties

Member Function Documentation

◆ build() [1/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
::llvm::ArrayRef<::mlir::NamedAttribute >  attributes = {} 
)
static

◆ build() [2/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  ,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::ValueRange  operands,
const Properties properties,
::llvm::ArrayRef<::mlir::NamedAttribute >  discardableAttributes = {} 
)
static

◆ build() [3/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Type  l1_ptr,
::mlir::Value  addr 
)
static

◆ build() [4/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::TypeRange  resultTypes,
::mlir::Value  addr 
)
static

◆ build() [5/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::Value  addr 
)
static

◆ build() [6/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::ValueRange  operands,
::llvm::ArrayRef<::mlir::NamedAttribute >  attributes = {} 
)
static

◆ build() [7/7]

void mlir::tt::ttkernel::CastToL1PtrOp::build ( ::mlir::OpBuilder &  odsBuilder,
::mlir::OperationState &  odsState,
::mlir::ValueRange  operands,
const Properties properties,
::llvm::ArrayRef<::mlir::NamedAttribute >  discardableAttributes = {} 
)
static

◆ computePropertiesHash()

llvm::hash_code mlir::tt::ttkernel::CastToL1PtrOp::computePropertiesHash ( const Properties prop)
static

◆ getAddr()

::mlir::TypedValue<::mlir::Type> mlir::tt::ttkernel::CastToL1PtrOp::getAddr ( )
inline

◆ getAddrMutable()

::mlir::OpOperand& mlir::tt::ttkernel::CastToL1PtrOp::getAddrMutable ( )
inline

◆ getAttributeNames()

static ::llvm::ArrayRef<::llvm::StringRef> mlir::tt::ttkernel::CastToL1PtrOp::getAttributeNames ( )
inline

◆ getInherentAttr()

std::optional< mlir::Attribute > mlir::tt::ttkernel::CastToL1PtrOp::getInherentAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop,
llvm::StringRef  name 
)
static

◆ getL1Ptr()

::mlir::TypedValue<::mlir::tt::ttkernel::L1AddrPtrType> mlir::tt::ttkernel::CastToL1PtrOp::getL1Ptr ( )
inline

◆ getODSOperandIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttkernel::CastToL1PtrOp::getODSOperandIndexAndLength ( unsigned  index)
inline

◆ getODSOperands()

::mlir::Operation::operand_range mlir::tt::ttkernel::CastToL1PtrOp::getODSOperands ( unsigned  index)
inline

◆ getODSResultIndexAndLength()

std::pair<unsigned, unsigned> mlir::tt::ttkernel::CastToL1PtrOp::getODSResultIndexAndLength ( unsigned  index)
inline

◆ getODSResults()

::mlir::Operation::result_range mlir::tt::ttkernel::CastToL1PtrOp::getODSResults ( unsigned  index)
inline

◆ getOperationName()

static constexpr ::llvm::StringLiteral mlir::tt::ttkernel::CastToL1PtrOp::getOperationName ( )
inlinestatic

◆ getPropertiesAsAttr()

mlir::Attribute mlir::tt::ttkernel::CastToL1PtrOp::getPropertiesAsAttr ( ::mlir::MLIRContext *  ctx,
const Properties prop 
)
static

◆ inferReturnTypes()

llvm::LogicalResult mlir::tt::ttkernel::CastToL1PtrOp::inferReturnTypes ( ::mlir::MLIRContext *  context,
::std::optional<::mlir::Location >  location,
::mlir::ValueRange  operands,
::mlir::DictionaryAttr  attributes,
::mlir::OpaqueProperties  properties,
::mlir::RegionRange  regions,
::llvm::SmallVectorImpl<::mlir::Type > &  inferredReturnTypes 
)
static

◆ populateInherentAttrs()

void mlir::tt::ttkernel::CastToL1PtrOp::populateInherentAttrs ( ::mlir::MLIRContext *  ctx,
const Properties prop,
::mlir::NamedAttrList &  attrs 
)
static

◆ setInherentAttr()

void mlir::tt::ttkernel::CastToL1PtrOp::setInherentAttr ( Properties prop,
llvm::StringRef  name,
mlir::Attribute  value 
)
static

◆ setPropertiesFromAttr()

llvm::LogicalResult mlir::tt::ttkernel::CastToL1PtrOp::setPropertiesFromAttr ( Properties prop,
::mlir::Attribute  attr,
::llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInherentAttrs()

llvm::LogicalResult mlir::tt::ttkernel::CastToL1PtrOp::verifyInherentAttrs ( ::mlir::OperationName  opName,
::mlir::NamedAttrList &  attrs,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ verifyInvariants()

llvm::LogicalResult mlir::tt::ttkernel::CastToL1PtrOp::verifyInvariants ( )

◆ verifyInvariantsImpl()

llvm::LogicalResult mlir::tt::ttkernel::CastToL1PtrOp::verifyInvariantsImpl ( )

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