mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
21390a9b77
Summary: This simplifies the code and moves everything to tablegen for consistency. This also prepares the ground for adding issue counters. Reviewers: gchatelet, john.brawn, jsji Subscribers: nemanjai, mgorny, javed.absar, kbarton, tschuett, llvm-commits Differential Revision: https://reviews.llvm.org/D54297 llvm-svn: 346489
20 lines
677 B
TableGen
20 lines
677 B
TableGen
//===-- PPCPfmCounters.td - PPC Hardware Counters ----------*- tablegen -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This describes the available hardware counters for PPC.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def CpuCyclesPfmCounter : PfmCounter<"CYCLES">;
|
|
|
|
def DefaultPfmCounters : ProcPfmCounters {
|
|
let CycleCounter = CpuCyclesPfmCounter;
|
|
}
|
|
def : PfmCountersDefaultBinding<DefaultPfmCounters>;
|