summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenSchedule.h
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2018-10-25 07:44:01 +0000
committerClement Courbet <courbet@google.com>2018-10-25 07:44:01 +0000
commit41c8af3924ca539faa3ea871f09ab37ba7f3b7d1 (patch)
tree068a77624d5c7aa8fd8c0be3ec4457ae58537236 /llvm/utils/TableGen/CodeGenSchedule.h
parent128fcffb062789a77d65ce2966ffa0ef718e3d47 (diff)
downloadbcm5719-llvm-41c8af3924ca539faa3ea871f09ab37ba7f3b7d1.tar.gz
bcm5719-llvm-41c8af3924ca539faa3ea871f09ab37ba7f3b7d1.zip
[MCSched] Bind PFM Counters to the CPUs instead of the SchedModel.
Summary: The pfm counters are now in the ExegesisTarget rather than the MCSchedModel (PR39165). This also compresses the pfm counter tables (PR37068). Reviewers: RKSimon, gchatelet Subscribers: mgrang, llvm-commits Differential Revision: https://reviews.llvm.org/D52932 llvm-svn: 345243
Diffstat (limited to 'llvm/utils/TableGen/CodeGenSchedule.h')
-rw-r--r--llvm/utils/TableGen/CodeGenSchedule.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/llvm/utils/TableGen/CodeGenSchedule.h b/llvm/utils/TableGen/CodeGenSchedule.h
index 39443bb35e9..9bde5f4e759 100644
--- a/llvm/utils/TableGen/CodeGenSchedule.h
+++ b/llvm/utils/TableGen/CodeGenSchedule.h
@@ -246,11 +246,6 @@ struct CodeGenProcModel {
// Optional Retire Control Unit definition.
Record *RetireControlUnit;
- // List of PfmCounters.
- RecVec PfmIssueCounterDefs;
- Record *PfmCycleCounterDef = nullptr;
- Record *PfmUopsCounterDef = nullptr;
-
CodeGenProcModel(unsigned Idx, std::string Name, Record *MDef,
Record *IDef) :
Index(Idx), ModelName(std::move(Name)), ModelDef(MDef), ItinsDef(IDef),
@@ -265,10 +260,7 @@ struct CodeGenProcModel {
}
bool hasExtraProcessorInfo() const {
- return RetireControlUnit || !RegisterFiles.empty() ||
- !PfmIssueCounterDefs.empty() ||
- PfmCycleCounterDef != nullptr ||
- PfmUopsCounterDef != nullptr;
+ return RetireControlUnit || !RegisterFiles.empty();
}
unsigned getProcResourceIdx(Record *PRDef) const;
@@ -593,8 +585,6 @@ private:
void collectRegisterFiles();
- void collectPfmCounters();
-
void collectOptionalProcessorInfo();
std::string createSchedClassName(Record *ItinClassDef,
OpenPOWER on IntegriCloud