Lines Matching refs:InstructionBenchmark
234 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()
340 InstructionBenchmark Benchmark; in readYaml()
351 Expected<std::vector<InstructionBenchmark>>
352 InstructionBenchmark::readYamls(const LLVMState &State, StringRef Filename) { in readYamls()
357 std::vector<InstructionBenchmark> Benchmarks; in readYamls()
373 Error InstructionBenchmark::writeYamlTo(const LLVMState &State, in writeYamlTo()
386 Error InstructionBenchmark::readYamlFrom(const LLVMState &State, in readYamlFrom()
397 Error InstructionBenchmark::writeYaml(const LLVMState &State, in writeYaml()