LLVM API Documentation

Public Member Functions | Public Attributes
llvm::LiveRange::Segment Struct Reference

#include <LiveInterval.h>

Collaboration diagram for llvm::LiveRange::Segment:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Segment ()
 Segment (SlotIndex S, SlotIndex E, VNInfo *V)
bool contains (SlotIndex I) const
 Return true if the index is covered by this segment.
bool containsInterval (SlotIndex S, SlotIndex E) const
 Return true if the given interval, [S, E), is covered by this segment.
bool operator< (const Segment &Other) const
bool operator== (const Segment &Other) const
void dump () const

Public Attributes

SlotIndex start
SlotIndex end
VNInfovalno

Detailed Description

This represents a simple continuous liveness interval for a value. The start point is inclusive, the end point exclusive. These intervals are rendered as [start,end).

Definition at line 152 of file LiveInterval.h.


Constructor & Destructor Documentation

Definition at line 157 of file LiveInterval.h.

Definition at line 159 of file LiveInterval.h.


Member Function Documentation

Return true if the index is covered by this segment.

Definition at line 165 of file LiveInterval.h.

References end, and start.

Return true if the given interval, [S, E), is covered by this segment.

Definition at line 170 of file LiveInterval.h.

References end, and start.

void LiveRange::Segment::dump ( ) const

Definition at line 585 of file LiveInterval.cpp.

References llvm::dbgs().

bool llvm::LiveRange::Segment::operator< ( const Segment Other) const [inline]

Definition at line 175 of file LiveInterval.h.

References end, and start.

bool llvm::LiveRange::Segment::operator== ( const Segment Other) const [inline]

Definition at line 178 of file LiveInterval.h.

References end, and start.


Member Data Documentation

Definition at line 155 of file LiveInterval.h.

Referenced by llvm::LiveRangeUpdater::add(), coalescable(), and llvm::operator<<().


The documentation for this struct was generated from the following files: