summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CallingConvLower.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename the ParmContext enum values to make a bit more sense and add a smallCameron Zwarich2011-06-101-1/+1
| | | | | | comment on their meaning. llvm-svn: 132854
* Remove tabs.Cameron Zwarich2011-06-101-2/+2
| | | | llvm-svn: 132853
* Remove a pointless const_cast.Cameron Zwarich2011-06-101-1/+1
| | | | llvm-svn: 132852
* Recommit r132764 since it didn't cause the windows buildbot failures.Eric Christopher2011-06-091-0/+2
| | | | llvm-svn: 132776
* Temporarily revert 132764 to see if it fixes the Windows buildbot.Eric Christopher2011-06-091-2/+0
| | | | llvm-svn: 132771
* If the alignment of the byval argument is greater than the alignmentEric Christopher2011-06-091-0/+2
| | | | | | | | | of the frame then increase the maximum alignment of the frame to match. Fixes PR6965 llvm-svn: 132764
* Add a parameter to CCState so that it can access the MachineFunction.Eric Christopher2011-06-081-6/+8
| | | | | | | | No functional change. Part of PR6965 llvm-svn: 132763
* Reverting 132105: it broke some LLVM-GCC DejaGNU tests.Stuart Hastings2011-05-261-7/+2
| | | | llvm-svn: 132108
* Correctly handle a one-word struct passed byval on x86_64.Stuart Hastings2011-05-261-2/+7
| | | | | | rdar://problem/6920088 llvm-svn: 132105
* Revert 131467 due to buildbot complaint.Stuart Hastings2011-05-171-6/+2
| | | | llvm-svn: 131469
* Fix an obscure issue in X86_64 parameter passing: if a tiny byval isStuart Hastings2011-05-171-2/+6
| | | | | | | passed as the fifth parameter, insure it's passed correctly (in R9). rdar://problem/6920088 llvm-svn: 131467
* ARM byval support. Will be enabled by another patch to the FE. ↵Stuart Hastings2011-04-201-3/+4
| | | | | | <rdar://problem/7662569> llvm-svn: 129858
* Improve readability with some whitespace!Eric Christopher2011-03-041-1/+1
| | | | llvm-svn: 127043
* Support for byval parameters on ARM. Will be enabled by a forthcomingStuart Hastings2011-02-281-0/+2
| | | | | | patch to the front-end. Radar 7662569. llvm-svn: 126655
* Simplify CCState's use of register aliases.Jakob Stoklund Olesen2010-12-141-5/+3
| | | | llvm-svn: 121806
* In the calling convention logic, ValVT is always a legal type,Duncan Sands2010-11-041-1/+1
| | | | | | | and as such can be represented by an MVT - the more complicated EVT is not needed. Use MVT for ValVT everywhere. llvm-svn: 118245
* Inside the calling convention logic LocVT is always a simpleDuncan Sands2010-11-031-15/+15
| | | | | | | | | | value type, so there is no point in passing it around using an EVT. Use the simpler MVT everywhere. Rather than trying to propagate this information maximally in all the code that using the calling convention stuff, I chose to do a mainly low impact change instead. llvm-svn: 118167
* Reapply bottom-up fast-isel, with several fixes for x86-32:Dan Gohman2010-07-101-5/+4
| | | | | | | | | - Check getBytesToPopOnReturn(). - Eschew ST0 and ST1 for return values. - Fix the PIC base register initialization so that it doesn't ever fail to end up the top of the entry block. llvm-svn: 108039
* --- Reverse-merging r107947 into '.':Bob Wilson2010-07-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | U utils/TableGen/FastISelEmitter.cpp --- Reverse-merging r107943 into '.': U test/CodeGen/X86/fast-isel.ll U test/CodeGen/X86/fast-isel-loads.ll U include/llvm/Target/TargetLowering.h U include/llvm/Support/PassNameParser.h U include/llvm/CodeGen/FunctionLoweringInfo.h U include/llvm/CodeGen/CallingConvLower.h U include/llvm/CodeGen/FastISel.h U include/llvm/CodeGen/SelectionDAGISel.h U lib/CodeGen/LLVMTargetMachine.cpp U lib/CodeGen/CallingConvLower.cpp U lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp U lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp U lib/CodeGen/SelectionDAG/FastISel.cpp U lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp U lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp U lib/CodeGen/SelectionDAG/InstrEmitter.cpp U lib/CodeGen/SelectionDAG/TargetLowering.cpp U lib/Target/XCore/XCoreISelLowering.cpp U lib/Target/XCore/XCoreISelLowering.h U lib/Target/X86/X86ISelLowering.cpp U lib/Target/X86/X86FastISel.cpp U lib/Target/X86/X86ISelLowering.h llvm-svn: 107987
* Re-apply bottom-up fast-isel, with fixes. Be very careful to avoid emittingDan Gohman2010-07-091-5/+4
| | | | | | a DBG_VALUE after a terminator, or emitting any instructions before an EH_LABEL. llvm-svn: 107943
* Revert 107840 107839 107813 107804 107800 107797 107791.Dan Gohman2010-07-081-4/+5
| | | | | | Debug info intrinsics win for now. llvm-svn: 107850
* Add X86FastISel support for return statements. This entails refactoringDan Gohman2010-07-071-5/+4
| | | | | | | a bunch of stuff, to allow the target-independent calling convention logic to be employed. llvm-svn: 107800
* Split the SDValue out of OutputArg so that SelectionDAG-independentDan Gohman2010-07-071-36/+0
| | | | | | code can do calling-convention queries. This obviates OutputArgReg. llvm-svn: 107786
* Move CallingConvLower.cpp out of the SelectionDAG directory.Dan Gohman2010-07-071-0/+214
llvm-svn: 107781
OpenPOWER on IntegriCloud