28 auto i1Type = IntegerType::get(type.
getContext(), 1);
29 if (
auto sVectorType = llvm::dyn_cast<VectorType>(type))
30 return VectorType::get(sVectorType.getShape(), i1Type,
31 sVectorType.getScalableDims());
39#include "mlir/Dialect/ArmSVE/IR/ArmSVEDialect.cpp.inc"
42#include "mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc"
44#define GET_TYPEDEF_CLASSES
45#include "mlir/Dialect/ArmSVE/IR/ArmSVETypes.cpp.inc"
47void ArmSVEDialect::initialize() {
50#include "mlir/Dialect/ArmSVE/IR/ArmSVE.cpp.inc"
static Type getI1SameShape(Type type)
Return the scalable vector of the same shape and containing i1.
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
MLIRContext * getContext() const
Return the MLIRContext in which this type was uniqued.
Include the generated interface declarations.