Lines Matching defs:LiveIntervals

1 //===- LiveIntervals.cpp - Live Interval Analysis -------------------------===//
16 #include "llvm/CodeGen/LiveIntervals.h"
128 LiveIntervals::~LiveIntervals() { clear(); }
130 bool LiveIntervals::invalidate(
138 // LiveIntervals holds pointers to these results, so check for their
144 void LiveIntervals::clear() {
161 void LiveIntervals::analyze(MachineFunction &fn) {
185 void LiveIntervals::print(raw_ostream &OS) const {
208 void LiveIntervals::printInstrs(raw_ostream &OS) const {
214 LLVM_DUMP_METHOD void LiveIntervals::dumpInstrs() const {
220 LLVM_DUMP_METHOD void LiveIntervals::dump() const { print(dbgs()); }
223 LiveInterval *LiveIntervals::createInterval(Register reg) {
229 bool LiveIntervals::computeVirtRegInterval(LiveInterval &LI) {
237 void LiveIntervals::computeVirtRegs() {
251 void LiveIntervals::computeRegMasks() {
312 void LiveIntervals::computeRegUnitRange(LiveRange &LR, unsigned Unit) {
356 void LiveIntervals::computeLiveInRegUnits() {
404 void LiveIntervals::extendSegmentsToUses(LiveRange &Segments,
485 bool LiveIntervals::shrinkToUses(LiveInterval *li,
543 bool LiveIntervals::computeDeadValues(LiveInterval &LI,
587 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, Register Reg) {
656 void LiveIntervals::extendToIndices(LiveRange &LR,
665 void LiveIntervals::pruneValue(LiveRange &LR, SlotIndex Kill,
727 void LiveIntervals::addKillFlags(const VirtRegMap *VRM) {
860 LiveIntervals::intervalIsInOneMBB(const LiveInterval &LI) const {
886 LiveIntervals::hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const {
901 float LiveIntervals::getSpillWeight(bool isDef, bool isUse,
908 float LiveIntervals::getSpillWeight(bool isDef, bool isUse,
922 LiveIntervals::addSegmentToEndOfBlock(Register Reg, MachineInstr &startInst) {
955 bool LiveIntervals::checkRegMaskInterference(const LiveInterval &LI,
1025 class LiveIntervals::HMEditor {
1027 LiveIntervals& LIS;
1036 HMEditor(LiveIntervals& LIS, const MachineRegisterInfo& MRI,
1559 void LiveIntervals::handleMove(MachineInstr &MI, bool UpdateFlags) {
1575 void LiveIntervals::handleMoveIntoNewBundle(MachineInstr &BundleStart,
1613 void LiveIntervals::repairOldRegInRange(const MachineBasicBlock::iterator Begin,
1700 LiveIntervals::repairIntervalsInRange(MachineBasicBlock *MBB,
1776 void LiveIntervals::removePhysRegDefAt(MCRegister Reg, SlotIndex Pos) {
1784 void LiveIntervals::removeVRegDefAt(LiveInterval &LI, SlotIndex Pos) {
1802 void LiveIntervals::splitSeparateComponents(LiveInterval &LI,
1818 void LiveIntervals::constructMainRangeFromSubranges(LiveInterval &LI) {