Added support method for setting interference for pseudo instructions
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Wed, 14 Nov 2001 15:37:13 +0000 (15:37 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Wed, 14 Nov 2001 15:37:13 +0000 (15:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1303 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.h
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h

index 3a3d66f16ffed171d0dd99339288efbeaa5f6d9d..060600147e00a482e99bfa708ad7b0e697dfeda7 100644 (file)
@@ -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
 
index 3a3d66f16ffed171d0dd99339288efbeaa5f6d9d..060600147e00a482e99bfa708ad7b0e697dfeda7 100644 (file)
@@ -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