LLVM 20.0.0git
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.
 
 Cursor (const Cursor &O)
 
Cursoroperator= (const Cursor &O)
 
 ~Cursor ()
 
void setPhysReg (InterferenceCache &Cache, MCRegister PhysReg)
 setPhysReg - Point this cursor to PhysReg's interference.
 
void moveToBlock (unsigned MBBNum)
 moveTo - Move cursor to basic block MBBNum.
 
bool hasInterference ()
 hasInterference - Return true if the current block has any interference.
 
SlotIndex first ()
 first - Return the starting index of the first interfering range in the current block.
 
SlotIndex last ()
 last - Return the ending index of the last interfering range in the current block.
 

Detailed Description

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

Definition at line 177 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 197 of file InterferenceCache.h.

◆ ~Cursor()

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

Definition at line 206 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 229 of file InterferenceCache.h.

◆ hasInterference()

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

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

Definition at line 223 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 235 of file InterferenceCache.h.

◆ moveToBlock()

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

moveTo - Move cursor to basic block MBBNum.

Definition at line 218 of file InterferenceCache.h.

◆ operator=()

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

Definition at line 201 of file InterferenceCache.h.

◆ setPhysReg()

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

setPhysReg - Point this cursor to PhysReg's interference.

Definition at line 209 of file InterferenceCache.h.

References llvm::MCRegister::isValid().


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