]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/AArch64/AArch64PfmCounters.td
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / AArch64 / AArch64PfmCounters.td
1 //===-- AArch64PfmCounters.td - AArch64 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 AArch64.
11 //
12 //===----------------------------------------------------------------------===//
13
14 def CpuCyclesPfmCounter : PfmCounter<"CPU_CYCLES">;
15
16 def DefaultPfmCounters : ProcPfmCounters {
17   let CycleCounter = CpuCyclesPfmCounter;
18 }
19 def : PfmCountersDefaultBinding<DefaultPfmCounters>;