TT-MLIR
Namespaces | Classes | Enumerations | Functions
mlir::tt::ttnn Namespace Reference

Namespaces

 detail
 
 operations
 

Classes

class  LeakyReluOpGenericAdaptor
 
class  LeakyReluOpAdaptor
 
class  LeakyReluOp
 
class  AbsOpGenericAdaptor
 
class  AbsOpAdaptor
 
class  AbsOp
 
class  AddOpGenericAdaptor
 
class  AddOpAdaptor
 
class  AddOp
 
class  AllGatherOpGenericAdaptor
 
class  AllGatherOpAdaptor
 
class  AllGatherOp
 
class  AllocOpGenericAdaptor
 
class  AllocOpAdaptor
 
class  AllocOp
 
class  ArangeOpGenericAdaptor
 
class  ArangeOpAdaptor
 
class  ArangeOp
 
class  CbrtOpGenericAdaptor
 
class  CbrtOpAdaptor
 
class  CbrtOp
 
class  CeilOpGenericAdaptor
 
class  CeilOpAdaptor
 
class  CeilOp
 
class  ClampOpGenericAdaptor
 
class  ClampOpAdaptor
 
class  ClampOp
 
class  ConcatOpGenericAdaptor
 
class  ConcatOpAdaptor
 
class  ConcatOp
 
class  Conv2dOpGenericAdaptor
 
class  Conv2dOpAdaptor
 
class  Conv2dOp
 
class  CosOpGenericAdaptor
 
class  CosOpAdaptor
 
class  CosOp
 
class  DeallocateOpGenericAdaptor
 
class  DeallocateOpAdaptor
 
class  DeallocateOp
 
class  DivOpGenericAdaptor
 
class  DivOpAdaptor
 
class  DivOp
 
class  EmbeddingOpGenericAdaptor
 
class  EmbeddingOpAdaptor
 
class  EmbeddingOp
 
class  EmptyOpGenericAdaptor
 
class  EmptyOpAdaptor
 
class  EmptyOp
 
class  EqualOpGenericAdaptor
 
class  EqualOpAdaptor
 
class  EqualOp
 
class  ExpOpGenericAdaptor
 
class  ExpOpAdaptor
 
class  ExpOp
 
class  Expm1OpGenericAdaptor
 
class  Expm1OpAdaptor
 
class  Expm1Op
 
class  FloorOpGenericAdaptor
 
class  FloorOpAdaptor
 
class  FloorOp
 
class  FromDeviceOpGenericAdaptor
 
class  FromDeviceOpAdaptor
 
class  FromDeviceOp
 
class  FullOpGenericAdaptor
 
class  FullOpAdaptor
 
class  FullOp
 
class  GeluOpGenericAdaptor
 
class  GeluOpAdaptor
 
class  GeluOp
 
class  GetDeviceOpGenericAdaptor
 
class  GetDeviceOpAdaptor
 
class  GetDeviceOp
 
class  GreaterEqualOpGenericAdaptor
 
class  GreaterEqualOpAdaptor
 
class  GreaterEqualOp
 
class  GreaterThanOpGenericAdaptor
 
class  GreaterThanOpAdaptor
 
class  GreaterThanOp
 
class  IsFiniteOpGenericAdaptor
 
class  IsFiniteOpAdaptor
 
class  IsFiniteOp
 
class  LessEqualOpGenericAdaptor
 
class  LessEqualOpAdaptor
 
class  LessEqualOp
 
class  LessThanOpGenericAdaptor
 
class  LessThanOpAdaptor
 
class  LessThanOp
 
class  LinearOpGenericAdaptor
 
class  LinearOpAdaptor
 
class  LinearOp
 
class  Log1pOpGenericAdaptor
 
class  Log1pOpAdaptor
 
class  Log1pOp
 
class  LogOpGenericAdaptor
 
class  LogOpAdaptor
 
class  LogOp
 
class  LogicalAndOpGenericAdaptor
 
class  LogicalAndOpAdaptor
 
class  LogicalAndOp
 
class  LogicalNotOpGenericAdaptor
 
class  LogicalNotOpAdaptor
 
class  LogicalNotOp
 
class  LogicalOrOpGenericAdaptor
 
class  LogicalOrOpAdaptor
 
class  LogicalOrOp
 
class  LogicalXorOpGenericAdaptor
 
class  LogicalXorOpAdaptor
 
