summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMFrameInfo.h
Commit message (Collapse)AuthorAgeFilesLines
* pr4926: ARM requires the stack pointer to be aligned, even for leaf functions.Bob Wilson2009-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | For the AAPCS ABI, SP must always be 4-byte aligned, and at any "public interface" it must be 8-byte aligned. For the older ARM APCS ABI, the stack alignment is just always 4 bytes. For X86, we currently align SP at entry to a function (e.g., to 16 bytes for Darwin), but no stack alignment is needed at other times, such as for a leaf function. After discussing this with Dan, I decided to go with the approach of adding a new "TransientStackAlignment" field to TargetFrameInfo. This value specifies the stack alignment that must be maintained even in between calls. It defaults to 1 except for ARM, where it is 4. (Some other targets may also want to set this if they have similar stack requirements. It's not currently required for PPC because it sets targetHandlesStackFrameRounding and handles the alignment in target-specific code.) The existing StackAlignment value specifies the alignment upon entry to a function, which is how we've been using it anyway. llvm-svn: 82767
* Reorg includes.Evan Cheng2009-07-091-1/+1
| | | | llvm-svn: 75115
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+1
| | | | llvm-svn: 45418
* More explicit keywords.Dan Gohman2007-07-301-1/+1
| | | | llvm-svn: 40589
* ARM backend contribution from Apple.Evan Cheng2007-01-191-6/+4
| | | | llvm-svn: 33353
* use @ for commentsRafael Espindola2006-08-251-8/+0
| | | | | | | store LR in an arbitrary stack slot add support for writing varargs functions llvm-svn: 29876
* Declare the callee saved regsRafael Espindola2006-08-161-0/+43
Remove the hard coded store and load of the link register Implement ARMFrameInfo llvm-svn: 29727
OpenPOWER on IntegriCloud