LLVM API Documentation

PrologEpilogInserter.cpp File Reference

#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Support/Compiler.h"
#include "llvm/ADT/STLExtras.h"
#include <climits>

Include dependency graph for PrologEpilogInserter.cpp:

Go to the source code of this file.

Functions

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


Function Documentation

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

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

Definition at line 311 of file PrologEpilogInserter.cpp.

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


Variable Documentation

char ID [static]

Definition at line 37 of file PrologEpilogInserter.cpp.

Definition at line 103 of file PrologEpilogInserter.cpp.

Definition at line 103 of file PrologEpilogInserter.cpp.

Definition at line 99 of file PrologEpilogInserter.cpp.