- Jul 06, 2009
-
-
Bruno Cardoso Lopes authored
cleanup, removed some #includes and moved Object Code Emitter out-of-line. llvm-svn: 74813
-
- Jul 03, 2009
-
-
Duncan Sands authored
llvm-svn: 74779
-
Duncan Sands authored
llvm-svn: 74778
-
Duncan Sands authored
llvm-svn: 74777
-
Duncan Sands authored
llvm-svn: 74776
-
Sanjiv Gupta authored
The change in the .td file is to mark the side effects of mov insn. llvm-svn: 74768
-
Tilmann Scheller authored
Don't spill to the CR save area when using the SVR4 ABI for now. Don't rely on constants assigned for registers to be in order (they aren't assigned in order). Make sure CR bits are mapped to the corresponding CR field. llvm-svn: 74767
-
Tilmann Scheller authored
Make CalculateParameterAndLinkageAreaSize() Darwin-specific. Remove SVR4 specific code from LowerCALL_Darwin() and LowerFORMAL_ARGUMENTS_Darwin(). Rename MachoABI to DarwinABI for consistency. Rename ELF ABI to SVR4 ABI for consistency. Factor out common call return lowering between the Darwin and SVR4 ABI. Factor out common call lowering between the Darwin and SVR4 ABI. llvm-svn: 74766
-
Tilmann Scheller authored
Implement LowerFORMAL_ARGUMENTS_SVR4(). Implement LowerCALL_SVR4(). Add support for split arguments. Implement by value parameter passing for aggregates. Add support for variable argument lists. Create the spill area for argument registers of variable argument functions no longer at a fixed offset. Make sure callee saved registers are spilled to the correct stack offsets. Change allocation order of non-volatile floating-point registers. Add VRSAVE to the list of callee-saved registers, add CallConvLowering for vararg calls. Add support for variable argument calls with Vector arguments. Add support for VR and VRSAVE save area, improve allocation order for non-volatile vector registers. Stop creating illegal i8 values in LowerVASTART(). Add memory access width hints. Make sure to reserve space on the stack for the frame pointer. When using the SVR4 ABI, reserve r13 for the Small Data Area pointer. Assure that the frame pointer is spilled to the correct location on the stack. Some FP registers were not marked as volatile. Make sure the i64 words from a long double are passed either both in registers or both on the stack. Only put integer arguments in registers which are not marked with the inreg flag. llvm-svn: 74765
-
Tilmann Scheller authored
Add NumFixedArgs attribute to CallSDNode which indicates the number of fixed arguments in a vararg call. With the SVR4 ABI on PowerPC, vector arguments for vararg calls are passed differently depending on whether they are a fixed or a variable argument. Variable vector arguments always go into memory, fixed vector arguments are put into vector registers. If there are no free vector registers available, fixed vector arguments are put on the stack. The NumFixedArgs attribute allows to decide for an argument in a vararg call whether it belongs to the fixed or variable portion of the parameter list. llvm-svn: 74764
-
Tilmann Scheller authored
Small refactoring in LowerFORMAL_ARGUMENTS(). Correct minor formatting issues. Remove size argument of CreateCopyOfByValArgument(). Remove dead argument from CalculateStackSlotSize(). Remove unused variable ReturnAddrIndex from various targets. llvm-svn: 74763
-
Evan Cheng authored
llvm-svn: 74755
-
Evan Cheng authored
llvm-svn: 74749
-
Evan Cheng authored
llvm-svn: 74741
-
Evan Cheng authored
llvm-svn: 74740
-
Evan Cheng authored
llvm-svn: 74736
-
David Goodwin authored
Checkpoint refactoring of ThumbInstrInfo and ThumbRegisterInfo into Thumb1InstrInfo, Thumb2InstrInfo, Thumb1RegisterInfo and Thumb2RegisterInfo. Move methods from ARMInstrInfo to ARMBaseInstrInfo to prepare for sharing with Thumb2. llvm-svn: 74731
-
- Jul 02, 2009
-
-
Douglas Gregor authored
llvm-svn: 74720
-
Chris Lattner authored
pointing this out. llvm-svn: 74700
-
Evan Cheng authored
llvm-svn: 74696
-
Evan Cheng authored
llvm-svn: 74693
-
Evan Cheng authored
Change the meaning of predicate hasThumb2 to mean thumb2 ISA is available, not that it's in thumb mode and thumb2 is available. Added isThumb2 predicate to replace the old predicate. llvm-svn: 74692
-
Chris Lattner authored
This fixes an llvm-gcc bootstrap problem I introduced. llvm-svn: 74691
-
Chris Lattner authored
constant pool references that weren't getting properly rip-relative. llvm-svn: 74689
-
Bruno Cardoso Lopes authored
llvm-svn: 74686
-
Evan Cheng authored
llvm-svn: 74683
-
Chris Lattner authored
to do with the target. Also, the stub elimination optimization *requires* making the stub explicit. llvm-svn: 74682
-
Evan Cheng authored
llvm-svn: 74681
-
Dan Gohman authored
a key is present in a std::map or DenseMap to use find instead. llvm-svn: 74676
-
Dale Johannesen authored
llvm-svn: 74667
-
Bob Wilson authored
llvm-svn: 74658
-
- Jul 01, 2009
-
-
Bob Wilson authored
llvm-svn: 74650
-
Bob Wilson authored
addressing mode is encoded in the second operand, not the third. llvm-svn: 74641
-
Bill Wendling authored
bytes and not bytes. llvm-svn: 74624
-
Chris Lattner authored
PR4482. llvm-svn: 74613
-
Chris Lattner authored
pic mode. llvm-svn: 74582
-
Evan Cheng authored
Handle IMPLICIT_DEF with isUndef operand marker, part 2. This patch moves the code to annotate machineoperands to LiveIntervalAnalysis. It also add markers for implicit_def that define physical registers. The rest, is just a lot of details. llvm-svn: 74580
-
Daniel Dunbar authored
- This more or less amounts to a revert of r65379. I'm curious to know what happened that caused this variable to become unused. llvm-svn: 74579
-
David Goodwin authored
llvm-svn: 74577
-
David Goodwin authored
llvm-svn: 74566
-