|
LLVM
4.0.0
|
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... | |
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.
| InsertPointAnalysis::InsertPointAnalysis | ( | const LiveIntervals & | lis, |
| unsigned | BBNum | ||
| ) |
Definition at line 44 of file SplitKit.cpp.
|
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().
1.8.6