OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ClusterId
(Results
1 - 4
of
4
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
Clustering.h
37
class
ClusterId
{
39
static
ClusterId
noise() { return
ClusterId
(kNoise); }
40
static
ClusterId
error() { return
ClusterId
(kError); }
41
static
ClusterId
makeValid(size_t Id, bool IsUnstable = false) {
42
return
ClusterId
(Id, IsUnstable);
44
static
ClusterId
makeValidUnstable(size_t Id) {
48
ClusterId
() : Id_(kUndef), IsUnstable_(false) {}
51
bool operator==(const
ClusterId
&O) const { return Id_ == O.Id_;
[
all
...]
Analysis.h
53
using
ClusterId
= InstructionBenchmarkClustering::
ClusterId
;
58
const InstructionBenchmarkClustering::
ClusterId
&id() const {
59
return
ClusterId
;
77
InstructionBenchmarkClustering::
ClusterId
ClusterId
;
85
void printClusterRawHtml(const InstructionBenchmarkClustering::
ClusterId
&Id,
Clustering.cpp
94
NoiseCluster_(
ClusterId
::noise()), ErrorCluster_(
ClusterId
::error()) {}
104
ClusterIdForPoint_[P] =
ClusterId
::error();
138
ClusterIdForPoint_[P] =
ClusterId
::noise();
143
Clusters_.emplace_back(
ClusterId
::makeValid(Clusters_.size()));
212
Clusters_.emplace_back(
ClusterId
::makeValid(
253
std::map<OpcodeAndConfig, SmallSet<
ClusterId
, 1>> OpcodeConfigToClusterIDs;
257
const
ClusterId
&ClusterIdOfPoint = std::get<1>(Point);
261
SmallSet<
ClusterId
, 1> &ClusterIDsOfOpcode = OpcodeConfigToClusterIDs[Key];
266
const SmallSet<
ClusterId
, 1> &ClusterIDs = OpcodeConfigToClusterID.second
[
all
...]
Analysis.cpp
74
const InstructionBenchmarkClustering::
ClusterId
&CID) {
303
OS << "<tr><th>
ClusterId
</th><th>Opcode/Config</th>";
343
if (
ClusterId
.isUndef())
344
ClusterId
= Clustering.getClusterIdForPoint(PointId);
345
assert(
ClusterId
== Clustering.getClusterIdForPoint(PointId));
435
const InstructionBenchmarkClustering::
ClusterId
&Id, StringRef display_name,
446
OS << "<tr><th>
ClusterId
</th><th>Opcode/Config</th>";
556
const auto &
ClusterId
= Clustering_.getClusterIdForPoint(PointId);
557
if (!
ClusterId
.isValid())
559
if (
ClusterId
.isUnstable() ^ AnalysisDisplayUnstableOpcodes_
[
all
...]
Completed in 17 milliseconds
Indexes created Sat Sep 12 00:25:55 UTC 2026