LLVM  6.0.0svn
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 "llvm/CodeGen/LiveIntervalUnion.h"

Public Member Functions

 Query ()=default
 
 Query (const LiveRange &LR, const LiveIntervalUnion &LIU)
 
 Query (const Query &)=delete
 
Queryoperator= (const Query &)=delete
 
void init (unsigned NewUserTag, const LiveRange &NewLR, const LiveIntervalUnion &NewLiveUnion)
 
bool checkInterference ()
 
unsigned collectInterferingVRegs (unsigned MaxInterferingRegs=std::numeric_limits< unsigned >::max())
 
bool isSeenInterference (LiveInterval *VReg) const
 NDEBUG. More...
 
bool seenAllInterferences () const
 
const SmallVectorImpl< LiveInterval * > & interferingVRegs () const
 

Detailed Description

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

Definition at line 109 of file LiveIntervalUnion.h.

Constructor & Destructor Documentation

◆ Query() [1/3]

llvm::LiveIntervalUnion::Query::Query ( )
default

Referenced by Query().

◆ Query() [2/3]

llvm::LiveIntervalUnion::Query::Query ( const LiveRange LR,
const LiveIntervalUnion LIU 
)
inline

Definition at line 133 of file LiveIntervalUnion.h.

References operator=(), and Query().

◆ Query() [3/3]

llvm::LiveIntervalUnion::Query::Query ( const Query )
delete

Member Function Documentation

◆ checkInterference()

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

◆ collectInterferingVRegs()

unsigned LiveIntervalUnion::Query::collectInterferingVRegs ( unsigned  MaxInterferingRegs = std::numeric_limits<unsigned>::max())

◆ init()

void llvm::LiveIntervalUnion::Query::init ( unsigned  NewUserTag,
const LiveRange NewLR,
const LiveIntervalUnion NewLiveUnion 
)
inline

◆ interferingVRegs()

const SmallVectorImpl<LiveInterval*>& llvm::LiveIntervalUnion::Query::interferingVRegs ( ) const
inline

Definition at line 163 of file LiveIntervalUnion.h.

Referenced by llvm::createGreedyRegisterAllocator(), and hasTiedDef().

◆ isSeenInterference()

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

NDEBUG.

Definition at line 105 of file LiveIntervalUnion.cpp.

References collectInterferingVRegs(), and llvm::is_contained().

Referenced by checkInterference().

◆ operator=()

Query& llvm::LiveIntervalUnion::Query::operator= ( const Query )
delete

Referenced by Query().

◆ seenAllInterferences()

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

Definition at line 160 of file LiveIntervalUnion.h.


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