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