SUPPORTED_TENSOR_TYPES

X-macro listing C element types paired with TensorType enumerator names.

Synopsis

Declared in <llvm/Analysis/TensorSpec.h>

#define SUPPORTED_TENSOR_TYPES(M)

Description

Known tensor types. The left part is the C type, the right is a name we can use to identify the type (to implement TensorSpec equality checks), and to use, if needed, when mapping to an underlying evaluator's type system. The main requirement is that the C type we use has the same size and encoding (e.g. endian-ness) as the one used by the evaluator.

Parameters

NameDescription
MMacro taking a C element type and a TensorType enumerator name.