LLVM 20.0.0git
Namespaces | Functions
VectorTypeUtils.h File Reference
#include "llvm/IR/DerivedTypes.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

Typellvm::ToVectorTy (Type *Scalar, ElementCount EC)
 A helper function for converting Scalar types to vector types.
 
Typellvm::ToVectorTy (Type *Scalar, unsigned VF)
 
Typellvm::toVectorizedStructTy (StructType *StructTy, ElementCount EC)
 A helper for converting structs of scalar types to structs of vector types.
 
Typellvm::toScalarizedStructTy (StructType *StructTy)
 A helper for converting structs of vector types to structs of scalar types.
 
bool llvm::isVectorizedStructTy (StructType *StructTy)
 Returns true if StructTy is an unpacked literal struct where all elements are vectors of matching element count.
 
Typellvm::toVectorizedTy (Type *Ty, ElementCount EC)
 A helper for converting to vectorized types.
 
Typellvm::toScalarizedTy (Type *Ty)
 A helper for converting vectorized types to scalarized (non-vector) types.
 
bool llvm::isVectorizedTy (Type *Ty)
 Returns true if Ty is a vector type or a struct of vector types where all vector types share the same VF.
 
ArrayRef< Type * > llvm::getContainedTypes (Type *const &Ty)
 Returns the types contained in Ty.
 
ElementCount llvm::getVectorizedTypeVF (Type *Ty)
 Returns the number of vector elements for a vectorized type.
 
bool llvm::isUnpackedStructLiteral (StructType *StructTy)