#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/LiveRegUnits.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBundle.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
void LivePhysRegs::removeRegsInMask(const MachineOperand &MO,
SmallVectorImpl<std::pair<MCPhysReg, const MachineOperand*>> *Clobbers) { … }
void LivePhysRegs::removeDefs(const MachineInstr &MI) { … }
void LivePhysRegs::addUses(const MachineInstr &MI) { … }
void LivePhysRegs::stepBackward(const MachineInstr &MI) { … }
void LivePhysRegs::stepForward(const MachineInstr &MI,
SmallVectorImpl<std::pair<MCPhysReg, const MachineOperand*>> &Clobbers) { … }
void LivePhysRegs::print(raw_ostream &OS) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void LivePhysRegs::dump() const {
dbgs() << " " << *this;
}
#endif
bool LivePhysRegs::available(const MachineRegisterInfo &MRI,
MCPhysReg Reg) const { … }
void LivePhysRegs::addBlockLiveIns(const MachineBasicBlock &MBB) { … }
static void addCalleeSavedRegs(LivePhysRegs &LiveRegs,
const MachineFunction &MF) { … }
void LivePhysRegs::addPristines(const MachineFunction &MF) { … }
void LivePhysRegs::addLiveOutsNoPristines(const MachineBasicBlock &MBB) { … }
void LivePhysRegs::addLiveOuts(const MachineBasicBlock &MBB) { … }
void LivePhysRegs::addLiveIns(const MachineBasicBlock &MBB) { … }
void LivePhysRegs::addLiveInsNoPristines(const MachineBasicBlock &MBB) { … }
void llvm::computeLiveIns(LivePhysRegs &LiveRegs,
const MachineBasicBlock &MBB) { … }
void llvm::addLiveIns(MachineBasicBlock &MBB, const LivePhysRegs &LiveRegs) { … }
void llvm::recomputeLivenessFlags(MachineBasicBlock &MBB) { … }
void llvm::computeAndAddLiveIns(LivePhysRegs &LiveRegs,
MachineBasicBlock &MBB) { … }