LLVM API Documentation

llvm::LiveRange Struct Reference

#include <LiveInterval.h>

Collaboration diagram for llvm::LiveRange:
[legend]

List of all members.

Public Member Functions

 LiveRange (unsigned S, unsigned E, VNInfo *V)
bool contains (unsigned I) const
bool operator< (const LiveRange &LR) const
bool operator== (const LiveRange &LR) const
void dump () const
void print (std::ostream &os) const
void print (std::ostream *os) const

Public Attributes

unsigned start
unsigned end
VNInfo * valno


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 59 of file LiveInterval.h.


Constructor & Destructor Documentation

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

Definition at line 64 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 70 of file LiveInterval.h.

References end, and start.

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

Definition at line 74 of file LiveInterval.h.

References end, and start.

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

Definition at line 77 of file LiveInterval.h.

References end, and start.

void LiveRange::dump (  )  const

Definition at line 687 of file LiveInterval.cpp.

References llvm::cerr().

void LiveRange::print ( std::ostream &  os  )  const

Definition at line 752 of file LiveInterval.cpp.

Referenced by print().

void llvm::LiveRange::print ( std::ostream *  os  )  const [inline]

Definition at line 83 of file LiveInterval.h.

References print().


Member Data Documentation


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