TT-MLIR
Classes | Namespaces | Enumerations | Functions
TTOpsEnums.h.inc File Reference

Classes

struct  mlir::FieldParser<::mlir::tt::Arch, ::mlir::tt::Arch >
 
struct  llvm::DenseMapInfo<::mlir::tt::Arch >
 
struct  mlir::FieldParser<::mlir::tt::BufferAccess, ::mlir::tt::BufferAccess >
 
struct  llvm::DenseMapInfo<::mlir::tt::BufferAccess >
 
struct  mlir::FieldParser<::mlir::tt::CPURole, ::mlir::tt::CPURole >
 
struct  llvm::DenseMapInfo<::mlir::tt::CPURole >
 
class  mlir::tt::ChipCapabilityAttr
 
struct  mlir::FieldParser<::mlir::tt::ChipCapability, ::mlir::tt::ChipCapability >
 
struct  llvm::DenseMapInfo<::mlir::tt::ChipCapability >
 
struct  mlir::FieldParser<::mlir::tt::DataType, ::mlir::tt::DataType >
 
struct  llvm::DenseMapInfo<::mlir::tt::DataType >
 
struct  mlir::FieldParser<::mlir::tt::IteratorType, ::mlir::tt::IteratorType >
 
struct  llvm::DenseMapInfo<::mlir::tt::IteratorType >
 
struct  mlir::FieldParser<::mlir::tt::MemorySpace, ::mlir::tt::MemorySpace >
 
struct  llvm::DenseMapInfo<::mlir::tt::MemorySpace >
 
struct  mlir::FieldParser<::mlir::tt::OOBVal, ::mlir::tt::OOBVal >
 
struct  llvm::DenseMapInfo<::mlir::tt::OOBVal >
 
struct  mlir::FieldParser<::mlir::tt::OperandConstraint, ::mlir::tt::OperandConstraint >
 
struct  llvm::DenseMapInfo<::mlir::tt::OperandConstraint >
 
struct  mlir::FieldParser<::mlir::tt::TensorMemoryLayout, ::mlir::tt::TensorMemoryLayout >
 
struct  llvm::DenseMapInfo<::mlir::tt::TensorMemoryLayout >
 

Namespaces

 mlir
 
 mlir::tt
 
 llvm
 

Enumerations

enum class  mlir::tt::Arch : uint32_t { mlir::tt::Grayskull = 0 , mlir::tt::WormholeB0 = 1 , mlir::tt::Blackhole = 2 }
 
enum class  mlir::tt::BufferAccess : uint32_t { mlir::tt::Alias = 1 , mlir::tt::Stream = 2 }
 
enum class  mlir::tt::CPURole : uint32_t { mlir::tt::Host = 0 , mlir::tt::Device = 1 }
 
enum class  mlir::tt::ChipCapability : uint32_t { mlir::tt::PCIE = 1 , mlir::tt::HostMMIO = 2 }
 
enum class  mlir::tt::DataType : uint32_t {
  mlir::tt::Float32 = 0 , mlir::tt::Float16 = 1 , mlir::tt::BFloat16 = 2 , mlir::tt::BFP_Float8 = 3 ,
  mlir::tt::BFP_BFloat8 = 4 , mlir::tt::BFP_Float4 = 5 , mlir::tt::BFP_BFloat4 = 6 , mlir::tt::BFP_Float2 = 7 ,
  mlir::tt::BFP_BFloat2 = 8 , mlir::tt::UInt32 = 9 , mlir::tt::UInt16 = 10 , mlir::tt::UInt8 = 11
}
 
enum class  mlir::tt::IteratorType : uint32_t { mlir::tt::Parallel = 0 , mlir::tt::Systolic = 1 , mlir::tt::Broadcast = 2 , mlir::tt::Reduction = 3 }
 
enum class  mlir::tt::MemorySpace : uint32_t { mlir::tt::System = 0 , mlir::tt::SystemMMIO = 1 , mlir::tt::DeviceDRAM = 2 , mlir::tt::DeviceL1 = 3 }
 
enum class  mlir::tt::OOBVal : uint32_t {
  mlir::tt::Undef = 0 , mlir::tt::Zero = 1 , mlir::tt::One = 2 , mlir::tt::Inf = 3 ,
  mlir::tt::NegInf = 4
}
 
