[llvm] r355314 - [MCA] Remove unused methods. NFC

Andrea Di Biagio via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 05:34:56 PST 2019


Author: adibiagio
Date: Mon Mar  4 05:34:56 2019
New Revision: 355314

URL: http://llvm.org/viewvc/llvm-project?rev=355314&view=rev
Log:
[MCA] Remove unused methods. NFC

Modified:
    llvm/trunk/include/llvm/MCA/HardwareUnits/LSUnit.h
    llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h

Modified: llvm/trunk/include/llvm/MCA/HardwareUnits/LSUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MCA/HardwareUnits/LSUnit.h?rev=355314&r1=355313&r2=355314&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MCA/HardwareUnits/LSUnit.h (original)
+++ llvm/trunk/include/llvm/MCA/HardwareUnits/LSUnit.h Mon Mar  4 05:34:56 2019
@@ -143,7 +143,6 @@ class LSUnit : public HardwareUnit {
 
   void assignLQSlot(unsigned Index);
   void assignSQSlot(unsigned Index);
-  bool isReadyNoAlias(unsigned Index) const;
 
   // An instruction that both 'mayStore' and 'HasUnmodeledSideEffects' is
   // conservatively treated as a store barrier. It forces older store to be

Modified: llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h?rev=355314&r1=355313&r2=355314&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h (original)
+++ llvm/trunk/include/llvm/MCA/HardwareUnits/Scheduler.h Mon Mar  4 05:34:56 2019
@@ -225,9 +225,6 @@ public:
   /// resources are not available.
   InstRef select();
 
-  bool arePipelinesFullyUsed() const {
-    return !Resources->getAvailableProcResUnits();
-  }
   bool isReadySetEmpty() const { return ReadySet.empty(); }
   bool isWaitSetEmpty() const { return WaitSet.empty(); }
 




More information about the llvm-commits mailing list