summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Spiller.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-03-31 08:26:26 +0000
committerBill Wendling <isanbard@gmail.com>2009-03-31 08:26:26 +0000
commitc4b08e5eb000c7f6431d9a287cd7257cbb620b0e (patch)
tree799ee6884c2d1bf2cdd904ad85cb7037208107f8 /llvm/lib/CodeGen/Spiller.h
parentfe4847e331919fae7976cd72d1d021fcf613642f (diff)
downloadbcm5719-llvm-c4b08e5eb000c7f6431d9a287cd7257cbb620b0e.tar.gz
bcm5719-llvm-c4b08e5eb000c7f6431d9a287cd7257cbb620b0e.zip
Revert r68073. It's causing a failure in the Apple-style builds.
llvm-svn: 68092
Diffstat (limited to 'llvm/lib/CodeGen/Spiller.h')
-rw-r--r--llvm/lib/CodeGen/Spiller.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/Spiller.h b/llvm/lib/CodeGen/Spiller.h
index 5a42a8279db..0ac6fa0db6c 100644
--- a/llvm/lib/CodeGen/Spiller.h
+++ b/llvm/lib/CodeGen/Spiller.h
@@ -285,6 +285,7 @@ namespace llvm {
const TargetRegisterInfo *TRI;
const TargetInstrInfo *TII;
DenseMap<MachineInstr*, unsigned> DistanceMap;
+ std::vector<MachineInstr*> AddedSpills;
public:
bool runOnMachineFunction(MachineFunction &MF, VirtRegMap &VRM);
private:
@@ -305,6 +306,14 @@ namespace llvm {
std::vector<MachineOperand*> &KillOps,
const TargetRegisterInfo *TRI,
VirtRegMap &VRM);
+ void RemoveDeadStore(MachineInstr *Store,
+ MachineBasicBlock &MBB,
+ MachineBasicBlock::iterator &MII,
+ SmallSet<MachineInstr*, 4> &ReMatDefs,
+ BitVector &RegKills,
+ std::vector<MachineOperand*> &KillOps,
+ VirtRegMap &VRM);
+
void SpillRegToStackSlot(MachineBasicBlock &MBB,
MachineBasicBlock::iterator &MII,
int Idx, unsigned PhysReg, int StackSlot,
OpenPOWER on IntegriCloud