LLVM: llvm::codelayout::CDSortConfig Struct Reference (original) (raw)
Algorithm-specific params for Cache-Directed Sort. More...
#include "[llvm/Transforms/Utils/CodeLayout.h](CodeLayout%5F8h%5Fsource.html)"
| Public Attributes | |
|---|---|
| unsigned | CacheEntries = 16 |
| The size of the cache. | |
| unsigned | CacheSize = 2048 |
| The size of a line in the cache. | |
| unsigned | MaxChainSize = 128 |
| The maximum size of a chain to create. | |
| double | DistancePower = 0.25 |
| The power exponent for the distance-based locality. | |
| double | FrequencyScale = 0.25 |
| The scale factor for the frequency-based locality. |
Algorithm-specific params for Cache-Directed Sort.
The values are tuned for the best performance of large-scale front-end bound binaries.
Definition at line 62 of file CodeLayout.h.
◆ CacheEntries
unsigned llvm::codelayout::CDSortConfig::CacheEntries = 16
◆ CacheSize
unsigned llvm::codelayout::CDSortConfig::CacheSize = 2048
◆ DistancePower
double llvm::codelayout::CDSortConfig::DistancePower = 0.25
◆ FrequencyScale
double llvm::codelayout::CDSortConfig::FrequencyScale = 0.25
◆ MaxChainSize
unsigned llvm::codelayout::CDSortConfig::MaxChainSize = 128
The documentation for this struct was generated from the following file:
- include/llvm/Transforms/Utils/CodeLayout.h