LLVM API Documentation

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

#include <LiveInterval.h>

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

List of all members.

Public Member Functions

 LiveRange ()
 LiveRange (SlotIndex S, SlotIndex E, VNInfo *V)
bool contains (SlotIndex I) const
bool containsRange (SlotIndex S, SlotIndex E) const
bool operator< (const LiveRange &LR) const
bool operator== (const LiveRange &LR) const
void dump () const
void print (raw_ostream &os) const

Public Attributes

SlotIndex start
SlotIndex end
VNInfovalno

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


Constructor & Destructor Documentation

llvm::LiveRange::LiveRange ( ) [inline]

Definition at line 89 of file LiveInterval.h.

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

Definition at line 91 of file LiveInterval.h.


Member Function Documentation

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

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

Definition at line 98 of file LiveInterval.h.

References end, and start.

bool llvm::LiveRange::containsRange ( SlotIndex  S,
SlotIndex  E 
) const [inline]

containsRange - Return true if the given range, [S, E), is covered by this range.

Definition at line 104 of file LiveInterval.h.

References end, and start.

Referenced by llvm::LiveInterval::isInOneLiveRange(), and llvm::LiveInterval::removeRange().

void LiveRange::dump ( ) const

Definition at line 592 of file LiveInterval.cpp.

References llvm::dbgs().

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

Definition at line 109 of file LiveInterval.h.

References end, and start.

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

Definition at line 112 of file LiveInterval.h.

References end, and start.

void LiveRange::print ( raw_ostream os) const

Definition at line 652 of file LiveInterval.cpp.


Member Data Documentation


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