enum class  mlir::tt::OperandConstraint : uint32_t {
  mlir::tt::System = 1 , mlir::tt::DRAM = 2 , mlir::tt::L1 = 4 , mlir::tt::Scalar = 8 ,
  mlir::tt::Tile = 16 , mlir::tt::None = 32 , mlir::tt::Interleaved = 64 , mlir::tt::SingleBank = 128 ,
  mlir::tt::HeightSharded = 256 , mlir::tt::WidthSharded = 512 , mlir::tt::BlockSharded = 1024 , mlir::tt::AnyLayout = 2016 ,
  mlir::tt::Any = 2047 , mlir::tt::AnyDevice = 2046 , mlir::tt::AnyDeviceTile = 2038 , mlir::tt::L1BlockSharded = 1052
}
 
enum class  mlir::tt::TensorMemoryLayout : uint32_t {
  mlir::tt::None = 0 , mlir::tt::Interleaved = 1 , mlir::tt::SingleBank = 2 , mlir::tt::HeightSharded = 3 ,
  mlir::tt::WidthSharded = 4 , mlir::tt::BlockSharded = 5
}
 

Functions

::std::optional< Arch > mlir::tt::symbolizeArch (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyArch (Arch val)
 
::std::optional< Arch > mlir::tt::symbolizeArch (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForArch ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (Arch enumValue)
 
template<typename EnumType >
::std::optional< EnumType > mlir::tt::symbolizeEnum (::llvm::StringRef)
 
template<>
inline ::std::optional< Arch > mlir::tt::symbolizeEnum< Arch > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::Arch value)
 
::std::optional< BufferAccess > mlir::tt::symbolizeBufferAccess (uint32_t value)
 
std::string mlir::tt::stringifyBufferAccess (BufferAccess symbol)
 
::std::optional< BufferAccess > mlir::tt::symbolizeBufferAccess (::llvm::StringRef str)
 
constexpr BufferAccess mlir::tt::operator| (BufferAccess a, BufferAccess b)
 
constexpr BufferAccess mlir::tt::operator& (BufferAccess a, BufferAccess b)
 
constexpr BufferAccess mlir::tt::operator^ (BufferAccess a, BufferAccess b)
 
constexpr BufferAccess mlir::tt::operator~ (BufferAccess bits)
 
constexpr bool mlir::tt::bitEnumContainsAll (BufferAccess bits, BufferAccess bit)
 
constexpr bool mlir::tt::bitEnumContainsAny (BufferAccess bits, BufferAccess bit)
 
constexpr BufferAccess mlir::tt::bitEnumClear (BufferAccess bits, BufferAccess bit)
 
constexpr BufferAccess mlir::tt::bitEnumSet (BufferAccess bits, BufferAccess bit, bool value=true)
 
std::string mlir::tt::stringifyEnum (BufferAccess enumValue)
 
template<>
inline ::std::optional< BufferAccess > mlir::tt::symbolizeEnum< BufferAccess > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::BufferAccess value)
 
::std::optional< CPURole > mlir::tt::symbolizeCPURole (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyCPURole (CPURole val)
 
::std::optional< CPURole > mlir::tt::symbolizeCPURole (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForCPURole ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (CPURole enumValue)
 
template<>
inline ::std::optional< CPURole > mlir::tt::symbolizeEnum< CPURole > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::CPURole value)
 
::std::optional< ChipCapability > mlir::tt::symbolizeChipCapability (uint32_t value)
 
std::string mlir::tt::stringifyChipCapability (ChipCapability symbol)
 
::std::optional< ChipCapability > mlir::tt::symbolizeChipCapability (::llvm::StringRef str)
 
constexpr ChipCapability mlir::tt::operator| (ChipCapability a, ChipCapability b)
 
constexpr ChipCapability mlir::tt::operator& (ChipCapability a, ChipCapability b)
 
constexpr ChipCapability mlir::tt::operator^ (ChipCapability a, ChipCapability b)
 
constexpr ChipCapability mlir::tt::operator~ (ChipCapability bits)
 
constexpr bool mlir::tt::bitEnumContainsAll (ChipCapability bits, ChipCapability bit)
 
constexpr bool mlir::tt::bitEnumContainsAny (ChipCapability bits, ChipCapability bit)
 
constexpr ChipCapability mlir::tt::bitEnumClear (ChipCapability bits, ChipCapability bit)
 
constexpr ChipCapability mlir::tt::bitEnumSet (ChipCapability bits, ChipCapability bit, bool value=true)
 
std::string mlir::tt::stringifyEnum (ChipCapability enumValue)
 
template<>
inline ::std::optional< ChipCapability > mlir::tt::symbolizeEnum< ChipCapability > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::ChipCapability value)
 
::std::optional< DataType > mlir::tt::symbolizeDataType (uint32_t value)
 
::llvm::StringRef mlir::tt::DataTypeEnumToString (DataType val)
 
::std::optional< DataType > mlir::tt::DataTypeStringToEnum (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForDataType ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (DataType enumValue)
 
template<>
inline ::std::optional< DataType > mlir::tt::symbolizeEnum< DataType > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::DataType value)
 
::std::optional< IteratorType > mlir::tt::symbolizeIteratorType (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyIteratorType (IteratorType val)
 
::std::optional< IteratorType > mlir::tt::symbolizeIteratorType (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForIteratorType ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (IteratorType enumValue)
 
template<>
inline ::std::optional< IteratorType > mlir::tt::symbolizeEnum< IteratorType > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::IteratorType value)
 
::std::optional< MemorySpace > mlir::tt::symbolizeMemorySpace (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyMemorySpace (MemorySpace val)
 
::std::optional< MemorySpace > mlir::tt::symbolizeMemorySpace (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForMemorySpace ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (MemorySpace enumValue)
 
template<>
inline ::std::optional< MemorySpace > mlir::tt::symbolizeEnum< MemorySpace > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::MemorySpace value)
 
::std::optional< OOBVal > mlir::tt::symbolizeOOBVal (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyOOBVal (OOBVal val)
 
::std::optional< OOBVal > mlir::tt::symbolizeOOBVal (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForOOBVal ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (OOBVal enumValue)
 
template<>
inline ::std::optional< OOBVal > mlir::tt::symbolizeEnum< OOBVal > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::OOBVal value)
 
::std::optional< OperandConstraint > mlir::tt::symbolizeOperandConstraint (uint32_t value)
 
std::string mlir::tt::stringifyOperandConstraint (OperandConstraint symbol)
 
::std::optional< OperandConstraint > mlir::tt::symbolizeOperandConstraint (::llvm::StringRef str)
 
constexpr OperandConstraint mlir::tt::operator| (OperandConstraint a, OperandConstraint b)
 
constexpr OperandConstraint mlir::tt::operator& (OperandConstraint a, OperandConstraint b)
 
constexpr OperandConstraint mlir::tt::operator^ (OperandConstraint a, OperandConstraint b)
 
constexpr OperandConstraint mlir::tt::operator~ (OperandConstraint bits)
 
constexpr bool mlir::tt::bitEnumContainsAll (OperandConstraint bits, OperandConstraint bit)
 
constexpr bool mlir::tt::bitEnumContainsAny (OperandConstraint bits, OperandConstraint bit)
 
constexpr OperandConstraint mlir::tt::bitEnumClear (OperandConstraint bits, OperandConstraint bit)
 
constexpr OperandConstraint mlir::tt::bitEnumSet (OperandConstraint bits, OperandConstraint bit, bool value=true)
 
std::string mlir::tt::stringifyEnum (OperandConstraint enumValue)
 
template<>
inline ::std::optional< OperandConstraint > mlir::tt::symbolizeEnum< OperandConstraint > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::OperandConstraint value)
 
::std::optional< TensorMemoryLayout > mlir::tt::symbolizeTensorMemoryLayout (uint32_t value)
 
::llvm::StringRef mlir::tt::stringifyTensorMemoryLayout (TensorMemoryLayout val)
 
::std::optional< TensorMemoryLayout > mlir::tt::symbolizeTensorMemoryLayout (::llvm::StringRef str)
 
constexpr unsigned mlir::tt::getMaxEnumValForTensorMemoryLayout ()
 
inline ::llvm::StringRef mlir::tt::stringifyEnum (TensorMemoryLayout enumValue)
 
template<>
inline ::std::optional< TensorMemoryLayout > mlir::tt::symbolizeEnum< TensorMemoryLayout > (::llvm::StringRef str)
 
inline ::llvm::raw_ostream & llvm::operator<< (::llvm::raw_ostream &p, ::mlir::tt::TensorMemoryLayout value)