LLVM 20.0.0git
Public Attributes | List of all members
llvm::LoopVectorizationCostModel::RegisterUsage Struct Reference

A struct that represents some properties of the register usage of a loop. More...

Public Attributes

SmallMapVector< unsigned, unsigned, 4 > LoopInvariantRegs
 Holds the number of loop invariant values that are used in the loop.
 
SmallMapVector< unsigned, unsigned, 4 > MaxLocalUsers
 Holds the maximum number of concurrent live intervals in the loop.
 

Detailed Description

A struct that represents some properties of the register usage of a loop.

Definition at line 1068 of file LoopVectorize.cpp.

Member Data Documentation

◆ LoopInvariantRegs

SmallMapVector<unsigned, unsigned, 4> llvm::LoopVectorizationCostModel::RegisterUsage::LoopInvariantRegs

Holds the number of loop invariant values that are used in the loop.

The key is ClassID of target-provided register class.

Definition at line 1071 of file LoopVectorize.cpp.

Referenced by llvm::LoopVectorizationCostModel::calculateRegisterUsage().

◆ MaxLocalUsers

SmallMapVector<unsigned, unsigned, 4> llvm::LoopVectorizationCostModel::RegisterUsage::MaxLocalUsers

Holds the maximum number of concurrent live intervals in the loop.

The key is ClassID of target-provided register class.

Definition at line 1074 of file LoopVectorize.cpp.

Referenced by llvm::LoopVectorizationCostModel::calculateRegisterUsage().


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