diff options
author | Andrew Trick <atrick@apple.com> | 2010-11-09 19:47:51 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2010-11-09 19:47:51 +0000 |
commit | 42d50e920bc1b86b120a963b26c4c4f96b5e4372 (patch) | |
tree | 4806b38d7375d2436c3a3c8a591e92fc7c423a66 /llvm/lib/CodeGen/LiveIntervalUnion.h | |
parent | e56c786f113508c37c05518a1df5531d5f6df96f (diff) | |
download | bcm5719-llvm-42d50e920bc1b86b120a963b26c4c4f96b5e4372.tar.gz bcm5719-llvm-42d50e920bc1b86b120a963b26c4c4f96b5e4372.zip |
Reverting r118604. Windows build broke.
llvm-svn: 118613
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.h')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalUnion.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalUnion.h b/llvm/lib/CodeGen/LiveIntervalUnion.h index 4d379cfa115..f0bce470875 100644 --- a/llvm/lib/CodeGen/LiveIntervalUnion.h +++ b/llvm/lib/CodeGen/LiveIntervalUnion.h @@ -23,12 +23,6 @@ namespace llvm { -#ifndef NDEBUG -// forward declaration -template <unsigned Element> class SparseBitVector; -typedef SparseBitVector<128> LvrBitSet; -#endif - /// A LiveSegment is a copy of a LiveRange object used within /// LiveIntervalUnion. LiveSegment additionally contains a pointer to its /// original live virtual register (LiveInterval). This allows quick lookup of @@ -57,9 +51,6 @@ struct LiveSegment { // Order segments by starting point only--we expect them to be disjoint. bool operator<(const LiveSegment &ls) const { return start < ls.start; } - - void dump() const; - void print(raw_ostream &os) const; }; inline bool operator<(SlotIndex V, const LiveSegment &ls) { @@ -75,16 +66,6 @@ inline bool overlap(const LiveRange &lvrSeg, const LiveSegment &liuSeg) { return lvrSeg.start < liuSeg.end && liuSeg.start < lvrSeg.end; } -template <> struct isPodLike<LiveSegment> { static const bool value = true; }; - -raw_ostream& operator<<(raw_ostream& os, const LiveSegment &ls); - -/// Abstraction to provide info for the representative register. -class AbstractRegisterDescription { -public: - virtual const char *getName(unsigned reg) const = 0; -}; - /// Union of live intervals that are strong candidates for coalescing into a /// single register (either physical or virtual depending on the context). We /// expect the constituent live intervals to be disjoint, although we may @@ -141,16 +122,6 @@ public: // Remove a live virtual register's segments from this union. void extract(const LiveInterval &lvr); - void dump(const AbstractRegisterDescription *regInfo) const; - - // If tri != NULL, use it to decode repReg_ - void print(raw_ostream &os, const AbstractRegisterDescription *rdesc) const; - -#ifndef NDEBUG - // Verify the live intervals in this union and add them to the visited set. - void verify(LvrBitSet& visitedVRegs); -#endif - /// Cache a single interference test result in the form of two intersecting /// segments. This allows efficiently iterating over the interferences. The /// iteration logic is handled by LiveIntervalUnion::Query which may |