class  LogicalXorOp
 
class  MatmulOpGenericAdaptor
 
class  MatmulOpAdaptor
 
class  MatmulOp
 
class  MaxOpGenericAdaptor
 
class  MaxOpAdaptor
 
class  MaxOp
 
class  MaxPool2dOpGenericAdaptor
 
class  MaxPool2dOpAdaptor
 
class  MaxPool2dOp
 
class  MaximumOpGenericAdaptor
 
class  MaximumOpAdaptor
 
class  MaximumOp
 
class  MeanOpGenericAdaptor
 
class  MeanOpAdaptor
 
class  MeanOp
 
class  MinimumOpGenericAdaptor
 
class  MinimumOpAdaptor
 
class  MinimumOp
 
class  MultiplyOpGenericAdaptor
 
class  MultiplyOpAdaptor
 
class  MultiplyOp
 
class  NegOpGenericAdaptor
 
class  NegOpAdaptor
 
class  NegOp
 
class  NotEqualOpGenericAdaptor
 
class  NotEqualOpAdaptor
 
class  NotEqualOp
 
class  ReciprocalOpGenericAdaptor
 
class  ReciprocalOpAdaptor
 
class  ReciprocalOp
 
class  ReduceScatterOpGenericAdaptor
 
class  ReduceScatterOpAdaptor
 
class  ReduceScatterOp
 
class  ReluOpGenericAdaptor
 
class  ReluOpAdaptor
 
class  ReluOp
 
class  RemainderOpGenericAdaptor
 
class  RemainderOpAdaptor
 
class  RemainderOp
 
class  ReshapeOpGenericAdaptor
 
class  ReshapeOpAdaptor
 
class  ReshapeOp
 
class  RsqrtOpGenericAdaptor
 
class  RsqrtOpAdaptor
 
class  RsqrtOp
 
class  SigmoidOpGenericAdaptor
 
class  SigmoidOpAdaptor
 
class  SigmoidOp
 
class  SignOpGenericAdaptor
 
class  SignOpAdaptor
 
class  SignOp
 
class  SinOpGenericAdaptor
 
class  SinOpAdaptor
 
class  SinOp
 
class  SliceOpGenericAdaptor
 
class  SliceOpAdaptor
 
class  SliceOp
 
class  SoftmaxOpGenericAdaptor
 
class  SoftmaxOpAdaptor
 
class  SoftmaxOp
 
class  SqrtOpGenericAdaptor
 
class  SqrtOpAdaptor
 
class  SqrtOp
 
class  SubtractOpGenericAdaptor
 
class  SubtractOpAdaptor
 
class  SubtractOp
 
class  SumOpGenericAdaptor
 
class  SumOpAdaptor
 
class  SumOp
 
class  ToDeviceOpGenericAdaptor
 
class  ToDeviceOpAdaptor
 
class  ToDeviceOp
 
class  ToLayoutOpGenericAdaptor
 
class  ToLayoutOpAdaptor
 
class  ToLayoutOp
 
class  ToMemoryConfigOpGenericAdaptor
 
class  ToMemoryConfigOpAdaptor
 
class  ToMemoryConfigOp
 
class  TransposeOpGenericAdaptor
 
class  TransposeOpAdaptor
 
class  TransposeOp
 
class  TypecastOpGenericAdaptor
 
class  TypecastOpAdaptor
 
class  TypecastOp
 
class  WhereOpGenericAdaptor
 
class  WhereOpAdaptor
 
class  WhereOp
 
class  CoreRangeAttr
 
class  LayoutAttr
 
class  TensorMemoryLayoutAttr
 
class  BufferTypeAttr
 
class  ShapeAttr
 
class  ShardSpecAttr
 
class  MemoryConfigAttr
 
class  MeshShapeAttr
 
class  TTNNLayoutAttr
 
class  TTNNDialect
 

Enumerations

enum class  BufferType : uint32_t {
  DRAM = 0 , L1 = 1 , SystemMemory = 2 , L1Small = 3 ,
  Trace = 4
}
 
enum class  Layout : uint32_t { RowMajor = 0 , Tile = 1 , Invalid = 2 }
 
enum class  TensorMemoryLayout : uint32_t {
  None = 0 , Interleaved = 1 , SingleBank = 2 , HeightSharded = 3 ,
  WidthSharded = 4 , BlockSharded = 5
}
 

Functions

