LLVM  14.0.0git
Functions
RISCVFrameLowering.cpp File Reference
#include "RISCVFrameLowering.h"
#include "RISCVMachineFunctionInfo.h"
#include "RISCVSubtarget.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 RISCVFrameLowering.cpp:

Go to the source code of this file.

Functions

static void emitSCSPrologue (MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const DebugLoc &DL)
 
static void emitSCSEpilogue (MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const DebugLoc &DL)
 
static int getLibCallID (const MachineFunction &MF, const std::vector< CalleeSavedInfo > &CSI)
 
static const char * getSpillLibCallName (const MachineFunction &MF, const std::vector< CalleeSavedInfo > &CSI)
 
static const char * getRestoreLibCallName (const MachineFunction &MF, const std::vector< CalleeSavedInfo > &CSI)
 
static Register getFPReg (const RISCVSubtarget &STI)
 
static Register getSPReg (const RISCVSubtarget &STI)
 
static SmallVector< CalleeSavedInfo, 8 > getNonLibcallCSI (const MachineFunction &MF, const std::vector< CalleeSavedInfo > &CSI)
 
static bool hasRVVSpillWithFIs (MachineFunction &MF, const RISCVInstrInfo &TII)
 
static bool hasRVVFrameObject (const MachineFunction &MF)
 

Function Documentation

◆ emitSCSEpilogue()

static void emitSCSEpilogue ( MachineFunction MF,
MachineBasicBlock MBB,
MachineBasicBlock::iterator  MI,
const DebugLoc DL 
)
static

◆ emitSCSPrologue()

static void emitSCSPrologue ( MachineFunction MF,
MachineBasicBlock MBB,
MachineBasicBlock::iterator  MI,
const DebugLoc DL 
)
static

◆ getFPReg()

static Register getFPReg ( const RISCVSubtarget STI)
static

◆ getLibCallID()

static int getLibCallID ( const MachineFunction MF,
const std::vector< CalleeSavedInfo > &  CSI 
)
static

◆ getNonLibcallCSI()

static SmallVector<CalleeSavedInfo, 8> getNonLibcallCSI ( const MachineFunction MF,
const std::vector< CalleeSavedInfo > &  CSI 
)
static

◆ getRestoreLibCallName()

static const char* getRestoreLibCallName ( const MachineFunction MF,
const std::vector< CalleeSavedInfo > &  CSI 
)
static

◆ getSpillLibCallName()

static const char* getSpillLibCallName ( const MachineFunction MF,
const std::vector< CalleeSavedInfo > &  CSI 
)
static

◆ getSPReg()

static Register getSPReg ( const RISCVSubtarget STI)
static

◆ hasRVVFrameObject()

static bool hasRVVFrameObject ( const MachineFunction MF)
static

◆ hasRVVSpillWithFIs()

static bool hasRVVSpillWithFIs ( MachineFunction MF,
const RISCVInstrInfo TII 
)
static