ΒΆinline llvm::Type* ToVectorTy(
    llvm::Type* Scalar,
    llvm::ElementCount EC)

Description

A helper function for converting Scalar types to vector types. If the incoming type is void, we return void. If the EC represents a scalar, we return the scalar type.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:299

Parameters

llvm::Type* Scalar
llvm::ElementCount EC