diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h index 52ee8852c67e..b87214f5e2c5 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -391,6 +391,10 @@ namespace llvm { /// computeNumbering - Compute the index numbering. void computeNumbering(); + /// intervalIsInOneMBB - Returns true if the specified interval is entirely + /// within a single basic block. + bool intervalIsInOneMBB(const LiveInterval &li) const; + private: /// computeIntervals - Compute live intervals. void computeIntervals(); @@ -462,10 +466,6 @@ namespace llvm { bool anyKillInMBBAfterIdx(const LiveInterval &li, const VNInfo *VNI, MachineBasicBlock *MBB, unsigned Idx) const; - /// intervalIsInOneMBB - Returns true if the specified interval is entirely - /// within a single basic block. - bool intervalIsInOneMBB(const LiveInterval &li) const; - /// hasAllocatableSuperReg - Return true if the specified physical register /// has any super register that's allocatable. bool hasAllocatableSuperReg(unsigned Reg) const;