LLVM 20.0.0git
|
Algorithm-specific params for Cache-Directed Sort. More...
#include "llvm/Transforms/Utils/CodeLayout.h"
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.
unsigned llvm::codelayout::CDSortConfig::CacheEntries = 16 |
The size of the cache.
Definition at line 64 of file CodeLayout.h.
unsigned llvm::codelayout::CDSortConfig::CacheSize = 2048 |
The size of a line in the cache.
Definition at line 66 of file CodeLayout.h.
double llvm::codelayout::CDSortConfig::DistancePower = 0.25 |
The power exponent for the distance-based locality.
Definition at line 70 of file CodeLayout.h.
double llvm::codelayout::CDSortConfig::FrequencyScale = 0.25 |
The scale factor for the frequency-based locality.
Definition at line 72 of file CodeLayout.h.
unsigned llvm::codelayout::CDSortConfig::MaxChainSize = 128 |
The maximum size of a chain to create.
Definition at line 68 of file CodeLayout.h.