class InsertPointAnalysis

Declaration

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

Description

Determines the latest safe point in a block in which we can insert a split, spill or other instruction related with CurLI.

Declared at: llvm/lib/CodeGen/SplitKit.h:49

Method Overview

Methods

InsertPointAnalysis(
    const llvm::LiveIntervals& lis,
    unsigned int BBNum)

Declared at: llvm/lib/CodeGen/SplitKit.h:63

Parameters

const llvm::LiveIntervals& lis
unsigned int BBNum

llvm::SlotIndex getFirstInsertPoint(
    llvm::MachineBasicBlock& MBB)

Description

Return the base index of the first insert point in \pMBB.

Declared at: llvm/lib/CodeGen/SplitKit.h:81

Parameters

llvm::MachineBasicBlock& MBB

llvm::SlotIndex getLastInsertPoint(
    const llvm::LiveInterval& CurLI,
    const llvm::MachineBasicBlock& MBB)

Description

Return the base index of the last valid insert point for \pCurLIin \pMBB.

Declared at: llvm/lib/CodeGen/SplitKit.h:66

Parameters

const llvm::LiveInterval& CurLI
const llvm::MachineBasicBlock& MBB

MachineBasicBlock::iterator
getLastInsertPointIter(
    const llvm::LiveInterval& CurLI,
    llvm::MachineBasicBlock& MBB)

Description

Returns the last insert point as an iterator for \pCurLIin \pMBB.

Declared at: llvm/lib/CodeGen/SplitKit.h:77

Parameters

const llvm::LiveInterval& CurLI
llvm::MachineBasicBlock& MBB