summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
Commit message (Collapse)AuthorAgeFilesLines
* Fix naming inconsistency.Evan Cheng2007-01-022-8/+8
| | | | llvm-svn: 32823
* For PR950:Reid Spencer2006-12-311-19/+21
| | | | | | | | | | | | | | | | | | Three changes: 1. Convert signed integer types to signless versions. 2. Implement the @sext and @zext parameter attributes. Previously the type of an function parameter was used to determine whether it should be sign extended or zero extended before the call. This information is now communicated via the function type's parameter attributes. 3. The interface to LowerCallTo had to be changed in order to accommodate the parameter attribute information. Although it would have been convenient to pass in the FunctionType itself, there isn't always one present in the caller. Consequently, a signedness indication for the result type and for each parameter was provided for in the interface to this method. All implementations were changed to make the adjustment necessary. llvm-svn: 32788
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-193-7/+10
| | | | llvm-svn: 32703
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-075-10/+5
| | | | llvm-svn: 32333
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-063-4/+4
| | | | | | is 'unsigned'. llvm-svn: 32279
* These asm printers shouldn't use assembly/writer.hChris Lattner2006-12-061-6/+1
| | | | llvm-svn: 32262
* MachineInstr::setOpcode -> MachineInstr::setInstrDescriptorEvan Cheng2006-11-301-3/+4
| | | | llvm-svn: 32034
* Change MachineInstr ctor's to take a TargetInstrDescriptor reference insteadEvan Cheng2006-11-276-29/+38
| | | | | | of opcode and number of operands. llvm-svn: 31947
* Properly transfer kill / dead info.Evan Cheng2006-11-151-5/+9
| | | | llvm-svn: 31765
* Matches MachineInstr changes.Evan Cheng2006-11-133-8/+10
| | | | llvm-svn: 31712
* Match tblegen changes.Evan Cheng2006-11-081-6/+7
| | | | llvm-svn: 31571
* remove redundant/dead varsChris Lattner2006-11-031-2/+0
| | | | llvm-svn: 31434
* silence warningsChris Lattner2006-11-031-1/+1
| | | | llvm-svn: 31392
* For PR786:Reid Spencer2006-11-021-2/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* All targets expand BR_JT for now.Evan Cheng2006-10-301-1/+2
| | | | llvm-svn: 31294
* don't dist internal readmeChris Lattner2006-10-281-1/+0
| | | | llvm-svn: 31247
* fix warning about missing newline at end of fileRafael Espindola2006-10-241-1/+1
| | | | llvm-svn: 31162
* implement uncond branch insertion for sparc to fix regressions from last nightChris Lattner2006-10-242-0/+13
| | | | | | due to branchfolding llvm-svn: 31157
* Merge ISD::TRUNCSTORE to ISD::STORE. Switch to using StoreSDNode.Evan Cheng2006-10-132-13/+12
| | | | llvm-svn: 30945
* adjcallstackup/down clobbers the stack pointerChris Lattner2006-10-121-2/+2
| | | | llvm-svn: 30909
* Add properties to ComplexPattern.Evan Cheng2006-10-111-2/+2
| | | | llvm-svn: 30891
* Reflects ISD::LOAD / ISD::LOADX / LoadSDNode changes.Evan Cheng2006-10-092-26/+26
| | | | llvm-svn: 30844
* Make use of getStore().Evan Cheng2006-10-051-8/+7
| | | | llvm-svn: 30759
* Use getSectionForFunctionChris Lattner2006-10-051-3/+5
| | | | llvm-svn: 30739
* Combine ISD::EXTLOAD, ISD::SEXTLOAD, ISD::ZEXTLOAD into ISD::LOADX. Add anEvan Cheng2006-10-041-4/+4
| | | | | | extra operand to LOADX to specify the exact value extension type. llvm-svn: 30714
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-0/+8
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* Reflects MachineConstantPoolEntry changes.Evan Cheng2006-09-121-1/+1
| | | | llvm-svn: 30279
* 1. Remove condition on delete.Jim Laskey2006-09-072-5/+9
| | | | | | | | 2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. llvm-svn: 30169
* Make target asm info a property of the target machine.Jim Laskey2006-09-072-14/+6
| | | | llvm-svn: 30162
* Break out target asm info into separate files.Jim Laskey2006-09-072-0/+56
| | | | llvm-svn: 30161
* Separate target specific asm properties from the asm printers.Jim Laskey2006-09-061-4/+12
| | | | llvm-svn: 30126
* Completely eliminate def&use operands. Now a register operand is EITHER aChris Lattner2006-09-051-2/+2
| | | | | | def operand or a use operand. llvm-svn: 30109
* Completely rearchitect the interface between targets and the pass manager.Chris Lattner2006-09-042-54/+18
| | | | | | | | | | | | | | | | | | | | | | | | This pass: 1. Splits TargetMachine into TargetMachine (generic targets, can be implemented any way, like the CBE) and LLVMTargetMachine (subclass of TM that is used by things using libcodegen and other support). 2. Instead of having each target fully populate the passmgr for file or JIT output, move all this to common code, and give targets hooks they can implement. 3. Commonalize the target population stuff between file emission and JIT emission. 4. All (native code) codegen stuff now happens in a FunctionPassManager, which paves the way for "fast -O0" stuff in the CFE later, and now LLC could lazily stream .bc files from disk to use less memory. 5. There are now many fewer #includes and the targets don't depend on the scalar xforms or libanalysis anymore (but codegen does). 6. Changing common code generator pass ordering stuff no longer requires touching all targets. 7. The JIT now has the option of "-fast" codegen or normal optimized codegen, which is now orthogonal to the fact that JIT'ing is being done. llvm-svn: 30081
* Simplify target construction.Chris Lattner2006-09-031-1/+1
| | | | llvm-svn: 30070
* Use a couple of multiclass patterns to factor some integer ops.Chris Lattner2006-09-012-135/+51
| | | | llvm-svn: 30039
* remove a bunch of commentsChris Lattner2006-09-011-54/+0
| | | | llvm-svn: 30038
* SelectNodeTo now returns a SDNode*.Evan Cheng2006-08-261-2/+2
| | | | llvm-svn: 29901
* Select() no longer require Result operand by reference.Evan Cheng2006-08-261-6/+4
| | | | llvm-svn: 29898
* Match tblgen changes.Evan Cheng2006-08-261-6/+8
| | | | llvm-svn: 29895
* Constify some methods. Patch provided by Anton Vayvod, thanks!Chris Lattner2006-08-171-2/+2
| | | | llvm-svn: 29756
* SelectNodeTo() may return a SDOperand that is different from the input.Evan Cheng2006-08-161-3/+3
| | | | llvm-svn: 29726
* Match tablegen changes.Evan Cheng2006-08-111-6/+6
| | | | llvm-svn: 29604
* CALLSEQ_* produces chain even if that's not needed.Evan Cheng2006-08-111-2/+4
| | | | llvm-svn: 29603
* Start eliminating temporary vectors used to create DAG nodes. Instead, passChris Lattner2006-08-081-24/+14
| | | | | | | | | | | | | | | | | | | in the start of an array and a count of operands where applicable. In many cases, the number of operands is known, so this static array can be allocated on the stack, avoiding the heap. In many other cases, a SmallVector can be used, which has the same benefit in the common cases. I updated a lot of code calling getNode that takes a vector, but ran out of time. The rest of the code should be updated, and these methods should be removed. We should also do the same thing to eliminate the methods that take a vector of MVT::ValueTypes. It would be extra nice to convert the dagiselemitter to avoid creating vectors for operands when calling getTargetNode. llvm-svn: 29566
* Match tablegen isel changes.Evan Cheng2006-08-071-14/+5
| | | | llvm-svn: 29549
* Remove InFlightSet hack. No longer needed.Evan Cheng2006-07-281-1/+0
| | | | llvm-svn: 29373
* Don't pass target name into TargetData anymore, it is never used or needed.Chris Lattner2006-06-161-2/+1
| | | | | | | Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. llvm-svn: 28830
* Type of extract_element index operand should be iPTR.Evan Cheng2006-06-151-2/+2
| | | | llvm-svn: 28797
* Change RET node to include signness information of the return values. i.e.Evan Cheng2006-05-261-3/+3
| | | | | | RET chain, value1, sign1, value2, sign2, ... llvm-svn: 28510
* Add support for the missing FP condition codesChris Lattner2006-05-251-6/+12
| | | | llvm-svn: 28482
OpenPOWER on IntegriCloud