LLVM  10.0.0svn
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::VectorizationFactor Struct Reference

TODO: The following VectorizationFactor was pulled out of LoopVectorizationCostModel class. More...

#include "Transforms/Vectorize/LoopVectorizationPlanner.h"

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

Public Member Functions

bool operator== (const VectorizationFactor &rhs) const
 

Static Public Member Functions

static VectorizationFactor Disabled ()
 

Public Attributes

unsigned Width
 
unsigned Cost
 

Detailed Description

TODO: The following VectorizationFactor was pulled out of LoopVectorizationCostModel class.

LV also deals with VectorizerParams::VectorizationFactor and VectorizationCostTy. We need to streamline them. Information about vectorization costs

Definition at line 169 of file LoopVectorizationPlanner.h.

Member Function Documentation

◆ Disabled()

static VectorizationFactor llvm::VectorizationFactor::Disabled ( )
inlinestatic

◆ operator==()

bool llvm::VectorizationFactor::operator== ( const VectorizationFactor rhs) const
inline

Definition at line 178 of file LoopVectorizationPlanner.h.

References Cost, and Width.

Member Data Documentation

◆ Cost

unsigned llvm::VectorizationFactor::Cost

Definition at line 173 of file LoopVectorizationPlanner.h.

Referenced by operator==(), and llvm::LoopVectorizePass::processLoop().

◆ Width

unsigned llvm::VectorizationFactor::Width

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