|
enum class | Arch : uint32_t { Grayskull = 0
, WormholeB0 = 1
, Blackhole = 2
} |
|
enum class | BufferAccess : uint32_t { Alias = 1
, Stream = 2
} |
|
enum class | CPURole : uint32_t { Host = 0
, Device = 1
} |
|
enum class | ChipCapability : uint32_t { PCIE = 1
, HostMMIO = 2
} |
|
enum class | DataType : uint32_t {
Float32 = 0
, Float16 = 1
, BFloat16 = 2
, BFP_Float8 = 3
,
BFP_BFloat8 = 4
, BFP_Float4 = 5
, BFP_BFloat4 = 6
, BFP_Float2 = 7
,
BFP_BFloat2 = 8
, UInt32 = 9
, UInt16 = 10
, UInt8 = 11
} |
|
enum class | IteratorType : uint32_t { Parallel = 0
, Systolic = 1
, Broadcast = 2
, Reduction = 3
} |
|
enum class | MemorySpace : uint32_t { System = 0
, SystemMMIO = 1
, DeviceDRAM = 2
, DeviceL1 = 3
} |
|
enum class | OOBVal : uint32_t {
Undef = 0
, Zero = 1
, One = 2
, Inf = 3
,
NegInf = 4
} |
|
enum class | OperandConstraint : uint32_t {
System = 1
, DRAM = 2
, L1 = 4
, Scalar = 8
,
Tile = 16
, None = 32
, Interleaved = 64
, SingleBank = 128
,
HeightSharded = 256
, WidthSharded = 512
, BlockSharded = 1024
, AnyLayout = 2016
,
Any = 2047
, AnyDevice = 2046
, AnyDeviceTile = 2038
, L1BlockSharded = 1052
} |
|
enum class | TensorMemoryLayout : uint32_t {
None = 0
, Interleaved = 1
, SingleBank = 2
, HeightSharded = 3
,
WidthSharded = 4
, BlockSharded = 5
} |
|
|
::llvm::StringRef | stringifyArch (Arch val) |
|
::std::optional< Arch > | symbolizeArch (::llvm::StringRef str) |
|
::std::optional< Arch > | symbolizeArch (uint32_t value) |
|
std::string | stringifyBufferAccess (BufferAccess symbol) |
|
::std::optional< BufferAccess > | symbolizeBufferAccess (::llvm::StringRef str) |
|
::std::optional< BufferAccess > | symbolizeBufferAccess (uint32_t value) |
|
::llvm::StringRef | stringifyCPURole (CPURole val) |
|
::std::optional< CPURole > | symbolizeCPURole (::llvm::StringRef str) |
|
::std::optional< CPURole > | symbolizeCPURole (uint32_t value) |
|
std::string | stringifyChipCapability (ChipCapability symbol) |
|
::std::optional< ChipCapability > | symbolizeChipCapability (::llvm::StringRef str) |
|
::std::optional< ChipCapability > | symbolizeChipCapability (uint32_t value) |
|
::llvm::StringRef | DataTypeEnumToString (DataType val) |
|
::std::optional< DataType > | DataTypeStringToEnum (::llvm::StringRef str) |
|
::std::optional< DataType > | symbolizeDataType (uint32_t value) |
|
::llvm::StringRef | stringifyIteratorType (IteratorType val) |
|
::std::optional< IteratorType > | symbolizeIteratorType (::llvm::StringRef str) |
|
::std::optional< IteratorType > | symbolizeIteratorType (uint32_t value) |
|
::llvm::StringRef | stringifyMemorySpace (MemorySpace val) |
|
::std::optional< MemorySpace > | symbolizeMemorySpace (::llvm::StringRef str) |
|
::std::optional< MemorySpace > | symbolizeMemorySpace (uint32_t value) |
|
::llvm::StringRef | stringifyOOBVal (OOBVal val) |
|
::std::optional< OOBVal > | symbolizeOOBVal (::llvm::StringRef str) |
|
::std::optional< OOBVal > | symbolizeOOBVal (uint32_t value) |
|
std::string | stringifyOperandConstraint (OperandConstraint symbol) |
|
::std::optional< OperandConstraint > | symbolizeOperandConstraint (::llvm::StringRef str) |
|
::std::optional< OperandConstraint > | symbolizeOperandConstraint (uint32_t value) |
|
::llvm::StringRef | stringifyTensorMemoryLayout (TensorMemoryLayout val) |
|
::std::optional< TensorMemoryLayout > | symbolizeTensorMemoryLayout (::llvm::StringRef str) |
|
::std::optional< TensorMemoryLayout > | symbolizeTensorMemoryLayout (uint32_t value) |
|
constexpr unsigned | getMaxEnumValForArch () |
|
inline ::llvm::StringRef | stringifyEnum (Arch enumValue) |
|
template<typename EnumType > |
::std::optional< EnumType > | symbolizeEnum (::llvm::StringRef) |
|
template<> |
inline ::std::optional< Arch > | symbolizeEnum< Arch > (::llvm::StringRef str) |
|
constexpr BufferAccess | operator| (BufferAccess a, BufferAccess b) |
|
constexpr BufferAccess | operator& (BufferAccess a, BufferAccess b) |
|
constexpr BufferAccess | operator^ (BufferAccess a, BufferAccess b) |
|
constexpr BufferAccess | operator~ (BufferAccess bits) |
|
constexpr bool | bitEnumContainsAll (BufferAccess bits, BufferAccess bit) |
|
constexpr bool | bitEnumContainsAny (BufferAccess bits, BufferAccess bit) |
|
constexpr BufferAccess | bitEnumClear (BufferAccess bits, BufferAccess bit) |
|
constexpr BufferAccess | bitEnumSet (BufferAccess bits, BufferAccess bit, bool value=true) |
|
std::string | stringifyEnum (BufferAccess enumValue) |
|
template<> |
inline ::std::optional< BufferAccess > | symbolizeEnum< BufferAccess > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForCPURole () |
|
inline ::llvm::StringRef | stringifyEnum (CPURole enumValue) |
|
template<> |
inline ::std::optional< CPURole > | symbolizeEnum< CPURole > (::llvm::StringRef str) |
|
constexpr ChipCapability | operator| (ChipCapability a, ChipCapability b) |
|
constexpr ChipCapability | operator& (ChipCapability a, ChipCapability b) |
|
constexpr ChipCapability | operator^ (ChipCapability a, ChipCapability b) |
|
constexpr ChipCapability | operator~ (ChipCapability bits) |
|
constexpr bool | bitEnumContainsAll (ChipCapability bits, ChipCapability bit) |
|
constexpr bool | bitEnumContainsAny (ChipCapability bits, ChipCapability bit) |
|
constexpr ChipCapability | bitEnumClear (ChipCapability bits, ChipCapability bit) |
|
constexpr ChipCapability | bitEnumSet (ChipCapability bits, ChipCapability bit, bool value=true) |
|
std::string | stringifyEnum (ChipCapability enumValue) |
|
template<> |
inline ::std::optional< ChipCapability > | symbolizeEnum< ChipCapability > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForDataType () |
|
inline ::llvm::StringRef | stringifyEnum (DataType enumValue) |
|
template<> |
inline ::std::optional< DataType > | symbolizeEnum< DataType > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForIteratorType () |
|
inline ::llvm::StringRef | stringifyEnum (IteratorType enumValue) |
|
template<> |
inline ::std::optional< IteratorType > | symbolizeEnum< IteratorType > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForMemorySpace () |
|
inline ::llvm::StringRef | stringifyEnum (MemorySpace enumValue) |
|
template<> |
inline ::std::optional< MemorySpace > | symbolizeEnum< MemorySpace > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForOOBVal () |
|
inline ::llvm::StringRef | stringifyEnum (OOBVal enumValue) |
|
template<> |
inline ::std::optional< OOBVal > | symbolizeEnum< OOBVal > (::llvm::StringRef str) |
|
constexpr OperandConstraint | operator| (OperandConstraint a, OperandConstraint b) |
|
constexpr OperandConstraint | operator& (OperandConstraint a, OperandConstraint b) |
|
constexpr OperandConstraint | operator^ (OperandConstraint a, OperandConstraint b) |
|
constexpr OperandConstraint | operator~ (OperandConstraint bits) |
|
constexpr bool | bitEnumContainsAll (OperandConstraint bits, OperandConstraint bit) |
|
constexpr bool | bitEnumContainsAny (OperandConstraint bits, OperandConstraint bit) |
|
constexpr OperandConstraint | bitEnumClear (OperandConstraint bits, OperandConstraint bit) |
|
constexpr OperandConstraint | bitEnumSet (OperandConstraint bits, OperandConstraint bit, bool value=true) |
|
std::string | stringifyEnum (OperandConstraint enumValue) |
|
template<> |
inline ::std::optional< OperandConstraint > | symbolizeEnum< OperandConstraint > (::llvm::StringRef str) |
|
constexpr unsigned | getMaxEnumValForTensorMemoryLayout () |
|
inline ::llvm::StringRef | stringifyEnum (TensorMemoryLayout enumValue) |
|
template<> |
inline ::std::optional< TensorMemoryLayout > | symbolizeEnum< TensorMemoryLayout > (::llvm::StringRef str) |
|