Home
last modified time | relevance | path

Searched refs:InstructionBenchmark (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DTarget.cpp56 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createSnippetGenerator()
59 case InstructionBenchmark::Unknown: in createSnippetGenerator()
61 case InstructionBenchmark::Latency: in createSnippetGenerator()
63 case InstructionBenchmark::Uops: in createSnippetGenerator()
64 case InstructionBenchmark::InverseThroughput: in createSnippetGenerator()
72 InstructionBenchmark::ModeE Mode, const LLVMState &State, in createBenchmarkRunner()
73 InstructionBenchmark::ResultAggregationModeE ResultAggMode) const { in createBenchmarkRunner()
76 case InstructionBenchmark::Unknown: in createBenchmarkRunner()
78 case InstructionBenchmark::Latency: in createBenchmarkRunner()
79 case InstructionBenchmark::InverseThroughput: in createBenchmarkRunner()
[all …]
DLatencyBenchmarkRunner.cpp22 const LLVMState &State, InstructionBenchmark::ModeE Mode, in LatencyBenchmarkRunner()
23 InstructionBenchmark::ResultAggregationModeE ResultAgg) in LatencyBenchmarkRunner()
25 assert((Mode == InstructionBenchmark::Latency || in LatencyBenchmarkRunner()
26 Mode == InstructionBenchmark::InverseThroughput) && in LatencyBenchmarkRunner()
96 case InstructionBenchmark::Latency: in runMeasurements()
99 case InstructionBenchmark::InverseThroughput: in runMeasurements()
107 case InstructionBenchmark::MinVariance: { in runMeasurements()
117 case InstructionBenchmark::Min: { in runMeasurements()
123 case InstructionBenchmark::Max: { in runMeasurements()
129 case InstructionBenchmark::Mean: { in runMeasurements()
DTarget.h152 createSnippetGenerator(InstructionBenchmark::ModeE Mode,
157 InstructionBenchmark::ModeE Mode, const LLVMState &State,
158 InstructionBenchmark::ResultAggregationModeE ResultAggMode =
159 InstructionBenchmark::Min) const;
195 const LLVMState &State, InstructionBenchmark::ModeE Mode,
196 InstructionBenchmark::ResultAggregationModeE ResultAggMode) const;
199 InstructionBenchmark::ResultAggregationModeE ResultAggMode) const;
DBenchmarkResult.cpp234 struct ScalarEnumerationTraits<exegesis::InstructionBenchmark::ModeE> {
236 exegesis::InstructionBenchmark::ModeE &Value) { in enumeration()
237 Io.enumCase(Value, "", exegesis::InstructionBenchmark::Unknown); in enumeration()
238 Io.enumCase(Value, "latency", exegesis::InstructionBenchmark::Latency); in enumeration()
239 Io.enumCase(Value, "uops", exegesis::InstructionBenchmark::Uops); in enumeration()
241 exegesis::InstructionBenchmark::InverseThroughput); in enumeration()
296 struct MappingContextTraits<exegesis::InstructionBenchmark, YamlContext> {
313 static void mapping(IO &Io, exegesis::InstructionBenchmark &Obj, in mapping()
334 Expected<InstructionBenchmark>
335 InstructionBenchmark::readYaml(const LLVMState &State, StringRef Filename) { in readYaml()
[all …]
DLatencyBenchmarkRunner.h25 const LLVMState &State, InstructionBenchmark::ModeE Mode,
26 InstructionBenchmark::ResultAggregationModeE ResultAggMode);
33 InstructionBenchmark::ResultAggregationModeE ResultAggMode;
DClustering.h33 create(const std::vector<InstructionBenchmark> &Points, ModeE Mode,
94 const std::vector<InstructionBenchmark> &getPoints() const { return Points_; } in getPoints()
123 const std::vector<InstructionBenchmark> &Points,
138 const std::vector<InstructionBenchmark> &Points_;
159 bool validate(InstructionBenchmark::ModeE Mode) const;
DSnippetRepetitor.cpp106 SnippetRepetitor::Create(InstructionBenchmark::RepetitionModeE Mode, in Create()
109 case InstructionBenchmark::Duplicate: in Create()
111 case InstructionBenchmark::Loop: in Create()
113 case InstructionBenchmark::AggregateMin: in Create()
DBenchmarkRunner.h38 InstructionBenchmark::ModeE Mode);
42 Expected<InstructionBenchmark>
78 const InstructionBenchmark::ModeE Mode;
DClustering.cpp90 const std::vector<InstructionBenchmark> &Points, in InstructionBenchmarkClustering()
192 const InstructionBenchmark &Point = Points_[P]; in clusterizeNaive()
243 explicit OpcodeAndConfig(const InstructionBenchmark &IB) in stabilize()
318 const std::vector<InstructionBenchmark> &Points, const ModeE Mode, in create()
363 InstructionBenchmark::ModeE Mode) const { in validate()
366 case InstructionBenchmark::Latency: in validate()
374 case InstructionBenchmark::Uops: in validate()
377 case InstructionBenchmark::InverseThroughput: in validate()
DBenchmarkResult.h60 struct InstructionBenchmark { struct
80 static Expected<InstructionBenchmark> readYaml(const LLVMState &State, argument
83 static Expected<std::vector<InstructionBenchmark>>
DAnalysis.cpp128 const InstructionBenchmark &Point = Clustering_.getPoints()[PointId]; in printInstructionRowCsv()
165 const InstructionBenchmark &FirstPoint = Clustering.getPoints().front(); in Analysis()
219 const InstructionBenchmark &Point = Points[PointId]; in makePointsPerSchedClass()
274 void Analysis::printPointHtml(const InstructionBenchmark &Point, in printPointHtml()
280 case InstructionBenchmark::Latency: in printPointHtml()
283 case InstructionBenchmark::Uops: in printPointHtml()
284 case InstructionBenchmark::InverseThroughput: in printPointHtml()
352 const InstructionBenchmark::ModeE Mode = Clustering.getPoints()[0].Mode; in measurementsMatch()
DBenchmarkRunner.cpp33 InstructionBenchmark::ModeE Mode) in BenchmarkRunner()
135 Expected<InstructionBenchmark> BenchmarkRunner::runConfiguration( in runConfiguration()
139 InstructionBenchmark InstrBenchmark; in runConfiguration()
154 ClearBenchmarkOnReturn(InstructionBenchmark *IB) : IB(IB) {} in runConfiguration()
162 InstructionBenchmark *const IB; in runConfiguration()
DSchedClassResolution.cpp261 InstructionBenchmark::ModeE Mode, const MCSubtargetInfo &STI, in getAsPoint()
267 if (Mode == InstructionBenchmark::Latency) { in getAsPoint()
280 } else if (Mode == InstructionBenchmark::Uops) { in getAsPoint()
307 } else if (Mode == InstructionBenchmark::InverseThroughput) { in getAsPoint()
DUopsBenchmarkRunner.h25 : BenchmarkRunner(State, InstructionBenchmark::Uops) {} in UopsBenchmarkRunner()
DSnippetRepetitor.h32 Create(InstructionBenchmark::RepetitionModeE Mode, const LLVMState &State);
DSchedClassResolution.h48 getAsPoint(InstructionBenchmark::ModeE Mode, const MCSubtargetInfo &STI,
DAnalysis.h87 void printPointHtml(const InstructionBenchmark &Point,
/external/llvm-project/llvm/tools/llvm-exegesis/
Dllvm-exegesis.cpp72 static cl::opt<exegesis::InstructionBenchmark::ModeE> BenchmarkMode(
74 cl::values(clEnumValN(exegesis::InstructionBenchmark::Latency, "latency",
76 clEnumValN(exegesis::InstructionBenchmark::InverseThroughput,
79 clEnumValN(exegesis::InstructionBenchmark::Uops, "uops",
83 clEnumValN(exegesis::InstructionBenchmark::Unknown, "analysis",
86 static cl::opt<exegesis::InstructionBenchmark::ResultAggregationModeE>
90 cl::values(clEnumValN(exegesis::InstructionBenchmark::Min, "min",
92 clEnumValN(exegesis::InstructionBenchmark::Max, "max",
94 clEnumValN(exegesis::InstructionBenchmark::Mean, "mean",
96 clEnumValN(exegesis::InstructionBenchmark::MinVariance,
[all …]
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/
DClusteringTest.cpp31 std::vector<InstructionBenchmark> Points(6); in TEST()
72 std::vector<InstructionBenchmark> Points(6); in TEST()
85 std::vector<InstructionBenchmark> Points(6); in TEST()
111 std::vector<InstructionBenchmark> Points(3); in TEST()
128 std::vector<InstructionBenchmark> Points(3); in TEST()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DBenchmarkResultTest.cpp63 InstructionBenchmark ToDisk; in TEST_F()
73 ToDisk.Mode = InstructionBenchmark::Latency; in TEST_F()
91 ExitOnErr(InstructionBenchmark::readYaml(State, Filename)); in TEST_F()
107 ExitOnErr(InstructionBenchmark::readYamls(State, Filename)); in TEST_F()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
DBenchmarkResultTest.cpp64 InstructionBenchmark ToDisk; in TEST()
75 ToDisk.Mode = InstructionBenchmark::Latency; in TEST()
95 ExitOnErr(InstructionBenchmark::readYaml(State, Filename)); in TEST()
111 ExitOnErr(InstructionBenchmark::readYamls(State, Filename)); in TEST()
DSnippetRepetitorTest.cpp41 void TestCommon(InstructionBenchmark::RepetitionModeE RepetitionMode) { in TestCommon()
67 TestCommon(InstructionBenchmark::Duplicate); in TEST_F()
76 TestCommon(InstructionBenchmark::Loop); in TEST_F()