class LiveIntervals::HMEditor

Declaration

class LiveIntervals::HMEditor { /* full declaration omitted */ };

Description

Toolkit used by handleMove to trim or extend live intervals.

Declared at: llvm/lib/CodeGen/LiveIntervals.cpp:954

Method Overview

  • public HMEditor(llvm::LiveIntervals & LIS, const llvm::MachineRegisterInfo & MRI, const llvm::TargetRegisterInfo & TRI, llvm::SlotIndex OldIdx, llvm::SlotIndex NewIdx, bool UpdateFlags)
  • public llvm::LiveRange * getRegUnitLI(unsigned int Unit)
  • public void updateAllRanges(llvm::MachineInstr * MI)

Methods

HMEditor(llvm::LiveIntervals& LIS,
         const llvm::MachineRegisterInfo& MRI,
         const llvm::TargetRegisterInfo& TRI,
         llvm::SlotIndex OldIdx,
         llvm::SlotIndex NewIdx,
         bool UpdateFlags)

Declared at: llvm/lib/CodeGen/LiveIntervals.cpp:965

Parameters

llvm::LiveIntervals& LIS
const llvm::MachineRegisterInfo& MRI
const llvm::TargetRegisterInfo& TRI
llvm::SlotIndex OldIdx
llvm::SlotIndex NewIdx
bool UpdateFlags

llvm::LiveRange* getRegUnitLI(unsigned int Unit)

Declared at: llvm/lib/CodeGen/LiveIntervals.cpp:975

Parameters

unsigned int Unit

void updateAllRanges(llvm::MachineInstr* MI)

Description

Update all live ranges touched by MI, assuming a move from OldIdx to NewIdx.

Declared at: llvm/lib/CodeGen/LiveIntervals.cpp:983

Parameters

llvm::MachineInstr* MI