::llvm::LogicalResult __mlir_ods_local_type_constraint_TTNNOps1 (::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind, unsigned valueIndex)
 
::llvm::LogicalResult __mlir_ods_local_type_constraint_TTNNOps2 (::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind, unsigned valueIndex)
 
::llvm::LogicalResult __mlir_ods_local_type_constraint_TTNNOps3 (::mlir::Operation *op, ::mlir::Type type, ::llvm::StringRef valueKind, unsigned valueIndex)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps1 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps1 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps2 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps2 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps3 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps3 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps4 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps4 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps5 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps5 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps6 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps6 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps7 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps7 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps8 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps8 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps9 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps9 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps10 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps10 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps11 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps11 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps12 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps12 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps13 (::mlir::Attribute attr, ::llvm::StringRef attrName, llvm::function_ref<::mlir::InFlightDiagnostic()> emitError)
 
::llvm::LogicalResult __mlir_ods_local_attr_constraint_TTNNOps13 (::mlir::Operation *op, ::mlir::Attribute attr, ::llvm::StringRef attrName)
 
::llvm::StringRef stringifyBufferType (BufferType val)
 
::std::optional< BufferTypesymbolizeBufferType (::llvm::StringRef str)
 
::std::optional< BufferTypesymbolizeBufferType (uint32_t value)
 
::llvm::StringRef stringifyLayout (Layout val)
 
::std::optional< LayoutsymbolizeLayout (::llvm::StringRef str)
 
::std::optional< LayoutsymbolizeLayout (uint32_t value)
 
::llvm::StringRef stringifyTensorMemoryLayout (TensorMemoryLayout val)
 
::std::optional< TensorMemoryLayoutsymbolizeTensorMemoryLayout (::llvm::StringRef str)
 
::std::optional< TensorMemoryLayoutsymbolizeTensorMemoryLayout (uint32_t value)
 
constexpr unsigned getMaxEnumValForBufferType ()
 
inline ::llvm::StringRef stringifyEnum (BufferType enumValue)
 
template<typename EnumType >
::std::optional< EnumType > symbolizeEnum (::llvm::StringRef)
 
template<>
inline ::std::optional< BufferTypesymbolizeEnum< BufferType > (::llvm::StringRef str)
 
constexpr unsigned getMaxEnumValForLayout ()
 
inline ::llvm::StringRef stringifyEnum (Layout enumValue)
 
template<>
inline ::std::optional< LayoutsymbolizeEnum< Layout > (::llvm::StringRef str)
 
constexpr unsigned getMaxEnumValForTensorMemoryLayout ()
 
inline ::llvm::StringRef stringifyEnum (TensorMemoryLayout enumValue)
 
template<>
inline ::std::optional< TensorMemoryLayoutsymbolizeEnum< TensorMemoryLayout > (::llvm::StringRef str)
 

Enumeration Type Documentation

◆ BufferType

enum mlir::tt::ttnn::BufferType : uint32_t
strong
Enumerator
DRAM 
L1 
SystemMemory 
L1Small 
Trace 

◆ Layout

enum mlir::tt::ttnn::Layout : uint32_t
strong
Enumerator
RowMajor 
Tile 
Invalid 

◆ TensorMemoryLayout

enum mlir::tt::ttnn::TensorMemoryLayout : uint32_t
strong
Enumerator
None 
Interleaved 
SingleBank 
HeightSharded 
WidthSharded 
BlockSharded 

Function Documentation

