namespace llvm {
+class MachineLoopRange;
class TargetRegisterInfo;
#ifndef NDEBUG
bool empty() const { return Segments.empty(); }
SlotIndex startIndex() const { return Segments.start(); }
+ // Provide public access to the underlying map to allow overlap iteration.
+ typedef LiveSegments Map;
+ const Map &getMap() { return Segments; }
+
// Add a live virtual register to this union and merge its segments.
void unify(LiveInterval &VirtReg);
return InterferingVRegs;
}
+ /// checkLoopInterference - Return true if there is interference overlapping
+ /// Loop.
+ bool checkLoopInterference(MachineLoopRange*);
+
void print(raw_ostream &OS, const TargetRegisterInfo *TRI);
private:
Query(const Query&); // DO NOT IMPLEMENT