diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCPfmCounters.td')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCPfmCounters.td | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCPfmCounters.td b/llvm/lib/Target/PowerPC/PPCPfmCounters.td new file mode 100644 index 00000000000..d2a09f30c0f --- /dev/null +++ b/llvm/lib/Target/PowerPC/PPCPfmCounters.td @@ -0,0 +1,19 @@ +//===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This describes the available hardware counters for PPC. +// +//===----------------------------------------------------------------------===// + +def CpuCyclesPfmCounter : PfmCounter<"CYCLES">; + +def DefaultPfmCounters : ProcPfmCounters { + let CycleCounter = CpuCyclesPfmCounter; +} +def : PfmCountersDefaultBinding<DefaultPfmCounters>; |

