LLVM  3.7.0
Macros | Functions | Variables
AArch64FrameLowering.cpp File Reference
#include "AArch64FrameLowering.h"
#include "AArch64InstrInfo.h"
#include "AArch64MachineFunctionInfo.h"
#include "AArch64Subtarget.h"
#include "AArch64TargetMachine.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/RegisterScavenging.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for AArch64FrameLowering.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "frame-info"
 

Functions

 STATISTIC (NumRedZoneFunctions,"Number of functions using red zone")
 
static int getFPOffsetInPrologue (MachineInstr *MBBI)
 Get FPOffset by analyzing the first instruction. More...
 
static bool isCSSave (MachineInstr *MBBI)
 
static bool isCalleeSavedRegister (unsigned Reg, const MCPhysReg *CSRegs)
 
static bool isCSRestore (MachineInstr *MI, const MCPhysReg *CSRegs)
 
static unsigned getPrologueDeath (MachineFunction &MF, unsigned Reg)
 

Variables

static cl::opt< boolEnableRedZone ("aarch64-redzone", cl::desc("enable use of redzone on AArch64"), cl::init(false), cl::Hidden)
 

Macro Definition Documentation

#define DEBUG_TYPE   "frame-info"

Definition at line 110 of file AArch64FrameLowering.cpp.

Function Documentation

static int getFPOffsetInPrologue ( MachineInstr MBBI)
static
static unsigned getPrologueDeath ( MachineFunction MF,
unsigned  Reg 
)
static
static bool isCalleeSavedRegister ( unsigned  Reg,
const MCPhysReg CSRegs 
)
static

Definition at line 509 of file AArch64FrameLowering.cpp.

static bool isCSRestore ( MachineInstr MI,
const MCPhysReg CSRegs 
)
static
static bool isCSSave ( MachineInstr MBBI)
static
STATISTIC ( NumRedZoneFunctions  ,
"Number of functions using red zone"   
)

Variable Documentation

cl::opt<bool> EnableRedZone("aarch64-redzone", cl::desc("enable use of redzone on AArch64"), cl::init(false), cl::Hidden)
static