Lines Matching refs:Io
221 static void mapping(IO &Io, exegesis::BenchmarkMeasure &Obj) { in mapping()
222 Io.mapRequired("key", Obj.Key); in mapping()
223 if (!Io.outputting()) { in mapping()
225 Io.mapOptional("debug_string", Obj.Key); in mapping()
227 Io.mapRequired("value", Obj.PerInstructionValue); in mapping()
228 Io.mapOptional("per_snippet_value", Obj.PerSnippetValue); in mapping()
235 static void enumeration(IO &Io, 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()
240 Io.enumCase(Value, "inverse_throughput", in enumeration()
286 static void mapping(IO &Io, exegesis::InstructionBenchmarkKey &Obj, in mapping()
288 Io.setContext(&Context); in mapping()
289 Io.mapRequired("instructions", Obj.Instructions); in mapping()
290 Io.mapOptional("config", Obj.Config); in mapping()
291 Io.mapRequired("register_initial_values", Obj.RegisterInitialValues); in mapping()
313 static void mapping(IO &Io, exegesis::InstructionBenchmark &Obj, in mapping()
315 Io.mapRequired("mode", Obj.Mode); in mapping()
316 Io.mapRequired("key", Obj.Key, Context); in mapping()
317 Io.mapRequired("cpu_name", Obj.CpuName); in mapping()
318 Io.mapRequired("llvm_triple", Obj.LLVMTriple); in mapping()
319 Io.mapRequired("num_repetitions", Obj.NumRepetitions); in mapping()
320 Io.mapRequired("measurements", Obj.Measurements); in mapping()
321 Io.mapRequired("error", Obj.Error); in mapping()
322 Io.mapOptional("info", Obj.Info); in mapping()
325 Io, Obj.AssembledSnippet); in mapping()
326 Io.mapOptional("assembled_snippet", BinaryString->Binary); in mapping()