@@ -115,23 +115,23 @@ static cl::opt<double> MaxMergeDensityRatio(
115
115
" ext-tsp-max-merge-density-ratio" , cl::ReallyHidden, cl::init(100 ),
116
116
cl::desc(" The maximum ratio between densities of two chains for merging" ));
117
117
118
- // Algorithm-specific options for CDS .
119
- static cl::opt<unsigned > CacheEntries (" cds -cache-entries" , cl::ReallyHidden,
118
+ // Algorithm-specific options for CDSort .
119
+ static cl::opt<unsigned > CacheEntries (" cdsort -cache-entries" , cl::ReallyHidden,
120
120
cl::desc (" The size of the cache" ));
121
121
122
- static cl::opt<unsigned > CacheSize (" cds -cache-size" , cl::ReallyHidden,
122
+ static cl::opt<unsigned > CacheSize (" cdsort -cache-size" , cl::ReallyHidden,
123
123
cl::desc (" The size of a line in the cache" ));
124
124
125
125
static cl::opt<unsigned >
126
126
CDMaxChainSize (" cdsort-max-chain-size" , cl::ReallyHidden,
127
127
cl::desc (" The maximum size of a chain to create" ));
128
128
129
129
static cl::opt<double > DistancePower (
130
- " cds -distance-power" , cl::ReallyHidden,
130
+ " cdsort -distance-power" , cl::ReallyHidden,
131
131
cl::desc (" The power exponent for the distance-based locality" ));
132
132
133
133
static cl::opt<double > FrequencyScale (
134
- " cds -frequency-scale" , cl::ReallyHidden,
134
+ " cdsort -frequency-scale" , cl::ReallyHidden,
135
135
cl::desc (" The scale factor for the frequency-based locality" ));
136
136
137
137
namespace {
@@ -1028,8 +1028,8 @@ class ExtTSPImpl {
1028
1028
std::vector<ChainT *> HotChains;
1029
1029
};
1030
1030
1031
- // / The implementation of the Cache-Directed Sort (CDS ) algorithm for ordering
1032
- // / functions represented by a call graph.
1031
+ // / The implementation of the Cache-Directed Sort (CDSort ) algorithm for
1032
+ // / ordering functions represented by a call graph.
1033
1033
class CDSortImpl {
1034
1034
public:
1035
1035
CDSortImpl (const CDSortConfig &Config, ArrayRef<uint64_t > NodeSizes,
0 commit comments