LLVM API Documentation

AlphaRegisterInfo.cpp File Reference

#include "Alpha.h"
#include "AlphaRegisterInfo.h"
#include "llvm/Constants.h"
#include "llvm/Type.h"
#include "llvm/Function.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineLocation.h"
#include "llvm/Target/TargetFrameInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/STLExtras.h"
#include <cstdlib>
#include <iostream>
#include "AlphaGenRegisterInfo.inc"

Include dependency graph for AlphaRegisterInfo.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "reginfo"

Functions

static long getUpper16 (long l)
static long getLower16 (long l)
static int getUID ()
static bool hasFP (MachineFunction &MF)

Variables

static const int IMM_LOW = -32768
static const int IMM_HIGH = 32767
static const int IMM_MULT = 65536


Define Documentation

#define DEBUG_TYPE   "reginfo"

Definition at line 14 of file AlphaRegisterInfo.cpp.


Function Documentation

static long getLower16 ( long  l  )  [static]

Definition at line 48 of file AlphaRegisterInfo.cpp.

References getUpper16(), and IMM_MULT.

static int getUID (  )  [static]

Definition at line 54 of file AlphaRegisterInfo.cpp.

static long getUpper16 ( long  l  )  [static]

Definition at line 40 of file AlphaRegisterInfo.cpp.

References IMM_HIGH, and IMM_MULT.

static bool hasFP ( MachineFunction MF  )  [static]

Definition at line 156 of file AlphaRegisterInfo.cpp.

References llvm::MachineFunction::getFrameInfo(), llvm::MachineFrameInfo::hasVarSizedObjects(), and MF.

Referenced by llvm::X86RegisterInfo::eliminateCallFramePseudoInstr(), llvm::PPCRegisterInfo::eliminateCallFramePseudoInstr(), llvm::IA64RegisterInfo::eliminateCallFramePseudoInstr(), llvm::AlphaRegisterInfo::eliminateCallFramePseudoInstr(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::IA64RegisterInfo::eliminateFrameIndex(), llvm::AlphaRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::emitEpilogue(), llvm::PPCRegisterInfo::emitEpilogue(), llvm::IA64RegisterInfo::emitEpilogue(), llvm::AlphaRegisterInfo::emitEpilogue(), llvm::X86RegisterInfo::emitPrologue(), llvm::PPCRegisterInfo::emitPrologue(), llvm::IA64RegisterInfo::emitPrologue(), llvm::AlphaRegisterInfo::emitPrologue(), llvm::X86RegisterInfo::getFrameRegister(), llvm::PPCRegisterInfo::getFrameRegister(), llvm::IA64RegisterInfo::getFrameRegister(), llvm::AlphaRegisterInfo::getFrameRegister(), and llvm::X86RegisterInfo::processFunctionBeforeFrameFinalized().


Variable Documentation

const int IMM_HIGH = 32767 [static]

Definition at line 37 of file AlphaRegisterInfo.cpp.

const int IMM_LOW = -32768 [static]

Definition at line 36 of file AlphaRegisterInfo.cpp.

const int IMM_MULT = 65536 [static]

Definition at line 38 of file AlphaRegisterInfo.cpp.