summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/LiveVariables.h
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-11 09:18:45 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-01-11 09:18:45 +0000
commitb08bdc4a161313bb09a73e6c61f0cb0669e291c7 (patch)
tree513143c5dc3fb9f1fc353afffa449597a7660889 /include/llvm/CodeGen/LiveVariables.h
parenta14b0d441dee43e5dc92aa450e65628d28a5f4df (diff)
downloadllvm-b08bdc4a161313bb09a73e6c61f0cb0669e291c7.tar.gz
llvm-b08bdc4a161313bb09a73e6c61f0cb0669e291c7.tar.bz2
llvm-b08bdc4a161313bb09a73e6c61f0cb0669e291c7.tar.xz
Make LiveVariables::HandlePhysRegUse and
LiveVariables::HandlePhysRegDef private they use information that is not in memory when LiveVariables finishes the analysis. Also update the TwoAddressInstructionPass to not use this interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveVariables.h')
-rw-r--r--include/llvm/CodeGen/LiveVariables.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h
index 50e4166f45..71dd437d99 100644
--- a/include/llvm/CodeGen/LiveVariables.h
+++ b/include/llvm/CodeGen/LiveVariables.h
@@ -109,6 +109,9 @@ private: // Intermediate data structures
MachineInstr **PhysRegInfo;
bool *PhysRegUsed;
+ void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
+ void HandlePhysRegDef(unsigned Reg, MachineInstr *MI);
+
public:
virtual bool runOnMachineFunction(MachineFunction &MF);
@@ -253,8 +256,6 @@ public:
void MarkVirtRegAliveInBlock(VarInfo &VRInfo, const BasicBlock *BB);
void HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB,
MachineInstr *MI);
- void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
- void HandlePhysRegDef(unsigned Reg, MachineInstr *MI);
};
} // End llvm namespace