LLVM API Documentation

llvm::XCoreRegisterInfo Struct Reference

#include <XCoreRegisterInfo.h>

Inheritance diagram for llvm::XCoreRegisterInfo:
[legend]
Collaboration diagram for llvm::XCoreRegisterInfo:
[legend]

List of all members.

Public Member Functions

 XCoreRegisterInfo (const TargetInstrInfo &tii)
const unsigned * getCalleeSavedRegs (const MachineFunction *MF=0) const
 Code Generation virtual methods...
const TargetRegisterClass *const * getCalleeSavedRegClasses (const MachineFunction *MF=0) const
BitVector getReservedRegs (const MachineFunction &MF) const
bool requiresRegisterScavenging (const MachineFunction &MF) const
bool hasFP (const MachineFunction &MF) const
void eliminateCallFramePseudoInstr (MachineFunction &MF, MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const
void eliminateFrameIndex (MachineBasicBlock::iterator II, int SPAdj, RegScavenger *RS=NULL) const
void processFunctionBeforeCalleeSavedScan (MachineFunction &MF, RegScavenger *RS=NULL) const
void processFunctionBeforeFrameFinalized (MachineFunction &MF) const
void emitPrologue (MachineFunction &MF) const
void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const
unsigned getRARegister () const
unsigned getFrameRegister (MachineFunction &MF) const
void getInitialFrameState (std::vector< MachineMove > &Moves) const
int getDwarfRegNum (unsigned RegNum, bool isEH) const
 Get DWARF debugging register number.

Static Public Member Functions

static const unsigned * getArgRegs (const MachineFunction *MF=0)
 Return the array of argument passing registers.
static unsigned getNumArgRegs (const MachineFunction *MF=0)
 Return the size of the argument passing register array.
static bool needsFrameMoves (const MachineFunction &MF)
 Return whether to emit frame moves.


Detailed Description

Definition at line 24 of file XCoreRegisterInfo.h.


Constructor & Destructor Documentation

XCoreRegisterInfo::XCoreRegisterInfo ( const TargetInstrInfo &  tii  ) 

Definition at line 36 of file XCoreRegisterInfo.cpp.


Member Function Documentation

const unsigned * XCoreRegisterInfo::getCalleeSavedRegs ( const MachineFunction *  MF = 0  )  const

Code Generation virtual methods...

Definition at line 77 of file XCoreRegisterInfo.cpp.

const TargetRegisterClass *const * XCoreRegisterInfo::getCalleeSavedRegClasses ( const MachineFunction *  MF = 0  )  const

Definition at line 88 of file XCoreRegisterInfo.cpp.

BitVector XCoreRegisterInfo::getReservedRegs ( const MachineFunction &  MF  )  const

Definition at line 99 of file XCoreRegisterInfo.cpp.

References CP, hasFP(), and llvm::BitVector::set().

bool XCoreRegisterInfo::requiresRegisterScavenging ( const MachineFunction &  MF  )  const

Definition at line 112 of file XCoreRegisterInfo.cpp.

References hasFP().

Referenced by processFunctionBeforeCalleeSavedScan().

bool XCoreRegisterInfo::hasFP ( const MachineFunction &  MF  )  const

void XCoreRegisterInfo::eliminateCallFramePseudoInstr ( MachineFunction &  MF,
MachineBasicBlock &  MBB,
MachineBasicBlock::iterator  I 
) const

void XCoreRegisterInfo::eliminateFrameIndex ( MachineBasicBlock::iterator  II,
int  SPAdj,
RegScavenger *  RS = NULL 
) const

void XCoreRegisterInfo::processFunctionBeforeCalleeSavedScan ( MachineFunction &  MF,
RegScavenger *  RS = NULL 
) const

void XCoreRegisterInfo::processFunctionBeforeFrameFinalized ( MachineFunction &  MF  )  const

Definition at line 346 of file XCoreRegisterInfo.cpp.

void XCoreRegisterInfo::emitPrologue ( MachineFunction &  MF  )  const

void XCoreRegisterInfo::emitEpilogue ( MachineFunction &  MF,
MachineBasicBlock &  MBB 
) const

unsigned XCoreRegisterInfo::getRARegister (  )  const

Definition at line 581 of file XCoreRegisterInfo.cpp.

unsigned XCoreRegisterInfo::getFrameRegister ( MachineFunction &  MF  )  const

Definition at line 575 of file XCoreRegisterInfo.cpp.

References hasFP().

void XCoreRegisterInfo::getInitialFrameState ( std::vector< MachineMove > &  Moves  )  const

Definition at line 585 of file XCoreRegisterInfo.cpp.

References Src, and llvm::MachineLocation::VirtualFP.

const unsigned * XCoreRegisterInfo::getArgRegs ( const MachineFunction *  MF = 0  )  [static]

Return the array of argument passing registers.

Note:
The size of this array is returned by getArgRegsSize().

Definition at line 58 of file XCoreRegisterInfo.cpp.

unsigned XCoreRegisterInfo::getNumArgRegs ( const MachineFunction *  MF = 0  )  [static]

Return the size of the argument passing register array.

Definition at line 63 of file XCoreRegisterInfo.cpp.

References llvm::array_lengthof().

bool XCoreRegisterInfo::needsFrameMoves ( const MachineFunction &  MF  )  [static]

int XCoreRegisterInfo::getDwarfRegNum ( unsigned  RegNum,
bool  isEH 
) const

Get DWARF debugging register number.

Definition at line 571 of file XCoreRegisterInfo.cpp.


The documentation for this struct was generated from the following files: