struct LoopVectorizationCostModel::RegisterUsage
Declaration
struct LoopVectorizationCostModel::RegisterUsage { /* full declaration omitted */ };Description
A struct that represents some properties of the register usage of a loop.
Declared at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:1017
Member Variables
- public SmallMapVector<unsigned int, unsigned int, 4> LoopInvariantRegs
- Holds the number of loop invariant values that are used in the loop. The key is ClassID of target-provided register class.
- public SmallMapVector<unsigned int, unsigned int, 4> MaxLocalUsers
- Holds the maximum number of concurrent live intervals in the loop. The key is ClassID of target-provided register class.