ΒΆvoid legalizeVectorType(
clang::CodeGen::CodeGenModule& CGM,
clang::CharUnits vectorSize,
llvm::VectorType* vectorTy,
llvm::SmallVectorImpl<llvm::Type*>& types)
void legalizeVectorType(
clang::CodeGen::CodeGenModule& CGM,
clang::CharUnits vectorSize,
llvm::VectorType* vectorTy,
llvm::SmallVectorImpl<llvm::Type*>& types)
Description
Turn a vector type in a sequence of legal component vector types. The caller may assume that the sum of the data sizes of the resulting types will equal the data size of the vector type.
Declared at: clang/include/clang/CodeGen/SwiftCallingConv.h:153
Parameters
- clang::CodeGen::CodeGenModule& CGM
- clang::CharUnits vectorSize
- llvm::VectorType* vectorTy
- llvm::SmallVectorImpl<llvm::Type*>& types