Lines Matching defs:Benchmark
232 template <> struct ScalarEnumerationTraits<exegesis::Benchmark::ModeE> {
233 static void enumeration(IO &Io, exegesis::Benchmark::ModeE &Value) {
234 Io.enumCase(Value, "", exegesis::Benchmark::Unknown);
235 Io.enumCase(Value, "latency", exegesis::Benchmark::Latency);
236 Io.enumCase(Value, "uops", exegesis::Benchmark::Uops);
238 exegesis::Benchmark::InverseThroughput);
291 template <> struct MappingContextTraits<exegesis::Benchmark, YamlContext> {
308 static void mapping(IO &Io, exegesis::Benchmark &Obj, YamlContext &Context) {
334 template <> struct MappingTraits<exegesis::Benchmark::TripleAndCpu> {
335 static void mapping(IO &Io, exegesis::Benchmark::TripleAndCpu &Obj) {
348 Expected<std::set<Benchmark::TripleAndCpu>>
349 Benchmark::readTriplesAndCpusFromYamls(MemoryBufferRef Buffer) {
367 Expected<Benchmark> Benchmark::readYaml(const LLVMState &State,
371 Benchmark Benchmark;
373 yaml::yamlize(Yin, Benchmark, /*unused*/ true, Context);
376 return std::move(Benchmark);
379 Expected<std::vector<Benchmark>> Benchmark::readYamls(const LLVMState &State,
383 std::vector<Benchmark> Benchmarks;
396 Error Benchmark::writeYamlTo(const LLVMState &State, raw_ostream &OS) {
408 Error Benchmark::readYamlFrom(const LLVMState &State, StringRef InputContent) {