Clement Courbet | eee2e06 | 2018-11-09 13:15:32 +0000 | [diff] [blame] | 1 | //===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===// |
| 2 | // |
Chandler Carruth | 2946cd7 | 2019-01-19 08:50:56 +0000 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Clement Courbet | eee2e06 | 2018-11-09 13:15:32 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This describes the available hardware counters for PPC. |
| 10 | // |
| 11 | //===----------------------------------------------------------------------===// |
| 12 | |
| 13 | def CpuCyclesPfmCounter : PfmCounter<"CYCLES">; |
| 14 | |
| 15 | def DefaultPfmCounters : ProcPfmCounters { |
| 16 | let CycleCounter = CpuCyclesPfmCounter; |
| 17 | } |
| 18 | def : PfmCountersDefaultBinding<DefaultPfmCounters>; |