LLVM  16.0.0git
Macros | Functions
CSKYFrameLowering.cpp File Reference
#include "CSKYFrameLowering.h"
#include "CSKYMachineFunctionInfo.h"
#include "CSKYSubtarget.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/MC/MCDwarf.h"
Include dependency graph for CSKYFrameLowering.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "csky-frame-lowering"
 

Functions

static Register getFPReg (const CSKYSubtarget &STI)
 
static Register getBPReg (const CSKYSubtarget &STI)
 
static unsigned EstimateFunctionSizeInBytes (const MachineFunction &MF, const CSKYInstrInfo &TII)
 
static unsigned estimateRSStackSizeLimit (MachineFunction &MF, const CSKYSubtarget &STI)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "csky-frame-lowering"

Definition at line 27 of file CSKYFrameLowering.cpp.

Function Documentation

◆ EstimateFunctionSizeInBytes()

static unsigned EstimateFunctionSizeInBytes ( const MachineFunction MF,
const CSKYInstrInfo TII 
)
static

Definition at line 274 of file CSKYFrameLowering.cpp.

References MBB, MI, and TII.

Referenced by llvm::CSKYFrameLowering::determineCalleeSaves().

◆ estimateRSStackSizeLimit()

static unsigned estimateRSStackSizeLimit ( MachineFunction MF,
const CSKYSubtarget STI 
)
static

◆ getBPReg()

static Register getBPReg ( const CSKYSubtarget STI)
static

◆ getFPReg()

static Register getFPReg ( const CSKYSubtarget STI)
static