Lines Matching refs:LiveVariables

1 //===-- LiveVariables.cpp - Live Variable Analysis for Machine Code -------===//
28 #include "llvm/CodeGen/LiveVariables.h"
74 LiveVariables::LiveVariables(MachineFunction &MF)
79 void LiveVariables::print(raw_ostream &OS) const {
88 LiveVariables::VarInfo::findKill(const MachineBasicBlock *MBB) const {
95 void LiveVariables::VarInfo::print(raw_ostream &OS) const {
110 LLVM_DUMP_METHOD void LiveVariables::VarInfo::dump() const { print(dbgs()); }
114 LiveVariables::VarInfo &LiveVariables::getVarInfo(Register Reg) {
120 void LiveVariables::MarkVirtRegAliveInBlock(
145 void LiveVariables::MarkVirtRegAliveInBlock(VarInfo &VRInfo,
157 void LiveVariables::HandleVirtRegUse(Register Reg, MachineBasicBlock *MBB,
208 void LiveVariables::HandleVirtRegDef(Register Reg, MachineInstr &MI) {
219 LiveVariables::FindLastPartialDef(Register Reg,
255 void LiveVariables::HandlePhysRegUse(Register Reg, MachineInstr &MI) {
303 MachineInstr *LiveVariables::FindLastRefOrPartRef(Register Reg) {
332 bool LiveVariables::HandlePhysRegKill(Register Reg, MachineInstr *MI) {
440 void LiveVariables::HandleRegMask(const MachineOperand &MO, unsigned NumRegs) {
462 void LiveVariables::HandlePhysRegDef(Register Reg, MachineInstr *MI,
501 void LiveVariables::UpdatePhysRegDefs(MachineInstr &MI,
512 void LiveVariables::runOnInstr(MachineInstr &MI,
575 void LiveVariables::runOnBlock(MachineBasicBlock *MBB, unsigned NumRegs) {
628 void LiveVariables::analyze(MachineFunction &mf) {
639 // LiveVariables to improve compilation time and eliminate bizarre pass
684 void LiveVariables::recomputeForSingleDefVirtReg(Register Reg) {
770 void LiveVariables::replaceKillInstruction(Register Reg, MachineInstr &OldMI,
778 void LiveVariables::removeVirtualRegistersKilled(MachineInstr &MI) {
796 void LiveVariables::analyzePHINodes(const MachineFunction& Fn) {
808 bool LiveVariables::VarInfo::isLiveIn(const MachineBasicBlock &MBB,
825 bool LiveVariables::isLiveOut(Register Reg, const MachineBasicBlock &MBB) {
826 LiveVariables::VarInfo &VI = getVarInfo(Reg);
850 void LiveVariables::addNewBlock(MachineBasicBlock *BB,
900 void LiveVariables::addNewBlock(MachineBasicBlock *BB,
909 LiveVariables::VarInfo &VI = getVarInfo(VirtReg);