xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/Mips/MipsPfmCounters.td (revision 5b27928474e6a4103d65b347544705c40c9618fd)
1*8bcb0991SDimitry Andric//===-- MipsPfmCounters.td - Mips Hardware Counters --------*- tablegen -*-===//
2*8bcb0991SDimitry Andric//
3*8bcb0991SDimitry Andric// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*8bcb0991SDimitry Andric// See https://llvm.org/LICENSE.txt for license information.
5*8bcb0991SDimitry Andric// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*8bcb0991SDimitry Andric//
7*8bcb0991SDimitry Andric//===----------------------------------------------------------------------===//
8*8bcb0991SDimitry Andric//
9*8bcb0991SDimitry Andric// This describes the available hardware counters for Mips.
10*8bcb0991SDimitry Andric//
11*8bcb0991SDimitry Andric//===----------------------------------------------------------------------===//
12*8bcb0991SDimitry Andric
13*8bcb0991SDimitry Andricdef CpuCyclesPfmCounter : PfmCounter<"CYCLES">;
14*8bcb0991SDimitry Andric
15*8bcb0991SDimitry Andricdef DefaultPfmCounters : ProcPfmCounters {
16*8bcb0991SDimitry Andric  let CycleCounter = CpuCyclesPfmCounter;
17*8bcb0991SDimitry Andric}
18*8bcb0991SDimitry Andricdef : PfmCountersDefaultBinding<DefaultPfmCounters>;
19