class FixedVectorType

Declaration

class FixedVectorType : public VectorType { /* full declaration omitted */ };

Description

Class to represent fixed width SIMD vectors

Declared at: llvm/include/llvm/IR/DerivedTypes.h:525

Inherits from: VectorType

Member Variables

Inherited from VectorType:

protected ElementQuantity

Inherited from Type:

protected NumContainedTys = 0
protected ContainedTys = nullptr

Method Overview

Inherited from VectorType:

Inherited from Type:

Methods

FixedVectorType(llvm::Type* ElTy,
                unsigned int NumElts)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:527

Parameters

llvm::Type* ElTy
unsigned int NumElts

static bool classof(const llvm::Type* T)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:564

Parameters

const llvm::Type* T

static llvm::FixedVectorType* get(
    llvm::Type* ElementType,
    unsigned int NumElts)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:531

Parameters

llvm::Type* ElementType
unsigned int NumElts

static llvm::FixedVectorType* get(
    llvm::Type* ElementType,
    const llvm::FixedVectorType* FVTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:533

Parameters

llvm::Type* ElementType
const llvm::FixedVectorType* FVTy

static llvm::FixedVectorType*
getDoubleElementsVectorType(
    llvm::FixedVectorType* VTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:560

Parameters

llvm::FixedVectorType* VTy

static llvm::FixedVectorType*
getExtendedElementVectorType(
    llvm::FixedVectorType* VTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:541

Parameters

llvm::FixedVectorType* VTy

static llvm::FixedVectorType*
getHalfElementsVectorType(
    llvm::FixedVectorType* VTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:556

Parameters

llvm::FixedVectorType* VTy

static llvm::FixedVectorType* getInteger(
    llvm::FixedVectorType* VTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:537

Parameters

llvm::FixedVectorType* VTy

unsigned int getNumElements() const

Declared at: llvm/include/llvm/IR/DerivedTypes.h:568

static llvm::FixedVectorType*
getSubdividedVectorType(
    llvm::FixedVectorType* VTy,
    int NumSubdivs)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:550

Parameters

llvm::FixedVectorType* VTy
int NumSubdivs

static llvm::FixedVectorType*
getTruncatedElementVectorType(
    llvm::FixedVectorType* VTy)

Declared at: llvm/include/llvm/IR/DerivedTypes.h:545

Parameters

llvm::FixedVectorType* VTy