LLVM
8.0.1
|
#include "llvm/CodeGen/LiveRegMatrix.h"
#include "RegisterCoalescer.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveInterval.h"
#include "llvm/CodeGen/LiveIntervalUnion.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
#include "llvm/MC/LaneBitmask.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "regalloc" |
Functions | |
STATISTIC (NumAssigned, "Number of registers assigned") | |
STATISTIC (NumUnassigned, "Number of registers unassigned") | |
INITIALIZE_PASS_BEGIN (LiveRegMatrix, "liveregmatrix", "Live Register Matrix", false, false) INITIALIZE_PASS_END(LiveRegMatrix | |
template<typename Callable > | |
static bool | foreachUnit (const TargetRegisterInfo *TRI, LiveInterval &VRegInterval, unsigned PhysReg, Callable Func) |
Variables | |
liveregmatrix | |
Live Register | Matrix |
Live Register | false |
#define DEBUG_TYPE "regalloc" |
Definition at line 33 of file LiveRegMatrix.cpp.
|
static |
Definition at line 80 of file LiveRegMatrix.cpp.
References llvm::LiveInterval::hasSubRanges(), llvm::MCRegisterInfo::DiffListIterator::isValid(), llvm::MCRegUnitMaskIterator::isValid(), llvm::BitmaskEnumDetail::Mask(), llvm::LiveInterval::subranges(), and Unit.
Referenced by llvm::LiveRegMatrix::assign(), llvm::LiveRegMatrix::checkInterference(), llvm::LiveRegMatrix::checkRegUnitInterference(), and llvm::LiveRegMatrix::unassign().
INITIALIZE_PASS_BEGIN | ( | LiveRegMatrix | , |
"liveregmatrix" | , | ||
"Live Register Matrix" | , | ||
false | , | ||
false | |||
) |
STATISTIC | ( | NumAssigned | , |
"Number of registers assigned" | |||
) |
STATISTIC | ( | NumUnassigned | , |
"Number of registers unassigned" | |||
) |
Live Register false |
Definition at line 43 of file LiveRegMatrix.cpp.
liveregmatrix |
Definition at line 43 of file LiveRegMatrix.cpp.
Live Register Matrix |
Definition at line 43 of file LiveRegMatrix.cpp.
Referenced by llvm::PBQP::applyR1(), llvm::PBQP::applyR2(), llvm::PBQP::backpropagate(), llvm::createGreedyRegisterAllocator(), getNumAllocatableRegsForConstraints(), llvm::SystemZRegisterInfo::getPointerRegClass(), llvm::TargetRegisterInfo::getRegPressureSetScore(), hasTiedDef(), and reorderSubVector().