Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.cpp133 struct ScalarEnumerationTraits<exegesis::InstructionBenchmark::ModeE> {
135 exegesis::InstructionBenchmark::ModeE &Value) { in enumeration()
136 Io.enumCase(Value, "", exegesis::InstructionBenchmark::Unknown); in enumeration()
137 Io.enumCase(Value, "latency", exegesis::InstructionBenchmark::Latency); in enumeration()
138 Io.enumCase(Value, "uops", exegesis::InstructionBenchmark::Uops); in enumeration()
149 template <> struct MappingTraits<exegesis::InstructionBenchmark> {
167 static void mapping(IO &Io, exegesis::InstructionBenchmark &Obj) { in mapping()
186 LLVM_YAML_IS_DOCUMENT_LIST_VECTOR(exegesis::InstructionBenchmark)
250 llvm::Expected<InstructionBenchmark>
251 InstructionBenchmark::readYaml(const BenchmarkResultContext &Context, in readYaml()
[all …]
DTarget.cpp41 ExegesisTarget::createBenchmarkRunner(InstructionBenchmark::ModeE Mode, in createBenchmarkRunner()
44 case InstructionBenchmark::Unknown: in createBenchmarkRunner()
46 case InstructionBenchmark::Latency: in createBenchmarkRunner()
48 case InstructionBenchmark::Uops: in createBenchmarkRunner()
DBenchmarkRunner.h58 InstructionBenchmark::ModeE Mode);
62 llvm::Expected<std::vector<InstructionBenchmark>>
91 InstructionBenchmark runOne(const BenchmarkConfiguration &Configuration,
103 const InstructionBenchmark::ModeE Mode;
DClustering.h29 create(const std::vector<InstructionBenchmark> &Points, size_t MinPts,
75 const std::vector<InstructionBenchmark> &getPoints() const { return Points_; } in getPoints()
96 const std::vector<InstructionBenchmark> &Points, double EpsilonSquared);
101 const std::vector<InstructionBenchmark> &Points_;
DBenchmarkRunner.cpp30 InstructionBenchmark::ModeE Mode) in BenchmarkRunner()
37 llvm::Expected<std::vector<InstructionBenchmark>>
56 std::vector<InstructionBenchmark> InstrBenchmarks; in run()
62 InstructionBenchmark
65 InstructionBenchmark InstrBenchmark; in runOne()
DBenchmarkResult.h48 struct InstructionBenchmark { struct
64 static llvm::Expected<InstructionBenchmark> argument
67 static llvm::Expected<std::vector<InstructionBenchmark>>
DAnalysis.cpp121 const InstructionBenchmark &Point = Clustering_.getPoints()[PointId]; in printInstructionRowCsv()
153 const InstructionBenchmark &FirstPoint = Clustering.getPoints().front(); in Analysis()
201 const InstructionBenchmark &Point = Points[PointId]; in makePointsPerSchedClass()
273 case InstructionBenchmark::Latency: in printSchedClassClustersHtml()
276 case InstructionBenchmark::Uops: in printSchedClassClustersHtml()
404 const InstructionBenchmark::ModeE Mode = Clustering.getPoints()[0].Mode; in measurementsMatch()
405 if (Mode == InstructionBenchmark::Latency) { in measurementsMatch()
421 } else if (Mode == InstructionBenchmark::Uops) { in measurementsMatch()
DClustering.cpp63 const std::vector<InstructionBenchmark> &Points, in InstructionBenchmarkClustering()
158 const std::vector<InstructionBenchmark> &Points, const size_t MinPts, in create()
DUops.h25 : BenchmarkRunner(State, InstructionBenchmark::Uops) {} in UopsBenchmarkRunner()
DLatency.h26 : BenchmarkRunner(State, InstructionBenchmark::Latency) {} in LatencyBenchmarkRunner()
DTarget.h44 createBenchmarkRunner(InstructionBenchmark::ModeE Mode,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/
Dllvm-exegesis.cpp48 static llvm::cl::opt<exegesis::InstructionBenchmark::ModeE> BenchmarkMode(
50 llvm::cl::values(clEnumValN(exegesis::InstructionBenchmark::Latency,
52 clEnumValN(exegesis::InstructionBenchmark::Uops, "uops",
56 clEnumValN(exegesis::InstructionBenchmark::Unknown,
157 std::vector<InstructionBenchmark> Results = in benchmarkMain()
159 for (InstructionBenchmark &Result : Results) in benchmarkMain()
195 const std::vector<InstructionBenchmark> Points = in analysisMain()
196 ExitOnErr(InstructionBenchmark::readYamls( in analysisMain()
236 if (BenchmarkMode == exegesis::InstructionBenchmark::Unknown) { in main()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/
DBenchmarkResultTest.cpp64 InstructionBenchmark ToDisk; in TEST()
72 ToDisk.Mode = InstructionBenchmark::Latency; in TEST()
91 ExitOnErr(InstructionBenchmark::readYaml(Ctx, Filename)); in TEST()
107 ExitOnErr(InstructionBenchmark::readYamls(Ctx, Filename)); in TEST()
DClusteringTest.cpp26 std::vector<InstructionBenchmark> Points(6); in TEST()
66 std::vector<InstructionBenchmark> Points(6); in TEST()
76 std::vector<InstructionBenchmark> Points(6); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
DSnippetGeneratorTest.cpp221 : BenchmarkRunner(State, InstructionBenchmark::Unknown) {} in FakeBenchmarkRunner()