From: Andrea Di Biagio Date: Mon, 4 Mar 2019 13:34:56 +0000 (+0000) Subject: [MCA] Remove unused methods. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=910d0d47ac0899529f4215f066812409c28d49d5;p=llvm [MCA] Remove unused methods. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355314 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MCA/HardwareUnits/LSUnit.h b/include/llvm/MCA/HardwareUnits/LSUnit.h index 5ed2b5bc814..c9e1cc3cdc4 100644 --- a/include/llvm/MCA/HardwareUnits/LSUnit.h +++ b/include/llvm/MCA/HardwareUnits/LSUnit.h @@ -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 diff --git a/include/llvm/MCA/HardwareUnits/Scheduler.h b/include/llvm/MCA/HardwareUnits/Scheduler.h index fc618a77d70..dc6722c4e85 100644 --- a/include/llvm/MCA/HardwareUnits/Scheduler.h +++ b/include/llvm/MCA/HardwareUnits/Scheduler.h @@ -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(); }