LLVM: lib/Target/SystemZ/SystemZFrameLowering.cpp File Reference (original) (raw)

Go to the source code of this file.

Functions
static void addSavedGPR (MachineBasicBlock &MBB, MachineInstrBuilder &MIB, unsigned GPR64, bool IsImplicit)
static void emitIncrement (MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, const DebugLoc &DL, Register Reg, int64_t NumBytes, const TargetInstrInfo *TII)
static void buildCFAOffs (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, const DebugLoc &DL, int Offset, const SystemZInstrInfo *ZII)
static void buildDefCFAReg (MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI, const DebugLoc &DL, unsigned Reg, const SystemZInstrInfo *ZII)
static bool isXPLeafCandidate (const MachineFunction &MF)

addSavedGPR()

Definition at line 300 of file SystemZFrameLowering.cpp.

References llvm::MachineBasicBlock::addLiveIn(), llvm::MachineInstrBuilder::addReg(), llvm::getImplRegState(), llvm::getKillRegState(), llvm::MachineBasicBlock::getParent(), llvm::TargetSubtargetInfo::getRegisterInfo(), llvm::TargetRegisterInfo::getSubReg(), llvm::MachineFunction::getSubtarget(), llvm::MachineBasicBlock::isLiveIn(), and MBB.

Referenced by llvm::SystemZELFFrameLowering::spillCalleeSavedRegisters(), and llvm::SystemZXPLINKFrameLowering::spillCalleeSavedRegisters().

buildCFAOffs()

buildDefCFAReg()

Definition at line 514 of file SystemZFrameLowering.cpp.

References llvm::MachineInstrBuilder::addCFIIndex(), llvm::MachineFunction::addFrameInst(), llvm::BuildMI(), llvm::MCCFIInstruction::createDefCfaRegister(), DL, llvm::MachineFunction::getContext(), llvm::MachineBasicBlock::getParent(), llvm::MCContext::getRegisterInfo(), MBB, MBBI, and MRI.

Referenced by llvm::SystemZELFFrameLowering::emitPrologue(), llvm::PPCFrameLowering::inlineStackProbe(), and llvm::SystemZELFFrameLowering::inlineStackProbe().

emitIncrement()

Definition at line 475 of file SystemZFrameLowering.cpp.

References llvm::MachineInstrBuilder::addImm(), llvm::MachineInstrBuilder::addReg(), llvm::BuildMI(), DL, MBB, MBBI, MI, and TII.

Referenced by llvm::SystemZELFFrameLowering::emitEpilogue(), llvm::SystemZXPLINKFrameLowering::emitEpilogue(), llvm::SystemZELFFrameLowering::emitPrologue(), llvm::SystemZXPLINKFrameLowering::emitPrologue(), and llvm::SystemZELFFrameLowering::inlineStackProbe().

isXPLeafCandidate()