LLVM API Documentation

PrologEpilogInserter.cpp File Reference

#include "PrologEpilogInserter.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineLoopInfo.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.

Variables

static RegisterPass< PEI > X ("prologepilog","Prologue/Epilogue Insertion")


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 433 of file PrologEpilogInserter.cpp.

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


Variable Documentation

RegisterPass<PEI> X("prologepilog","Prologue/Epilogue Insertion") [static]