|
LLVM
4.0.0
|
#include "llvm/CodeGen/LivePhysRegs.h"#include "llvm/CodeGen/MachineFrameInfo.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstrBundle.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Functions | |
| static void | addPristines (LivePhysRegs &LiveRegs, const MachineFunction &MF, const MachineFrameInfo &MFI, const TargetRegisterInfo &TRI) |
Add pristine registers to the given LiveRegs. More... | |
|
static |
Add pristine registers to the given LiveRegs.
This function removes actually saved callee save registers when InPrologueEpilogue is false.
Definition at line 161 of file LivePhysRegs.cpp.
References llvm::LivePhysRegs::addReg(), llvm::MachineFrameInfo::getCalleeSavedInfo(), llvm::TargetRegisterInfo::getCalleeSavedRegs(), and llvm::LivePhysRegs::removeReg().
Referenced by llvm::LivePhysRegs::addLiveIns(), and llvm::LivePhysRegs::addLiveOuts().
1.8.6