summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsFrameLowering.h
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize header guards into a common format.Benjamin Kramer2014-08-131-2/+2
| | | | | | | | | | Add header guards to files that were missing guards. Remove #endif comments as they don't seem common in LLVM (we can easily add them back if we decide they're useful) Changes made by clang-tidy with minor tweaks. llvm-svn: 215558
* FrameLowering depends only upon the Subtarget, so only take a subtargetEric Christopher2014-07-181-2/+1
| | | | | | during initialization. llvm-svn: 213429
* So that we can include frame lowering in the subtarget, remove includeEric Christopher2014-07-021-1/+0
| | | | | | | circular dependency with the subtarget by inlining accessor methods and outlining a routine. llvm-svn: 212236
* [C++11] Add 'override' keywords and remove 'virtual'. Additionally add ↵Craig Topper2014-04-291-1/+1
| | | | | | 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition llvm-svn: 207506
* [mips] Add parameter Alignment to MipsFrameLowering's constructor.Akira Hatanaka2013-03-291-3/+2
| | | | | | No functionality changes. llvm-svn: 178326
* [mips] Rename function and variable names to start with proper case. Fix typos.Akira Hatanaka2013-03-121-1/+1
| | | | | | Delete commented-out code. llvm-svn: 176844
* [mips] Add function MipsFrameLowering::estimateStackSize.Akira Hatanaka2012-11-021-0/+3
| | | | | | | This function estimates stack size and will be called before PrologEpilogInserter scans the callee-saved registers. llvm-svn: 167313
* Move the code that creates instances of MipsInstrInfo and MipsFrameLowering outAkira Hatanaka2012-08-021-0/+7
| | | | | | of MipsTargetMachine.cpp. llvm-svn: 161191
* Set transient stack alignment in constructor of MipsFrameLowering and re-enableAkira Hatanaka2012-08-021-3/+2
| | | | | | test o32_cc_vararg.ll. llvm-svn: 161189
* Add definitions of two subclasses of MipsFrameLowering, Mips16FrameLowering andAkira Hatanaka2012-07-311-13/+0
| | | | | | | | | | MipsSEFrameLowering. Implement MipsSEFrameLowering::hasReservedCallFrame. Call frames will not be reserved if there is a call with a large call frame or there are variable sized objects on the stack. llvm-svn: 161090
* Let PEI::calculateFrameObjectOffsets compute the final stack size rather thanAkira Hatanaka2012-07-311-2/+0
| | | | | | computing it in MipsFrameLowering::emitPrologue. llvm-svn: 161078
* Make register Mips::RA allocatable if not in mips16 mode.Akira Hatanaka2012-07-101-0/+5
| | | | llvm-svn: 159971
* remove blanks, and some code formatJia Liu2012-02-281-1/+1
| | | | llvm-svn: 151625
* Mips64 aligns stack on 16-byte boundary.Akira Hatanaka2011-09-221-1/+2
| | | | llvm-svn: 140292
* Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions forEvan Cheng2011-07-181-2/+0
| | | | | | better location welcome). llvm-svn: 135438
* Add support for C++ exception handling.Akira Hatanaka2011-05-261-0/+2
| | | | llvm-svn: 132131
* Change StackDirection from StackGrowsUp to StackGrowsDown.Akira Hatanaka2011-05-231-4/+2
| | | | | | | | | | | | | | | | The following improvements are accomplished as a result of applying this patch: - Fixed frame objects' offsets (relative to either the virtual frame pointer or the stack pointer) are set before instruction selection is completed. There is no need to wait until Prologue/Epilogue Insertion is run to set them. - Calculation of final offsets of fixed frame objects is straightforward. It is no longer necessary to assign negative offsets to fixed objects for incoming arguments in order to distinguish them from the others. - Since a fixed object has its relative offset set during instruction selection, there is no need to conservatively set its alignment to 4. - It is no longer necessary to reorder non-fixed frame objects in MipsFrameLowering::adjustMipsStackFrame. llvm-svn: 131915
* Make $fp and $ra callee-saved registers and let PrologEpilogInserter handleAkira Hatanaka2011-05-201-0/+2
| | | | | | saving and restoring them. llvm-svn: 131745
* Reverse unnecessary changes made in r129606 and r129608. There is no change ↵Akira Hatanaka2011-04-151-3/+3
| | | | | | in functionality. llvm-svn: 129612
* Fix lines that have incorrect indentation or exceed 80 columns. There is no ↵Akira Hatanaka2011-04-151-3/+3
| | | | | | change in functionality. llvm-svn: 129606
* Fix an old copy-n-pasteBruno Cardoso Lopes2011-03-041-2/+2
| | | | llvm-svn: 127020
* Ensure Mips::GP is properly reloaded after a function call. Patch by Sasa ↵Bruno Cardoso Lopes2011-01-181-0/+2
| | | | | | Stankovic llvm-svn: 123768
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-101-0/+46
and fixes here and there. llvm-svn: 123170
OpenPOWER on IntegriCloud