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

#include "CodeGen/InterferenceCache.h"


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 ( )

◆ InterferenceCache() [2/2]

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

◆ ~InterferenceCache()

llvm::InterferenceCache::~InterferenceCache ( )

Definition at line 161 of file InterferenceCache.h.

Member Function Documentation

◆ getMaxCursors()

unsigned llvm::InterferenceCache::getMaxCursors ( ) const

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 50 of file InterferenceCache.cpp.

References reinitPhysRegEntries().

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

◆ operator=()

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

◆ reinitPhysRegEntries()

void InterferenceCache::reinitPhysRegEntries ( )

Definition at line 42 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: