LLVM  4.0.0
Public Member Functions | List of all members
llvm::LiveIntervalUnion::Query Class Reference

Query interferences between a single live virtual register and a live interval union. More...

#include <LiveIntervalUnion.h>

Public Member Functions

 Query ()
 
 Query (LiveInterval *VReg, LiveIntervalUnion *LIU)
 
void clear ()
 
void init (unsigned UTag, LiveInterval *VReg, LiveIntervalUnion *LIU)
 
LiveIntervalvirtReg () const
 
bool checkInterference ()
 
unsigned collectInterferingVRegs (unsigned MaxInterferingRegs=UINT_MAX)
 
bool isSeenInterference (LiveInterval *VReg) const
 NDEBUG. More...
 
bool seenAllInterferences () const
 
bool seenUnspillableVReg () const
 
const SmallVectorImpl
< LiveInterval * > & 
interferingVRegs () const
 

Detailed Description

Query interferences between a single live virtual register and a live interval union.

Definition at line 111 of file LiveIntervalUnion.h.

Constructor & Destructor Documentation

llvm::LiveIntervalUnion::Query::Query ( )
inline

Definition at line 123 of file LiveIntervalUnion.h.

llvm::LiveIntervalUnion::Query::Query ( LiveInterval VReg,
LiveIntervalUnion LIU 
)
inline

Definition at line 125 of file LiveIntervalUnion.h.

Member Function Documentation

bool llvm::LiveIntervalUnion::Query::checkInterference ( )
inline

Definition at line 161 of file LiveIntervalUnion.h.

References collectInterferingVRegs().

Referenced by llvm::LiveRegMatrix::checkInterference().

void llvm::LiveIntervalUnion::Query::clear ( )
inline

Definition at line 130 of file LiveIntervalUnion.h.

Referenced by init().

unsigned LiveIntervalUnion::Query::collectInterferingVRegs ( unsigned  MaxInterferingRegs = UINT_MAX)

Definition at line 119 of file LiveIntervalUnion.cpp.

References assert(), and llvm::LiveRange::size().

Referenced by checkInterference().

void llvm::LiveIntervalUnion::Query::init ( unsigned  UTag,
LiveInterval VReg,
LiveIntervalUnion LIU 
)
inline
const SmallVectorImpl<LiveInterval*>& llvm::LiveIntervalUnion::Query::interferingVRegs ( ) const
inline

Definition at line 177 of file LiveIntervalUnion.h.

bool LiveIntervalUnion::Query::isSeenInterference ( LiveInterval VReg) const

NDEBUG.

Definition at line 105 of file LiveIntervalUnion.cpp.

References llvm::is_contained().

bool llvm::LiveIntervalUnion::Query::seenAllInterferences ( ) const
inline

Definition at line 171 of file LiveIntervalUnion.h.

bool llvm::LiveIntervalUnion::Query::seenUnspillableVReg ( ) const
inline

Definition at line 174 of file LiveIntervalUnion.h.

LiveInterval& llvm::LiveIntervalUnion::Query::virtReg ( ) const
inline

Definition at line 155 of file LiveIntervalUnion.h.

References assert().


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