class InterferenceCache::Entry

Declaration

class InterferenceCache::Entry { /* full declaration omitted */ };

Description

Entry - A cache entry containing interference information for all aliases of PhysReg in all basic blocks.

Declared at: llvm/lib/CodeGen/InterferenceCache.h:45

Method Overview

  • public Entry()
  • public void addRef(int Delta)
  • public void clear(llvm::MachineFunction * mf, llvm::SlotIndexes * indexes, llvm::LiveIntervals * lis)
  • public llvm::InterferenceCache::BlockInterference * get(unsigned int MBBNum)
  • public unsigned int getPhysReg() const
  • public bool hasRefs() const
  • public void reset(unsigned int physReg, llvm::LiveIntervalUnion * LIUArray, const llvm::TargetRegisterInfo * TRI, const llvm::MachineFunction * MF)
  • public void revalidate(llvm::LiveIntervalUnion * LIUArray, const llvm::TargetRegisterInfo * TRI)
  • public bool valid(llvm::LiveIntervalUnion * LIUArray, const llvm::TargetRegisterInfo * TRI)

Methods

Entry()

Declared at: llvm/lib/CodeGen/InterferenceCache.h:101

void addRef(int Delta)

Declared at: llvm/lib/CodeGen/InterferenceCache.h:113

Parameters

int Delta

void clear(llvm::MachineFunction* mf,
           llvm::SlotIndexes* indexes,
           llvm::LiveIntervals* lis)

Declared at: llvm/lib/CodeGen/InterferenceCache.h:103

Parameters

llvm::MachineFunction* mf
llvm::SlotIndexes* indexes
llvm::LiveIntervals* lis

llvm::InterferenceCache::BlockInterference* get(
    unsigned int MBBNum)

Description

get - Return an up to date BlockInterference.

Declared at: llvm/lib/CodeGen/InterferenceCache.h:129

Parameters

unsigned int MBBNum

unsigned int getPhysReg() const

Declared at: llvm/lib/CodeGen/InterferenceCache.h:111

bool hasRefs() const

Declared at: llvm/lib/CodeGen/InterferenceCache.h:115

void reset(unsigned int physReg,
           llvm::LiveIntervalUnion* LIUArray,
           const llvm::TargetRegisterInfo* TRI,
           const llvm::MachineFunction* MF)

Description

reset - Initialize entry to represent physReg's aliases.

Declared at: llvm/lib/CodeGen/InterferenceCache.h:123

Parameters

unsigned int physReg
llvm::LiveIntervalUnion* LIUArray
const llvm::TargetRegisterInfo* TRI
const llvm::MachineFunction* MF

void revalidate(
    llvm::LiveIntervalUnion* LIUArray,
    const llvm::TargetRegisterInfo* TRI)

Description

revalidate - LIU contents have changed, update tags.

Declared at: llvm/lib/CodeGen/InterferenceCache.h:117

Parameters

llvm::LiveIntervalUnion* LIUArray
const llvm::TargetRegisterInfo* TRI

bool valid(llvm::LiveIntervalUnion* LIUArray,
           const llvm::TargetRegisterInfo* TRI)

Description

valid - Return true if this is a valid entry for physReg.

Declared at: llvm/lib/CodeGen/InterferenceCache.h:120

Parameters

llvm::LiveIntervalUnion* LIUArray
const llvm::TargetRegisterInfo* TRI