LLVM  8.0.1
Public Member Functions | List of all members
llvm::InsertPointAnalysis Class Reference

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

#include "CodeGen/SplitKit.h"

Public Member Functions

 InsertPointAnalysis (const LiveIntervals &lis, unsigned BBNum)
 
SlotIndex getLastInsertPoint (const LiveInterval &CurLI, const MachineBasicBlock &MBB)
 Return the base index of the last valid insert point for in . More...
 
MachineBasicBlock::iterator getLastInsertPointIter (const LiveInterval &CurLI, MachineBasicBlock &MBB)
 Returns the last insert point as an iterator for in . More...
 
SlotIndex getFirstInsertPoint (MachineBasicBlock &MBB)
 Return the base index of the first insert point in . More...
 

Detailed Description

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

Definition at line 50 of file SplitKit.h.

Constructor & Destructor Documentation

◆ InsertPointAnalysis()

InsertPointAnalysis::InsertPointAnalysis ( const LiveIntervals lis,
unsigned  BBNum 
)

Member Function Documentation

◆ getFirstInsertPoint()

SlotIndex llvm::InsertPointAnalysis::getFirstInsertPoint ( MachineBasicBlock MBB)
inline

◆ getLastInsertPoint()

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

Return the base index of the last valid insert point for in .

Definition at line 67 of file SplitKit.h.

References first, and llvm::MachineBasicBlock::getNumber().

Referenced by getLastInsertPointIter(), and llvm::SplitAnalysis::getLastSplitPoint().

◆ getLastInsertPointIter()

MachineBasicBlock::iterator InsertPointAnalysis::getLastInsertPointIter ( const LiveInterval CurLI,
MachineBasicBlock MBB 
)

The documentation for this class was generated from the following files: