OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[llvm-exegesis][NFC] Add a way to declare the default counter binding for unbound...
[android-x86/external-llvm.git]
/
include
/
llvm
/
Target
/
TargetPfmCounters.td
diff --git
a/include/llvm/Target/TargetPfmCounters.td
b/include/llvm/Target/TargetPfmCounters.td
index
0a55a55
..
dac150f
100644
(file)
--- a/
include/llvm/Target/TargetPfmCounters.td
+++ b/
include/llvm/Target/TargetPfmCounters.td
@@
-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> {}