MandarinFrameLowering.cpp
// hasFP - Return true if the specified function should have a dedicated frame
// pointer register.  This is true if the function has variable sized allocas or
// if frame pointer elimination is disabled.
Return true if the specified function should have a dedicated frame
pointer register.  This is true if the function has variable sized allocas or
if frame pointer elimination is disabled.
Return true if the specified function should have a dedicated frame pointer register . This is true if the function has variable sized allocas or if frame pointer elimination is disabled .
bool MandarinFrameLowering::hasFP(const MachineFunction &MF) const {
  const MachineFrameInfo *MFI = MF.getFrameInfo();
  return MF.getTarget().Options.DisableFramePointerElim(MF) ||
    MFI->hasVarSizedObjects() || MFI->isFrameAddressTaken();
}
bool MandarinFrameLowering :: hasFP ( const MachineFunction & MF ) const { const MachineFrameInfo * MFI = MF . getFrameInfo ( ) ; return MF . getTarget ( ) . Options . DisableFramePointerElim ( MF ) || MFI -> hasVarSizedObjects ( ) || MFI -> isFrameAddressTaken ( ) ; }
hasFP - Return true if the specified function should have a dedicated frame
pointer register.
hasFP - Return true if the specified function should have a dedicated frame pointer register .