LLVM  8.0.1
Public Member Functions | List of all members
llvm::InterferenceCache::Cursor Class Reference

Cursor - The primary query interface for the block interference cache. More...

#include "CodeGen/InterferenceCache.h"

Public Member Functions

 Cursor ()=default
 Cursor - Create a dangling cursor. More...
 
 Cursor (const Cursor &O)
 
Cursoroperator= (const Cursor &O)
 
 ~Cursor ()
 
void setPhysReg (InterferenceCache &Cache, unsigned PhysReg)
 setPhysReg - Point this cursor to PhysReg's interference. More...
 
void moveToBlock (unsigned MBBNum)
 moveTo - Move cursor to basic block MBBNum. More...
 
bool hasInterference ()
 hasInterference - Return true if the current block has any interference. More...
 
SlotIndex first ()
 first - Return the starting index of the first interfering range in the current block. More...
 
SlotIndex last ()
 last - Return the ending index of the last interfering range in the current block. More...
 

Detailed Description

Cursor - The primary query interface for the block interference cache.

Definition at line 181 of file InterferenceCache.h.

Constructor & Destructor Documentation

◆ Cursor() [1/2]

llvm::InterferenceCache::Cursor::Cursor ( )
default

Cursor - Create a dangling cursor.

◆ Cursor() [2/2]

llvm::InterferenceCache::Cursor::Cursor ( const Cursor O)
inline

Definition at line 201 of file InterferenceCache.h.

◆ ~Cursor()

llvm::InterferenceCache::Cursor::~Cursor ( )
inline

Definition at line 210 of file InterferenceCache.h.

Member Function Documentation

◆ first()

SlotIndex llvm::InterferenceCache::Cursor::first ( )
inline

first - Return the starting index of the first interfering range in the current block.

Definition at line 233 of file InterferenceCache.h.

◆ hasInterference()

bool llvm::InterferenceCache::Cursor::hasInterference ( )
inline

hasInterference - Return true if the current block has any interference.

Definition at line 227 of file InterferenceCache.h.

◆ last()

SlotIndex llvm::InterferenceCache::Cursor::last ( )
inline

last - Return the ending index of the last interfering range in the current block.

Definition at line 239 of file InterferenceCache.h.

◆ moveToBlock()

void llvm::InterferenceCache::Cursor::moveToBlock ( unsigned  MBBNum)
inline

moveTo - Move cursor to basic block MBBNum.

Definition at line 222 of file InterferenceCache.h.

◆ operator=()

Cursor& llvm::InterferenceCache::Cursor::operator= ( const Cursor O)
inline

Definition at line 205 of file InterferenceCache.h.

◆ setPhysReg()

void llvm::InterferenceCache::Cursor::setPhysReg ( InterferenceCache Cache,
unsigned  PhysReg 
)
inline

setPhysReg - Point this cursor to PhysReg's interference.

Definition at line 213 of file InterferenceCache.h.


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