LLVM  10.0.0svn
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 1007 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 1010 of file LoopVectorize.cpp.

Referenced by llvm::LoopVectorizationCostModel::calculateRegisterUsage(), and llvm::LoopVectorizationCostModel::selectInterleaveCount().

◆ 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 1013 of file LoopVectorize.cpp.

Referenced by llvm::LoopVectorizationCostModel::calculateRegisterUsage(), and llvm::LoopVectorizationCostModel::selectInterleaveCount().


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