LLVM 20.0.0git
|
#include "llvm/CodeGen/LiveStacks.h"
Public Types | |
using | iterator = SS2IntervalMap::iterator |
using | const_iterator = SS2IntervalMap::const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
unsigned | getNumIntervals () const |
LiveInterval & | getOrCreateInterval (int Slot, const TargetRegisterClass *RC) |
LiveInterval & | getInterval (int Slot) |
const LiveInterval & | getInterval (int Slot) const |
bool | hasInterval (int Slot) const |
const TargetRegisterClass * | getIntervalRegClass (int Slot) const |
VNInfo::Allocator & | getVNInfoAllocator () |
void | releaseMemory () |
void | init (MachineFunction &MF) |
init - analysis entry point | |
void | print (raw_ostream &O, const Module *M=nullptr) const |
print - Implement the dump method. | |
Definition at line 36 of file LiveStacks.h.
using llvm::LiveStacks::const_iterator = SS2IntervalMap::const_iterator |
Definition at line 52 of file LiveStacks.h.
using llvm::LiveStacks::iterator = SS2IntervalMap::iterator |
Definition at line 51 of file LiveStacks.h.
|
inline |
Definition at line 56 of file LiveStacks.h.
|
inline |
Definition at line 54 of file LiveStacks.h.
Referenced by print().
|
inline |
Definition at line 57 of file LiveStacks.h.
|
inline |
Definition at line 55 of file LiveStacks.h.
Referenced by print().
|
inline |
Definition at line 63 of file LiveStacks.h.
|
inline |
Definition at line 70 of file LiveStacks.h.
|
inline |
|
inline |
Definition at line 59 of file LiveStacks.h.
LiveInterval & LiveStacks::getOrCreateInterval | ( | int | Slot, |
const TargetRegisterClass * | RC | ||
) |
Definition at line 53 of file LiveStacks.cpp.
References assert(), llvm::TargetRegisterInfo::getCommonSubClass(), I, and llvm::Register::index2StackSlot().
|
inline |
Definition at line 88 of file LiveStacks.h.
|
inline |
Definition at line 77 of file LiveStacks.h.
void LiveStacks::init | ( | MachineFunction & | MF | ) |
init - analysis entry point
Definition at line 46 of file LiveStacks.cpp.
References llvm::TargetSubtargetInfo::getRegisterInfo(), and llvm::MachineFunction::getSubtarget().
Referenced by llvm::LiveStacksAnalysis::run(), and llvm::LiveStacksWrapperLegacy::runOnMachineFunction().
void LiveStacks::print | ( | raw_ostream & | O, |
const Module * | M = nullptr |
||
) | const |
print - Implement the dump method.
Definition at line 99 of file LiveStacks.cpp.
References begin(), end(), getIntervalRegClass(), llvm::TargetRegisterInfo::getRegClassName(), I, and OS.
Referenced by llvm::LiveStacksWrapperLegacy::print().
void LiveStacks::releaseMemory | ( | ) |
Definition at line 39 of file LiveStacks.cpp.
References llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold, GrowthDelay >::Reset().