diff options
Diffstat (limited to 'llvm/tools/llvm-mca/Pipeline.cpp')
-rw-r--r-- | llvm/tools/llvm-mca/Pipeline.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/llvm-mca/Pipeline.cpp b/llvm/tools/llvm-mca/Pipeline.cpp index eb95b0c496f..7c937e7b48b 100644 --- a/llvm/tools/llvm-mca/Pipeline.cpp +++ b/llvm/tools/llvm-mca/Pipeline.cpp @@ -47,14 +47,14 @@ bool Pipeline::executeStages(InstRef &IR) { return true; } -void Pipeline::preExecuteStages(const InstRef &IR) { +void Pipeline::preExecuteStages() { for (const std::unique_ptr<Stage> &S : Stages) - S->preExecute(IR); + S->preExecute(); } -void Pipeline::postExecuteStages(const InstRef &IR) { +void Pipeline::postExecuteStages() { for (const std::unique_ptr<Stage> &S : Stages) - S->postExecute(IR); + S->postExecute(); } void Pipeline::run() { @@ -75,10 +75,10 @@ void Pipeline::runCycle() { // Continue executing this cycle until any stage claims it cannot make // progress. while (true) { - preExecuteStages(IR); + preExecuteStages(); if (!executeStages(IR)) break; - postExecuteStages(IR); + postExecuteStages(); } for (auto &S : Stages) |