|
LLVM
3.7.0
|
#include "llvm/CodeGen/LiveInterval.h"#include "RegisterCoalescer.h"#include "llvm/ADT/DenseMap.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallSet.h"#include "llvm/CodeGen/LiveIntervalAnalysis.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Format.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetRegisterInfo.h"#include <algorithm>Go to the source code of this file.
Functions | |
| static VNInfo * | searchForVNI (const SlotIndexes &Indexes, LiveRange &LR, const MachineBasicBlock *MBB, SmallPtrSetImpl< const MachineBasicBlock * > &Visited) |
| Helper function for constructMainRangeFromSubranges(): Search the CFG backwards until we find a place covered by a LiveRange segment that actually has a valno set. More... | |
| static void | determineMissingVNIs (const SlotIndexes &Indexes, LiveInterval &LI) |
| static bool | coalescable (const LiveRange::Segment &A, const LiveRange::Segment &B) |
|
inlinestatic |
Definition at line 1180 of file LiveInterval.cpp.
References llvm::LiveRange::Segment::end, llvm::LiveRange::Segment::start, and llvm::LiveRange::Segment::valno.
Referenced by llvm::LiveRangeUpdater::add().
|
static |
Definition at line 817 of file LiveInterval.cpp.
References llvm::LiveRange::begin(), llvm::SmallPtrSetImplBase::clear(), llvm::LiveRange::Segment::end, llvm::LiveRange::end(), llvm::SmallVectorImpl< T >::erase(), llvm::SlotIndexes::getMBBFromIndex(), I, llvm::SlotIndex::isBlock(), llvm::MachineBasicBlock::predecessors(), searchForVNI(), llvm::LiveRange::segments, llvm::LiveRange::Segment::start, and llvm::LiveRange::Segment::valno.
Referenced by llvm::LiveInterval::constructMainRangeFromSubranges().
|
static |
Helper function for constructMainRangeFromSubranges(): Search the CFG backwards until we find a place covered by a LiveRange segment that actually has a valno set.
Definition at line 787 of file LiveInterval.cpp.
References llvm::LiveRange::end(), llvm::LiveRange::find(), llvm::SlotIndexes::getMBBEndIdx(), llvm::SlotIndex::getPrevSlot(), I, llvm::SmallPtrSetImpl< PtrType >::insert(), and llvm::MachineBasicBlock::predecessors().
Referenced by determineMissingVNIs().
1.8.6