class LiveIntervalUnion

Declaration

class LiveIntervalUnion { /* full declaration omitted */ };

Description

Union of live intervals that are strong candidates for coalescing into a single register (either physical or virtual depending on the context). We expect the constituent live intervals to be disjoint, although we may eventually make exceptions to handle value-based interference.

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:42

Method Overview

  • public LiveIntervalUnion(llvm::LiveIntervalUnion::Allocator & a)
  • public llvm::LiveIntervalUnion::SegmentIter begin()
  • public llvm::LiveIntervalUnion::ConstSegmentIter begin() const
  • public bool changedSince(unsigned int tag) const
  • public void clear()
  • public bool empty() const
  • public llvm::LiveIntervalUnion::SegmentIter end()
  • public llvm::LiveIntervalUnion::ConstSegmentIter end() const
  • public llvm::SlotIndex endIndex() const
  • public void extract(llvm::LiveInterval & VirtReg, const llvm::LiveRange & Range)
  • public llvm::LiveIntervalUnion::ConstSegmentIter find(llvm::SlotIndex x) const
  • public llvm::LiveIntervalUnion::SegmentIter find(llvm::SlotIndex x)
  • public const llvm::LiveIntervalUnion::Map & getMap() const
  • public unsigned int getTag() const
  • public void print(llvm::raw_ostream & OS, const llvm::TargetRegisterInfo * TRI) const
  • public llvm::SlotIndex startIndex() const
  • public void unify(llvm::LiveInterval & VirtReg, const llvm::LiveRange & Range)
  • public void verify(llvm::LiveVirtRegBitSet & VisitedVRegs)

Methods

LiveIntervalUnion(
    llvm::LiveIntervalUnion::Allocator& a)

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:65

Parameters

llvm::LiveIntervalUnion::Allocator& a

llvm::LiveIntervalUnion::SegmentIter begin()

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:69

llvm::LiveIntervalUnion::ConstSegmentIter begin()
    const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:72

bool changedSince(unsigned int tag) const

Description

changedSince - Return true if the union change since getTag returned tag.

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:88

Parameters

unsigned int tag

void clear()

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:97

bool empty() const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:76

llvm::LiveIntervalUnion::SegmentIter end()

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:70

llvm::LiveIntervalUnion::ConstSegmentIter end()
    const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:73

llvm::SlotIndex endIndex() const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:78

void extract(llvm::LiveInterval& VirtReg,
             const llvm::LiveRange& Range)

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:94

Parameters

llvm::LiveInterval& VirtReg
const llvm::LiveRange& Range

llvm::LiveIntervalUnion::ConstSegmentIter find(
    llvm::SlotIndex x) const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:74

Parameters

llvm::SlotIndex x

llvm::LiveIntervalUnion::SegmentIter find(
    llvm::SlotIndex x)

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:71

Parameters

llvm::SlotIndex x

const llvm::LiveIntervalUnion::Map& getMap() const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:82

unsigned int getTag() const

Description

getTag - Return an opaque tag representing the current state of the union.

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:85

void print(
    llvm::raw_ostream& OS,
    const llvm::TargetRegisterInfo* TRI) const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:100

Parameters

llvm::raw_ostream& OS
const llvm::TargetRegisterInfo* TRI

llvm::SlotIndex startIndex() const

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:77

void unify(llvm::LiveInterval& VirtReg,
           const llvm::LiveRange& Range)

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:91

Parameters

llvm::LiveInterval& VirtReg
const llvm::LiveRange& Range

void verify(llvm::LiveVirtRegBitSet& VisitedVRegs)

Declared at: llvm/include/llvm/CodeGen/LiveIntervalUnion.h:104

Parameters

llvm::LiveVirtRegBitSet& VisitedVRegs