[#llvm-codelayout-CDSortConfig] = xref:llvm.adoc[llvm]::xref:llvm/codelayout.adoc[codelayout]::CDSortConfig :relfileprefix: ../../ :mrdocs: Algorithm‐specific params for Cache‐Directed Sort. The values are tuned for the best performance of large‐scale front‐end bound binaries. == Synopsis Declared in `<llvm/Transforms/Utils/CodeLayout.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CDSortConfig; ---- == Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/codelayout/CDSortConfig/CacheEntries.adoc[`CacheEntries`] | The size of the cache. | xref:llvm/codelayout/CDSortConfig/CacheSize.adoc[`CacheSize`] | The size of a line in the cache. | xref:llvm/codelayout/CDSortConfig/DistancePower.adoc[`DistancePower`] | The power exponent for the distance‐based locality. | xref:llvm/codelayout/CDSortConfig/FrequencyScale.adoc[`FrequencyScale`] | The scale factor for the frequency‐based locality. | xref:llvm/codelayout/CDSortConfig/MaxChainSize.adoc[`MaxChainSize`] | The maximum size of a chain to create. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/codelayout/computeCacheDirectedLayout-01.adoc[`computeCacheDirectedLayout`] | Apply a Cache‐Directed Sort with a custom config. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#