OSDN Git Service

[llvm-exegesis][NFC] Add a way to declare the default counter binding for unbound...
[android-x86/external-llvm.git] / include / llvm / Target / TargetPfmCounters.td
index 0a55a55..dac150f 100644 (file)
@@ -44,3 +44,7 @@ class PfmCountersBinding<string cpu_name, ProcPfmCounters counters> {
   string CpuName = cpu_name;
   ProcPfmCounters Counters = counters;
 }
+
+// Declares the default binding for unbound CPUs for the target.
+class PfmCountersDefaultBinding<ProcPfmCounters counters>
+    : PfmCountersBinding<"", counters> {}