LLVM API Documentation
#include <LiveIntervalUnion.h>
Public Member Functions | |
Query () | |
Query (LiveInterval *VReg, LiveIntervalUnion *LIU) | |
void | clear () |
void | init (unsigned UTag, LiveInterval *VReg, LiveIntervalUnion *LIU) |
LiveInterval & | virtReg () const |
bool | checkInterference () |
unsigned | collectInterferingVRegs (unsigned MaxInterferingRegs=UINT_MAX) |
bool | isSeenInterference (LiveInterval *VReg) const |
NDEBUG. | |
bool | seenAllInterferences () const |
bool | seenUnspillableVReg () const |
const SmallVectorImpl < LiveInterval * > & | interferingVRegs () const |
Query interferences between a single live virtual register and a live interval union.
Definition at line 105 of file LiveIntervalUnion.h.
llvm::LiveIntervalUnion::Query::Query | ( | ) | [inline] |
Definition at line 117 of file LiveIntervalUnion.h.
llvm::LiveIntervalUnion::Query::Query | ( | LiveInterval * | VReg, |
LiveIntervalUnion * | LIU | ||
) | [inline] |
Definition at line 119 of file LiveIntervalUnion.h.
bool llvm::LiveIntervalUnion::Query::checkInterference | ( | ) | [inline] |
Definition at line 155 of file LiveIntervalUnion.h.
References collectInterferingVRegs().
Referenced by llvm::LiveRegMatrix::checkInterference().
void llvm::LiveIntervalUnion::Query::clear | ( | ) | [inline] |
Definition at line 124 of file LiveIntervalUnion.h.
References llvm::SmallVectorImpl< T >::clear().
Referenced by init(), and llvm::LiveIntervalUnion::Array::~Array().
unsigned LiveIntervalUnion::Query::collectInterferingVRegs | ( | unsigned | MaxInterferingRegs = UINT_MAX | ) |
Definition at line 120 of file LiveIntervalUnion.cpp.
References llvm::LiveRange::size().
Referenced by checkInterference().
void llvm::LiveIntervalUnion::Query::init | ( | unsigned | UTag, |
LiveInterval * | VReg, | ||
LiveIntervalUnion * | LIU | ||
) | [inline] |
Definition at line 135 of file LiveIntervalUnion.h.
References llvm::LiveIntervalUnion::changedSince(), clear(), and llvm::LiveIntervalUnion::getTag().
Referenced by llvm::LiveRegMatrix::query().
const SmallVectorImpl<LiveInterval*>& llvm::LiveIntervalUnion::Query::interferingVRegs | ( | ) | const [inline] |
Definition at line 171 of file LiveIntervalUnion.h.
bool LiveIntervalUnion::Query::isSeenInterference | ( | LiveInterval * | VReg | ) | const |
NDEBUG.
Definition at line 104 of file LiveIntervalUnion.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::LiveIntervalUnion::find(), and I.
bool llvm::LiveIntervalUnion::Query::seenAllInterferences | ( | ) | const [inline] |
Definition at line 165 of file LiveIntervalUnion.h.
bool llvm::LiveIntervalUnion::Query::seenUnspillableVReg | ( | ) | const [inline] |
Definition at line 168 of file LiveIntervalUnion.h.
LiveInterval& llvm::LiveIntervalUnion::Query::virtReg | ( | ) | const [inline] |
Definition at line 149 of file LiveIntervalUnion.h.