|
LLVM
4.0.0
|
#include "llvm/CodeGen/RegAllocPBQP.h"#include "RegisterCoalescer.h"#include "Spiller.h"#include "llvm/Analysis/AliasAnalysis.h"#include "llvm/CodeGen/CalcSpillWeights.h"#include "llvm/CodeGen/LiveIntervalAnalysis.h"#include "llvm/CodeGen/LiveRangeEdit.h"#include "llvm/CodeGen/LiveStackAnalysis.h"#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"#include "llvm/CodeGen/MachineDominators.h"#include "llvm/CodeGen/MachineFunctionPass.h"#include "llvm/CodeGen/MachineLoopInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/RegAllocRegistry.h"#include "llvm/CodeGen/VirtRegMap.h"#include "llvm/IR/Module.h"#include "llvm/Support/Debug.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Printable.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetInstrInfo.h"#include "llvm/Target/TargetSubtargetInfo.h"#include <limits>#include <memory>#include <queue>#include <set>#include <sstream>#include <vector>Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "regalloc" |
Functions | |
| static bool | isACalleeSavedRegister (unsigned reg, const TargetRegisterInfo &TRI, const MachineFunction &MF) |
| static float | normalizePBQPSpillWeight (float UseDefFreq, unsigned Size, unsigned NumInstr) |
| static Printable | PrintNodeInfo (PBQP::RegAlloc::PBQPRAGraph::NodeId NId, const PBQP::RegAlloc::PBQPRAGraph &G) |
| Create Printable object for node and register info. More... | |
Variables | |
| static RegisterRegAlloc | RegisterPBQPRepAlloc ("pbqp","PBQP register allocator", createDefaultPBQPRegisterAllocator) |
| static cl::opt< bool > | PBQPCoalescing ("pbqp-coalescing", cl::desc("Attempt coalescing during PBQP register allocation."), cl::init(false), cl::Hidden) |
| static cl::opt< bool > | PBQPDumpGraphs ("pbqp-dump-graphs", cl::desc("Dump graphs for each function/round in the compilation unit."), cl::init(false), cl::Hidden) |
| #define DEBUG_TYPE "regalloc" |
Definition at line 63 of file RegAllocPBQP.cpp.
|
static |
Definition at line 555 of file RegAllocPBQP.cpp.
References llvm::TargetRegisterInfo::getCalleeSavedRegs(), i, and llvm::TargetRegisterInfo::regsOverlap().
|
inlinestatic |
Definition at line 737 of file RegAllocPBQP.cpp.
References llvm::normalizeSpillWeight().
|
static |
Create Printable object for node and register info.
Definition at line 832 of file RegAllocPBQP.cpp.
References llvm::PBQP::Graph< SolverT >::getMetadata(), llvm::PBQP::Graph< SolverT >::getNodeMetadata(), llvm::MachineRegisterInfo::getRegClass(), llvm::TargetRegisterInfo::getRegClassName(), llvm::MachineRegisterInfo::getTargetRegisterInfo(), and llvm::PrintReg().
Referenced by llvm::PBQP::RegAlloc::PBQPRAGraph::dump(), and llvm::PBQP::RegAlloc::PBQPRAGraph::printDot().
|
static |
|
static |
|
static |
1.8.6