LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::InterferenceCache Class Reference

#include "CodeGen/InterferenceCache.h"

Classes

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

Public Member Functions

 InterferenceCache ()=default
 
InterferenceCacheoperator= (const InterferenceCache &other)=delete
 
 InterferenceCache (const InterferenceCache &other)=delete
 
 ~InterferenceCache ()
 
void reinitPhysRegEntries ()
 
void init (MachineFunction *mf, LiveIntervalUnion *liuarray, SlotIndexes *indexes, LiveIntervals *lis, const TargetRegisterInfo *tri)
 init - Prepare cache for a new function.
 
unsigned getMaxCursors () const
 getMaxCursors - Return the maximum number of concurrent cursors that can be supported.
 

Detailed Description

Definition at line 32 of file InterferenceCache.h.

Constructor & Destructor Documentation

◆ InterferenceCache() [1/2]

llvm::InterferenceCache::InterferenceCache ( )
default

◆ InterferenceCache() [2/2]

llvm::InterferenceCache::InterferenceCache ( const InterferenceCache other)
delete

◆ ~InterferenceCache()

llvm::InterferenceCache::~InterferenceCache ( )
inline

Definition at line 161 of file InterferenceCache.h.

Member Function Documentation

◆ getMaxCursors()

unsigned llvm::InterferenceCache::getMaxCursors ( ) const
inline

getMaxCursors - Return the maximum number of concurrent cursors that can be supported.

Definition at line 174 of file InterferenceCache.h.

References CacheEntries.

◆ init()

void InterferenceCache::init ( MachineFunction mf,
LiveIntervalUnion liuarray,
SlotIndexes indexes,
LiveIntervals lis,
const TargetRegisterInfo tri 
)

init - Prepare cache for a new function.

Definition at line 49 of file InterferenceCache.cpp.

References reinitPhysRegEntries().

Referenced by llvm::RAGreedy::runOnMachineFunction().

◆ operator=()

InterferenceCache & llvm::InterferenceCache::operator= ( const InterferenceCache other)
delete

◆ reinitPhysRegEntries()

void InterferenceCache::reinitPhysRegEntries ( )

Definition at line 41 of file InterferenceCache.cpp.

References llvm::MCRegisterInfo::getNumRegs(), and llvm::safe_calloc().

Referenced by init().


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