14 #ifndef MLIR_DIALECT_SPIRV_UTILS_LAYOUTUTILS_H_ 15 #define MLIR_DIALECT_SPIRV_UTILS_LAYOUTUTILS_H_ 25 class RuntimeArrayType;
60 static bool isLegalType(
Type type);
75 static Size getScalarTypeAlignment(
Type scalarType);
80 #endif // MLIR_DIALECT_SPIRV_UTILS_LAYOUTUTILS_H_ Include the generated interface declarations.
According to the Vulkan spec "14.5.4. Offset and Stride Assignment": "There are different alignment r...
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
static VectorType vectorType(CodeGen &codegen, Type etp)
Constructs vector type.