LLVM API Documentation

Defines | Functions
NVPTXPrologEpilogPass.cpp File Reference
#include "NVPTX.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetFrameLowering.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for NVPTXPrologEpilogPass.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "nvptx-prolog-epilog"

Functions

static void AdjustStackOffset (MachineFrameInfo *MFI, int FrameIdx, bool StackGrowsDown, int64_t &Offset, unsigned &MaxAlign)
 AdjustStackOffset - Helper function used to adjust the stack frame offset.

Define Documentation

#define DEBUG_TYPE   "nvptx-prolog-epilog"

Definition at line 29 of file NVPTXPrologEpilogPass.cpp.


Function Documentation

static void AdjustStackOffset ( MachineFrameInfo MFI,
int  FrameIdx,
bool  StackGrowsDown,
int64_t &  Offset,
unsigned MaxAlign 
) [inline, static]

AdjustStackOffset - Helper function used to adjust the stack frame offset.

Definition at line 84 of file NVPTXPrologEpilogPass.cpp.

References Align(), llvm::dbgs(), DEBUG, llvm::MachineFrameInfo::getObjectAlignment(), llvm::MachineFrameInfo::getObjectSize(), and llvm::MachineFrameInfo::setObjectOffset().