LLVM API Documentation
#include "llvm/CodeGen/CalcSpillWeights.h"
#include "llvm/CodeGen/LiveIntervalAnalysis.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "calcspillweights" |
Functions | |
static unsigned | copyHint (const MachineInstr *mi, unsigned reg, const TargetRegisterInfo &tri, const MachineRegisterInfo &mri) |
static bool | isRematerializable (const LiveInterval &LI, const LiveIntervals &LIS, const TargetInstrInfo &TII) |
#define DEBUG_TYPE "calcspillweights" |
Definition at line 10 of file CalcSpillWeights.cpp.
|
static |
Definition at line 44 of file CalcSpillWeights.cpp.
References llvm::TargetRegisterClass::contains(), llvm::TargetRegisterInfo::getMatchingSuperReg(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), llvm::MachineRegisterInfo::getRegClass(), llvm::MachineOperand::getSubReg(), llvm::TargetRegisterInfo::isVirtualRegister(), and sub().
Referenced by llvm::VirtRegAuxInfo::calculateSpillWeightAndHint().
|
static |
Definition at line 75 of file CalcSpillWeights.cpp.
References llvm::VNInfo::def, llvm::LiveIntervals::getAliasAnalysis(), llvm::LiveIntervals::getInstructionFromIndex(), I, llvm::VNInfo::isPHIDef(), llvm::TargetInstrInfo::isTriviallyReMaterializable(), llvm::VNInfo::isUnused(), llvm::A64CC::MI, llvm::LiveRange::vni_begin(), and llvm::LiveRange::vni_end().
Referenced by llvm::VirtRegAuxInfo::calculateSpillWeightAndHint().