LLVM  4.0.0
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 <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...
 

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 43 of file SplitKit.h.

Constructor & Destructor Documentation

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

Definition at line 44 of file SplitKit.cpp.

Member Function Documentation

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 60 of file SplitKit.h.

References llvm::MachineBasicBlock::getNumber().

Referenced by getLastInsertPointIter().

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

Returns the last insert point as an iterator for in .

Definition at line 112 of file SplitKit.cpp.

References llvm::MachineBasicBlock::end(), llvm::LiveIntervals::getInstructionFromIndex(), getLastInsertPoint(), and llvm::LiveIntervals::getMBBEndIdx().


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