Home
last modified time | relevance | path

Searched refs:Clustering (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/
H A DClusteringTest.cpp51 ASSERT_TRUE((bool)Clustering); in TEST()
52 EXPECT_THAT(Clustering.get().getValidClusters(), in TEST()
54 EXPECT_THAT(Clustering.get().getCluster( in TEST()
57 EXPECT_THAT(Clustering.get().getCluster( in TEST()
61 EXPECT_EQ(Clustering.get().getClusterIdForPoint(2), in TEST()
63 EXPECT_EQ(Clustering.get().getClusterIdForPoint(5), in TEST()
65 EXPECT_EQ(Clustering.get().getClusterIdForPoint(0), in TEST()
122 ASSERT_TRUE((bool)Clustering); in TEST()
123 EXPECT_THAT(Clustering.get().getValidClusters(), in TEST()
139 ASSERT_TRUE((bool)Clustering); in TEST()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp157 const InstructionBenchmarkClustering &Clustering, in Analysis() argument
161 : Clustering_(Clustering), SubtargetInfo_(std::move(SubtargetInfo)), in Analysis()
166 if (Clustering.getPoints().empty()) in Analysis()
169 const InstructionBenchmark &FirstPoint = Clustering.getPoints().front(); in Analysis()
343 size_t PointId, const InstructionBenchmarkClustering &Clustering) { in addPoint() argument
345 const auto &Point = Clustering.getPoints()[PointId]; in addPoint()
347 ClusterId = Clustering.getClusterIdForPoint(PointId); in addPoint()
348 assert(ClusterId == Clustering.getClusterIdForPoint(PointId)); in addPoint()
355 const InstructionBenchmarkClustering &Clustering, in measurementsMatch() argument
357 assert(!Clustering.getPoints().empty()); in measurementsMatch()
[all …]
H A DClustering.cpp335 InstructionBenchmarkClustering Clustering( in create() local
337 if (auto Error = Clustering.validateAndSetup()) { in create()
340 if (Clustering.ErrorCluster_.PointIndices.size() == Points.size()) { in create()
341 return Clustering; // Nothing to cluster. in create()
345 Clustering.clusterizeDbScan(DbscanMinPts); in create()
348 Clustering.stabilize(InstrInfo->getNumOpcodes()); in create()
353 Clustering.clusterizeNaive(*SubtargetInfo, *InstrInfo); in create()
356 return Clustering; in create()
H A DAnalysis.h41 const InstructionBenchmarkClustering &Clustering,
66 const InstructionBenchmarkClustering &Clustering);
74 const InstructionBenchmarkClustering &Clustering,
H A DCMakeLists.txt50 Clustering.cpp
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/
H A DBUILD.gn22 "Clustering.cpp",
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp444 const auto Clustering = ExitOnErr(InstructionBenchmarkClustering::create( in analysisMain() local
449 *TheTarget, std::move(SubtargetInfo), std::move(InstrInfo), Clustering, in analysisMain()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt6999 llvm/tools/llvm-exegesis/lib/Clustering.h