LLVM  12.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::VFShape Struct Reference

Contains the information about the kind of vectorization available. More...

#include "llvm/Analysis/VectorUtils.h"

Collaboration diagram for llvm::VFShape:
Collaboration graph
[legend]

Public Member Functions

bool operator== (const VFShape &Other) const
 
void updateParam (VFParameter P)
 Update the parameter in position P.ParamPos to P. More...
 
bool hasValidParameterList () const
 Sanity check on the Parameters in the VFShape. More...
 

Static Public Member Functions

static VFShape getScalarShape (const CallInst &CI)
 
static VFShape get (const CallInst &CI, ElementCount EC, bool HasGlobalPred)
 

Public Attributes

unsigned VF
 
bool IsScalable
 
SmallVector< VFParameter, 8 > Parameters
 

Detailed Description

Contains the information about the kind of vectorization available.

This object in independent on the paradigm used to represent vector functions. in particular, it is not attached to any target-specific ABI.

Definition at line 82 of file VectorUtils.h.

Member Function Documentation

◆ get()

static VFShape llvm::VFShape::get ( const CallInst CI,
ElementCount  EC,
bool  HasGlobalPred 
)
inlinestatic

◆ getScalarShape()

static VFShape llvm::VFShape::getScalarShape ( const CallInst CI)
inlinestatic

◆ hasValidParameterList()

bool VFShape::hasValidParameterList ( ) const

◆ operator==()

bool llvm::VFShape::operator== ( const VFShape Other) const
inline

Definition at line 87 of file VectorUtils.h.

References IsScalable, Parameters, and VF.

◆ updateParam()

void llvm::VFShape::updateParam ( VFParameter  P)
inline

Update the parameter in position P.ParamPos to P.

Definition at line 93 of file VectorUtils.h.

References assert(), P, llvm::VFParameter::ParamPos, and llvm::SmallVectorBase< SmallVectorSizeType< T > >::size().

Member Data Documentation

◆ IsScalable

bool llvm::VFShape::IsScalable

Definition at line 84 of file VectorUtils.h.

Referenced by operator==().

◆ Parameters

SmallVector<VFParameter, 8> llvm::VFShape::Parameters

Definition at line 85 of file VectorUtils.h.

Referenced by operator==().

◆ VF

unsigned llvm::VFShape::VF

Definition at line 83 of file VectorUtils.h.

Referenced by operator==().


The documentation for this struct was generated from the following files: