LLVM API Documentation
#include <PPCMachineFunctionInfo.h>
Public Member Functions | |
| PPCFunctionInfo (MachineFunction &MF) | |
| int | getFramePointerSaveIndex () const |
| void | setFramePointerSaveIndex (int Idx) |
| int | getReturnAddrSaveIndex () const |
| void | setReturnAddrSaveIndex (int idx) |
| unsigned | getMinReservedArea () const |
| void | setMinReservedArea (unsigned size) |
| int | getTailCallSPDelta () const |
| void | setTailCallSPDelta (int size) |
| void | setMustSaveLR (bool U) |
| bool | mustSaveLR () const |
| void | setSpillsCR () |
| bool | isCRSpilled () const |
| void | setLRStoreRequired () |
| bool | isLRStoreRequired () const |
| void | setHasFastCall () |
| bool | hasFastCall () const |
Definition at line 23 of file PPCMachineFunctionInfo.h.
| llvm::PPCFunctionInfo::PPCFunctionInfo | ( | MachineFunction & | MF | ) | [inline] |
Definition at line 62 of file PPCMachineFunctionInfo.h.
| int llvm::PPCFunctionInfo::getFramePointerSaveIndex | ( | ) | const [inline] |
Definition at line 71 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::eliminateFrameIndex(), and llvm::PPCRegisterInfo::processFunctionBeforeCalleeSavedScan().
| void llvm::PPCFunctionInfo::setFramePointerSaveIndex | ( | int | Idx | ) | [inline] |
Definition at line 72 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::processFunctionBeforeCalleeSavedScan().
| int llvm::PPCFunctionInfo::getReturnAddrSaveIndex | ( | ) | const [inline] |
Definition at line 74 of file PPCMachineFunctionInfo.h.
| void llvm::PPCFunctionInfo::setReturnAddrSaveIndex | ( | int | idx | ) | [inline] |
Definition at line 75 of file PPCMachineFunctionInfo.h.
| unsigned llvm::PPCFunctionInfo::getMinReservedArea | ( | ) | const [inline] |
Definition at line 77 of file PPCMachineFunctionInfo.h.
Referenced by CalculateTailCallSPDiff(), and llvm::PPCRegisterInfo::emitEpilogue().
| void llvm::PPCFunctionInfo::setMinReservedArea | ( | unsigned | size | ) | [inline] |
Definition at line 78 of file PPCMachineFunctionInfo.h.
| int llvm::PPCFunctionInfo::getTailCallSPDelta | ( | ) | const [inline] |
Definition at line 80 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::emitEpilogue(), and llvm::PPCRegisterInfo::processFunctionBeforeCalleeSavedScan().
| void llvm::PPCFunctionInfo::setTailCallSPDelta | ( | int | size | ) | [inline] |
| void llvm::PPCFunctionInfo::setMustSaveLR | ( | bool | U | ) | [inline] |
MustSaveLR - This is set when the prolog/epilog inserter does its initial scan of the function. It is true if the LR/LR8 register is ever explicitly defined/clobbered in the machine function (e.g. by calls and movpctolr, which is used in PIC generation), or if the LR stack slot is explicitly referenced by builtin_return_address.
Definition at line 88 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::processFunctionBeforeCalleeSavedScan().
| bool llvm::PPCFunctionInfo::mustSaveLR | ( | ) | const [inline] |
Definition at line 89 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::emitEpilogue(), and llvm::PPCRegisterInfo::emitPrologue().
| void llvm::PPCFunctionInfo::setSpillsCR | ( | ) | [inline] |
Definition at line 91 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCInstrInfo::storeRegToAddr(), and llvm::PPCInstrInfo::storeRegToStackSlot().
| bool llvm::PPCFunctionInfo::isCRSpilled | ( | ) | const [inline] |
| void llvm::PPCFunctionInfo::setLRStoreRequired | ( | ) | [inline] |
Definition at line 94 of file PPCMachineFunctionInfo.h.
| bool llvm::PPCFunctionInfo::isLRStoreRequired | ( | ) | const [inline] |
| void llvm::PPCFunctionInfo::setHasFastCall | ( | ) | [inline] |
Definition at line 97 of file PPCMachineFunctionInfo.h.
| bool llvm::PPCFunctionInfo::hasFastCall | ( | ) | const [inline] |
Definition at line 98 of file PPCMachineFunctionInfo.h.
Referenced by llvm::PPCRegisterInfo::emitEpilogue().