◆ __mlir_ods_local_attr_constraint_TTNNOps1() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps1 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps1() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps1 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps10() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps10 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps10() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps10 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps11() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps11 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps11() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps11 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps12() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps12 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps12() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps12 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps13() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps13 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps13() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps13 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps2() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps2 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps2() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps2 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps3() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps3 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps3() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps3 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps4() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps4 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps4() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps4 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps5() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps5 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps5() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps5 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps6() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps6 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps6() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps6 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps7() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps7 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps7() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps7 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps8() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps8 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps8() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps8 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps9() [1/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps9 ( ::mlir::Attribute  attr,
::llvm::StringRef  attrName,
llvm::function_ref<::mlir::InFlightDiagnostic()>  emitError 
)
static

◆ __mlir_ods_local_attr_constraint_TTNNOps9() [2/2]

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_attr_constraint_TTNNOps9 ( ::mlir::Operation *  op,
::mlir::Attribute  attr,
::llvm::StringRef  attrName 
)
static

◆ __mlir_ods_local_type_constraint_TTNNOps1()

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_type_constraint_TTNNOps1 ( ::mlir::Operation *  op,
::mlir::Type  type,
::llvm::StringRef  valueKind,
unsigned  valueIndex 
)
static

◆ __mlir_ods_local_type_constraint_TTNNOps2()

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_type_constraint_TTNNOps2 ( ::mlir::Operation *  op,
::mlir::Type  type,
::llvm::StringRef  valueKind,
unsigned  valueIndex 
)
static

◆ __mlir_ods_local_type_constraint_TTNNOps3()

::llvm::LogicalResult mlir::tt::ttnn::__mlir_ods_local_type_constraint_TTNNOps3 ( ::mlir::Operation *  op,
::mlir::Type  type,
::llvm::StringRef  valueKind,
unsigned  valueIndex 
)
static

◆ getMaxEnumValForBufferType()

constexpr unsigned mlir::tt::ttnn::getMaxEnumValForBufferType ( )
inlineconstexpr

◆ getMaxEnumValForLayout()

constexpr unsigned mlir::tt::ttnn::getMaxEnumValForLayout ( )
inlineconstexpr

◆ getMaxEnumValForTensorMemoryLayout()

constexpr unsigned mlir::tt::ttnn::getMaxEnumValForTensorMemoryLayout ( )
inlineconstexpr

◆ stringifyBufferType()

llvm::StringRef mlir::tt::ttnn::stringifyBufferType ( BufferType  val)

◆ stringifyEnum() [1/3]

inline ::llvm::StringRef mlir::tt::ttnn::stringifyEnum ( BufferType  enumValue)

◆ stringifyEnum() [2/3]

inline ::llvm::StringRef mlir::tt::ttnn::stringifyEnum ( Layout  enumValue)

◆ stringifyEnum() [3/3]

inline ::llvm::StringRef mlir::tt::ttnn::stringifyEnum ( TensorMemoryLayout  enumValue)

◆ stringifyLayout()

llvm::StringRef mlir::tt::ttnn::stringifyLayout ( Layout  val)

◆ stringifyTensorMemoryLayout()

llvm::StringRef mlir::tt::ttnn::stringifyTensorMemoryLayout ( TensorMemoryLayout  val)

◆ symbolizeBufferType() [1/2]

std::optional< BufferType > mlir::tt::ttnn::symbolizeBufferType ( ::llvm::StringRef  str)

◆ symbolizeBufferType() [2/2]

std::optional< BufferType > mlir::tt::ttnn::symbolizeBufferType ( uint32_t  value)

◆ symbolizeEnum()

template<typename EnumType >
::std::optional<EnumType> mlir::tt::ttnn::symbolizeEnum ( ::llvm::StringRef  )

◆ symbolizeEnum< BufferType >()

template<>
inline ::std::optional<BufferType> mlir::tt::ttnn::symbolizeEnum< BufferType > ( ::llvm::StringRef  str)

◆ symbolizeEnum< Layout >()

template<>
inline ::std::optional<Layout> mlir::tt::ttnn::symbolizeEnum< Layout > ( ::llvm::StringRef  str)

◆ symbolizeEnum< TensorMemoryLayout >()

template<>
inline ::std::optional<TensorMemoryLayout> mlir::tt::ttnn::symbolizeEnum< TensorMemoryLayout > ( ::llvm::StringRef  str)

◆ symbolizeLayout() [1/2]

std::optional< Layout > mlir::tt::ttnn::symbolizeLayout ( ::llvm::StringRef  str)

◆ symbolizeLayout() [2/2]

std::optional< Layout > mlir::tt::ttnn::symbolizeLayout ( uint32_t  value)

◆ symbolizeTensorMemoryLayout() [1/2]

std::optional< TensorMemoryLayout > mlir::tt::ttnn::symbolizeTensorMemoryLayout ( ::llvm::StringRef  str)

◆ symbolizeTensorMemoryLayout() [2/2]

std::optional< TensorMemoryLayout > mlir::tt::ttnn::symbolizeTensorMemoryLayout ( uint32_t  value)