LLVM 20.0.0git
|
#include "SystemZFrameLowering.h"
#include "SystemZCallingConv.h"
#include "SystemZInstrBuilder.h"
#include "SystemZInstrInfo.h"
#include "SystemZMachineFunctionInfo.h"
#include "SystemZRegisterInfo.h"
#include "SystemZSubtarget.h"
#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/Function.h"
#include "llvm/Target/TargetMachine.h"
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) |
|
static |
Definition at line 301 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().
|
static |
Definition at line 504 of file SystemZFrameLowering.cpp.
References llvm::MachineInstrBuilder::addCFIIndex(), llvm::MachineFunction::addFrameInst(), llvm::BuildMI(), llvm::MCCFIInstruction::cfiDefCfaOffset(), DL, llvm::MachineBasicBlock::getParent(), MBB, MBBI, and llvm::Offset.
Referenced by llvm::SystemZELFFrameLowering::emitPrologue(), and llvm::SystemZELFFrameLowering::inlineStackProbe().
|
static |
Definition at line 515 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().
|
static |
Definition at line 476 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().
|
static |
Definition at line 918 of file SystemZFrameLowering.cpp.
References llvm::MachineFrameInfo::adjustsStack(), llvm::MachineFrameInfo::estimateStackSize(), llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getRegInfo(), llvm::SystemZSubtarget::getSpecialRegisters(), llvm::MachineFunction::getSubtarget(), llvm::MachineFrameInfo::hasCalls(), llvm::MachineFrameInfo::hasVarSizedObjects(), and MRI.
Referenced by llvm::SystemZXPLINKFrameLowering::assignCalleeSavedSpillSlots().