LLVM  14.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...

Collaboration diagram for llvm::LoopVectorizationCostModel::RegisterUsage:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

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

Definition at line 1363 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 1366 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 1369 of file LoopVectorize.cpp.

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


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