parent
da8025c09e
commit
436dae5cf3
|
@ -18,7 +18,6 @@
|
||||||
#define LLVM_CODEGEN_LIVEINTERVALUNION
|
#define LLVM_CODEGEN_LIVEINTERVALUNION
|
||||||
|
|
||||||
#include "llvm/CodeGen/LiveInterval.h"
|
#include "llvm/CodeGen/LiveInterval.h"
|
||||||
#include <vector>
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
@ -100,13 +99,6 @@ class LiveIntervalUnion {
|
||||||
// efficiently represent it. Probably need to roll our own B-tree.
|
// efficiently represent it. Probably need to roll our own B-tree.
|
||||||
typedef std::set<LiveSegment> LiveSegments;
|
typedef std::set<LiveSegment> LiveSegments;
|
||||||
|
|
||||||
// A set of live virtual registers. Elements have type LiveInterval, where
|
|
||||||
// each element represents the liveness of a single live virtual register.
|
|
||||||
// This is traditionally known as a live range, but we refer is as a live
|
|
||||||
// virtual register to avoid confusing it with the misnamed LiveRange
|
|
||||||
// class.
|
|
||||||
typedef std::vector<LiveInterval*> LiveVRegs;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// SegmentIter can advance to the next segment ordered by starting position
|
// SegmentIter can advance to the next segment ordered by starting position
|
||||||
// which may belong to a different live virtual register. We also must be able
|
// which may belong to a different live virtual register. We also must be able
|
||||||
|
|
Loading…
Reference in New Issue