OSDN Git Service

[llvm-exegesis][NFC] Add a way to declare the default counter binding for unbound...
[android-x86/external-llvm.git] / lib / Target / PowerPC / PPCPfmCounters.td
1 //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This describes the available hardware counters for PPC.
11 //
12 //===----------------------------------------------------------------------===//
13
14 def CpuCyclesPfmCounter : PfmCounter<"CYCLES">;
15
16 def DefaultPfmCounters : ProcPfmCounters {
17   let CycleCounter = CpuCyclesPfmCounter;
18 }
19 def : PfmCountersDefaultBinding<DefaultPfmCounters>;