LLVM  3.7.0
Functions
LiveInterval.cpp File Reference
#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>
Include dependency graph for LiveInterval.cpp:

Go to the source code of this file.

Functions

static VNInfosearchForVNI (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)
 

Function Documentation

static bool coalescable ( const LiveRange::Segment A,
const LiveRange::Segment B 
)
inlinestatic
static void determineMissingVNIs ( const SlotIndexes Indexes,
LiveInterval LI 
)
static
static VNInfo* searchForVNI ( const SlotIndexes Indexes,
LiveRange LR,
const MachineBasicBlock MBB,
SmallPtrSetImpl< const MachineBasicBlock * > &  Visited 
)
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().