[llvm-mca] Remove unused InstRef formal from pre and post execute callbacks. NFC.

llvm-svn: 337077
diff --git a/llvm/tools/llvm-mca/Pipeline.cpp b/llvm/tools/llvm-mca/Pipeline.cpp
index eb95b0c..7c937e7 100644
--- a/llvm/tools/llvm-mca/Pipeline.cpp
+++ b/llvm/tools/llvm-mca/Pipeline.cpp
@@ -47,14 +47,14 @@
   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 @@
   // 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)