LLVM API Documentation

Public Member Functions
llvm::NVPTXFrameLowering Class Reference

#include <NVPTXFrameLowering.h>

Inheritance diagram for llvm::NVPTXFrameLowering:
Inheritance graph
[legend]
Collaboration diagram for llvm::NVPTXFrameLowering:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NVPTXFrameLowering (NVPTXSubtarget &STI)
bool hasFP (const MachineFunction &MF) const override
void emitPrologue (MachineFunction &MF) const override
void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const override
void eliminateCallFramePseudoInstr (MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const override

Detailed Description

Definition at line 21 of file NVPTXFrameLowering.h.


Constructor & Destructor Documentation

Definition at line 29 of file NVPTXFrameLowering.cpp.


Member Function Documentation

eliminateCallFramePseudoInstr - This method is called during prolog/epilog code insertion to eliminate call frame setup and destroy pseudo instructions (but only if the Target is using them). It is responsible for eliminating these instructions, replacing them with concrete instructions. This method need only be implemented if using call frame setup/destroy pseudo instructions.

Reimplemented from llvm::TargetFrameLowering.

Definition at line 75 of file NVPTXFrameLowering.cpp.

References llvm::MachineBasicBlock::erase().

void NVPTXFrameLowering::emitEpilogue ( MachineFunction MF,
MachineBasicBlock MBB 
) const [override, virtual]

Implements llvm::TargetFrameLowering.

Definition at line 70 of file NVPTXFrameLowering.cpp.

void NVPTXFrameLowering::emitPrologue ( MachineFunction MF) const [override, virtual]
bool NVPTXFrameLowering::hasFP ( const MachineFunction MF) const [override, virtual]

hasFP - Return true if the specified function should have a dedicated frame pointer register. For most targets this is true only if the function has variable sized allocas or if frame pointer elimination is disabled.

Implements llvm::TargetFrameLowering.

Definition at line 33 of file NVPTXFrameLowering.cpp.


The documentation for this class was generated from the following files: