Clement Courbet | eee2e06 | 2018-11-09 13:15:32 +0000 | [diff] [blame] | 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>; |