A single continuous liveness interval for one value number.

Synopsis

Declared in <llvm/CodeGen/LiveInterval.h>

struct Segment;

Description

The start point is inclusive, the end point exclusive. These intervals are rendered as [start,end).]

Member Functions

Name

Description

Segment [constructor]

Constructors

contains

Return true if index I is covered by this segment.

containsInterval

Return true if interval []`S,` E) is covered by this segment.

dump

Dump this segment to the debug stream.

operator==

Return true if this segment has the same bounds as Other.

operator!=

Return true if this segment's bounds differ from Other.

operator<

Compare segments by start, then end.

Data Members

Name

Description

end

Exclusive end of the live segment.

start

Inclusive start of the live segment.

valno

Value number live throughout this segment.

Non-Member Functions

Name

Description

::llvm::operator<

Return true if segment S starts before slot index V.

Created with MrDocs