From cbddf49665ec3900f285b4972d571fcd90c99180 Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Wed, 14 Nov 2001 15:37:13 +0000 Subject: [PATCH] Added support method for setting interference for pseudo instructions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1303 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/PhyRegAlloc.h | 26 +---------------------- lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | 26 +---------------------- 2 files changed, 2 insertions(+), 50 deletions(-) diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 3a3d66f16ff..060600147e0 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -138,10 +138,9 @@ class PhyRegAlloc: public NonCopyable void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst ); int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst); + void addInterf4PseudoInstr(const MachineInstr *MInst); - void PhyRegAlloc::insertPhiEleminateInstrns(); - public: PhyRegAlloc(Method *const M, const TargetMachine& TM, @@ -152,28 +151,5 @@ class PhyRegAlloc: public NonCopyable }; - -/* - - -What to do: - - * Insert IntCCReg checking code to insertCallerSaving - * add methods like cpCCReg2Mem & cpMem2CCReg (these will accept an array - and push back or push_front the instr according to PUSH_BACK, PUSH_FRONT - flags - -*/ - - - - - - - - - - - #endif diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h index 3a3d66f16ff..060600147e0 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h @@ -138,10 +138,9 @@ class PhyRegAlloc: public NonCopyable void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst ); int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst); + void addInterf4PseudoInstr(const MachineInstr *MInst); - void PhyRegAlloc::insertPhiEleminateInstrns(); - public: PhyRegAlloc(Method *const M, const TargetMachine& TM, @@ -152,28 +151,5 @@ class PhyRegAlloc: public NonCopyable }; - -/* - - -What to do: - - * Insert IntCCReg checking code to insertCallerSaving - * add methods like cpCCReg2Mem & cpMem2CCReg (these will accept an array - and push back or push_front the instr according to PUSH_BACK, PUSH_FRONT - flags - -*/ - - - - - - - - - - - #endif