diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-11 02:09:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-11 02:09:15 +0000 |
commit | 26d17df01812012f6f231b72bf5759db79c628cb (patch) | |
tree | fb1c4cbbb604136d0f8faad0e3772c3f666f6cd4 /include/llvm | |
parent | aad43a0c0d71c15f305aa0b80aae13c17098d94a (diff) | |
download | external_llvm-26d17df01812012f6f231b72bf5759db79c628cb.zip external_llvm-26d17df01812012f6f231b72bf5759db79c628cb.tar.gz external_llvm-26d17df01812012f6f231b72bf5759db79c628cb.tar.bz2 |
Switch over to MachineLoopInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index 83d8d1d..f877d0e 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -32,7 +32,7 @@ namespace llvm { class LiveVariables; - class LoopInfo; + class MachineLoopInfo; class MRegisterInfo; class SSARegMap; class TargetInstrInfo; @@ -231,7 +231,7 @@ namespace llvm { /// the given interval. std::vector<LiveInterval*> addIntervalsForSpills(const LiveInterval& i, - const LoopInfo *loopInfo, VirtRegMap& vrm); + const MachineLoopInfo *loopInfo, VirtRegMap& vrm); /// isReMaterializable - Returns true if every definition of MI of every /// val# of the specified interval is re-materializable. Also returns true @@ -321,7 +321,8 @@ namespace llvm { bool isLoad, bool isLoadSS, bool DefIsReMat, bool CanDelete, VirtRegMap &vrm, SSARegMap *RegMap, const TargetRegisterClass* rc, SmallVector<int, 4> &ReMatIds, - unsigned &NewVReg, bool &HasDef, bool &HasUse, const LoopInfo *loopInfo, + unsigned &NewVReg, bool &HasDef, bool &HasUse, + const MachineLoopInfo *loopInfo, std::map<unsigned,unsigned> &MBBVRegsMap, std::vector<LiveInterval*> &NewLIs); void rewriteInstructionsForSpills(const LiveInterval &li, bool TrySplit, @@ -329,7 +330,7 @@ namespace llvm { MachineInstr *OrigDefMI, MachineInstr *DefMI, unsigned Slot, int LdSlot, bool isLoad, bool isLoadSS, bool DefIsReMat, bool CanDelete, VirtRegMap &vrm, SSARegMap *RegMap, const TargetRegisterClass* rc, - SmallVector<int, 4> &ReMatIds, const LoopInfo *loopInfo, + SmallVector<int, 4> &ReMatIds, const MachineLoopInfo *loopInfo, BitVector &SpillMBBs, std::map<unsigned,std::vector<SRInfo> > &SpillIdxes, BitVector &RestoreMBBs, |