LLVM API Documentation

llvm::LiveRange Struct Reference

#include <LiveInterval.h>

Collaboration diagram for llvm::LiveRange:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LiveRange (unsigned S, unsigned E, unsigned V)
bool contains (unsigned I) const
bool operator< (const LiveRange &LR) const
bool operator== (const LiveRange &LR) const
void dump () const

Public Attributes

unsigned start
unsigned end
unsigned ValId

Detailed Description

LiveRange structure - This represents a simple register range in the program, with an inclusive start point and an exclusive end point. These ranges are rendered as [start,end).

Definition at line 34 of file LiveInterval.h.


Constructor & Destructor Documentation

llvm::LiveRange::LiveRange ( unsigned  S,
unsigned  E,
unsigned  V 
) [inline]

Definition at line 39 of file LiveInterval.h.


Member Function Documentation

bool llvm::LiveRange::contains ( unsigned  I  )  const [inline]

contains - Return true if the index is covered by this range.

Definition at line 45 of file LiveInterval.h.

References end, and start.

Referenced by llvm::LiveInterval::getLiveRangeContaining().

void LiveRange::dump (  )  const

Definition at line 405 of file LiveInterval.cpp.

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

Definition at line 49 of file LiveInterval.h.

References end, and start.

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

Definition at line 52 of file LiveInterval.h.

References end, and start.


Member Data Documentation

unsigned llvm::LiveRange::end

Definition at line 36 of file LiveInterval.h.

Referenced by contains(), NontrivialOverlap(), operator<(), llvm::operator<<(), and operator==().

unsigned llvm::LiveRange::start

Definition at line 35 of file LiveInterval.h.

Referenced by contains(), NontrivialOverlap(), llvm::operator<(), operator<(), llvm::operator<<(), and operator==().

unsigned llvm::LiveRange::ValId

Definition at line 37 of file LiveInterval.h.

Referenced by llvm::LiveInterval::getOverlapingRanges(), llvm::LiveInterval::join(), llvm::LiveInterval::joinable(), NontrivialOverlap(), and llvm::operator<<().


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