LLVM: llvm::VectorizationFactor Struct Reference (original) (raw)

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

#include "[Transforms/Vectorize/LoopVectorizationPlanner.h](LoopVectorizationPlanner%5F8h%5Fsource.html)"

Static Public Member Functions
static VectorizationFactor Disabled ()
Width 1 means no vectorization, cost 0 means uncomputed cost.
Public Attributes
ElementCount Width
Vector width with best cost.
InstructionCost Cost
Cost of the loop with that width.
InstructionCost ScalarCost
Cost of the scalar loop.
ElementCount MinProfitableTripCount
The minimum trip count required to make vectorization profitable, e.g.

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

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

Definition at line 377 of file LoopVectorizationPlanner.h.

Disabled()

operator!=()

operator==()

Cost

MinProfitableTripCount

ElementCount llvm::VectorizationFactor::MinProfitableTripCount

ScalarCost

Width


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