]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/PowerPC/PPCPfmCounters.td
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / 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>;