LLVM API Documentation
#include "llvm/Function.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/SSARegMap.h"
#include "llvm/Target/MRegisterInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include "LiveIntervalAnalysis.h"
#include "PhysRegTracker.h"
#include "VirtRegMap.h"
#include <algorithm>
#include <cmath>
#include <set>
#include <queue>
Include dependency graph for RegAllocLinearScan.cpp:
Go to the source code of this file.
Defines | |
#define | DEBUG_TYPE "regalloc" |
Functions | |
static void | updateSpillWeights (std::vector< float > &Weights, unsigned reg, float weight, const MRegisterInfo *MRI) |
static RA::IntervalPtrs::iterator | FindIntervalInVector (RA::IntervalPtrs &IP, LiveInterval *LI) |
static void | RevertVectorIteratorsTo (RA::IntervalPtrs &V, unsigned Point) |
FunctionPass * | llvm::createLinearScanRegisterAllocator () |
|
Definition at line 14 of file RegAllocLinearScan.cpp. |
|
Definition at line 335 of file RegAllocLinearScan.cpp. |
|
Definition at line 342 of file RegAllocLinearScan.cpp. References I. |
|
updateSpillWeights - updates the spill weights of the specifed physical register and its weight. Definition at line 327 of file RegAllocLinearScan.cpp. References llvm::MRegisterInfo::getAliasSet(). |
|
|
|
|
|
Definition at line 41 of file RegAllocLinearScan.cpp. |
|
Definition at line 40 of file RegAllocLinearScan.cpp. |