summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add compatibility optionChris Lattner2003-05-271-0/+2
| | | | llvm-svn: 6354
* New testcaseChris Lattner2003-05-271-0/+8
| | | | llvm-svn: 6353
* Fix bug: Instcombine/2003-05-27-ConstExprCrash.llChris Lattner2003-05-271-27/+37
| | | | llvm-svn: 6352
* Make _sure_ we don't go into an infinite loop if a signal happens!Chris Lattner2003-05-272-0/+2
| | | | llvm-svn: 6351
* Start testing SRoAChris Lattner2003-05-271-0/+1
| | | | llvm-svn: 6350
* * Actually USE the statistic that we madeChris Lattner2003-05-271-6/+21
| | | | | | * Implement SRoA for arrays llvm-svn: 6349
* Expose proto for SRoA pass.Chris Lattner2003-05-271-0/+7
| | | | llvm-svn: 6348
* Initial testcases for scalar replacement of aggregates passChris Lattner2003-05-274-0/+46
| | | | llvm-svn: 6347
* Implementation of the simple "scalar replacement of aggregates" transformationChris Lattner2003-05-271-0/+164
| | | | llvm-svn: 6346
* (1) Added special register class containing (for now) %fsr.Vikram S. Adve2003-05-271-10/+46
| | | | | | | | | Fixed spilling of %fcc[0-3] which are part of %fsr. (2) Moved some machine-independent reg-class code to class TargetRegInfo from SparcReg{Class,}Info. llvm-svn: 6343
* Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()Vikram S. Adve2003-05-273-56/+38
| | | | | | | and related functions and flags. Fixed several bugs where only "isDef" was being checked, not "isDefAndUse". llvm-svn: 6342
* (1) Added special register class containing (for now) %fsr.Vikram S. Adve2003-05-279-51/+54
| | | | | | | | | | | | | Fixed spilling of %fcc[0-3] which are part of %fsr. (2) Moved some machine-independent reg-class code to class TargetRegInfo from SparcReg{Class,}Info. (3) Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly() and related functions and flags. Fixed several bugs where only "isDef" was being checked, not "isDefAndUse". llvm-svn: 6341
* Renamed opIsDef to opIsDefOnly.Vikram S. Adve2003-05-271-3/+6
| | | | llvm-svn: 6340
* Added special register class containing (for now) %fsr.Vikram S. Adve2003-05-275-158/+111
| | | | | | | | Fixed spilling of %fcc[0-3] which are part of %fsr. Moved some machine-independent reg-class code to class TargetRegInfo from SparcReg{Class,}Info. llvm-svn: 6339
* Fix bug: InstCombine/2003-05-26-CastMiscompile.llChris Lattner2003-05-261-1/+1
| | | | llvm-svn: 6338
* New testcaseChris Lattner2003-05-261-0/+7
| | | | llvm-svn: 6337
* Changed http://tank... => http://llvm, and removed an extraneous mailto:.Misha Brukman2003-05-261-2/+1
| | | | llvm-svn: 6335
* Bug fix: right shift for int divide-by-power-of-2 was incorrect forVikram S. Adve2003-05-251-11/+48
| | | | | | negative values. Need to add one to a negative value before right shift! llvm-svn: 6334
* Bug fix: padding bytes within a structure should go after each field!Vikram S. Adve2003-05-251-5/+5
| | | | llvm-svn: 6333
* Bug fix: sign-extension was not happening for C = -MININT since C == -C!Vikram S. Adve2003-05-251-2/+3
| | | | llvm-svn: 6332
* Predicate things betterChris Lattner2003-05-252-2/+2
| | | | llvm-svn: 6331
* Do not show errors when moving file. The error is shown the first time anyoneMisha Brukman2003-05-251-1/+1
| | | | | | | runs `utils/cvsupdate' since there is no `cvs.out' file for mv to move, and it is reported as such. llvm-svn: 6330
* Fix problem with last checkin.Chris Lattner2003-05-251-4/+6
| | | | llvm-svn: 6328
* Make case of GetNumOfInt/FloatArgRegs functions to be use lower caseVikram S. Adve2003-05-251-2/+2
| | | | | | like all the other functions. llvm-svn: 6326
* Add support for compiling varargs functions.Vikram S. Adve2003-05-254-77/+179
| | | | llvm-svn: 6325
* Reword to remove reference to how things worked in the past.Misha Brukman2003-05-244-16/+12
| | | | llvm-svn: 6323
* Add ability to utilize the code emitter generator (CodeEmitterGen).Misha Brukman2003-05-241-1/+21
| | | | llvm-svn: 6322
* First cut at the Code Generator using the TableGen methodology.Misha Brukman2003-05-242-0/+128
| | | | llvm-svn: 6321
* Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.Misha Brukman2003-05-243-1/+71
| | | | llvm-svn: 6320
* NOP instructions are pseudo-instructions. We should not have them explicitly inMisha Brukman2003-05-241-0/+14
| | | | | | | | | | | our representation, since they are usually special cases of already-existing instructions. This abstracts away methods that let a pass create and verify a NOP instruction, without relying on a `NOP' enum to be in existence in the target's instruction info descriptor. llvm-svn: 6319
* Suggest -save-temps instead of -S, -E.Brian Gaeke2003-05-231-7/+10
| | | | llvm-svn: 6318
* Remove ".bc" from the end of InputFile if it is there, inBrian Gaeke2003-05-231-0/+7
| | | | | | tools/lli/lli.cpp:main(). llvm-svn: 6317
* gccld.cpp:Brian Gaeke2003-05-231-57/+82
| | | | | | | | | | | | | | | | | | | Fix typo in header. Add IsArchive static method. Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor LoadLibraryExactName() out of the result. Instead of treating the current directory specially, just insert it into LibPaths in the beginning of main(). Make LoadLibrary() take a "search" flag that says whether to search for the correct library, or just trust that LibName is right. Make LinkLibrary() take a "search" flag, and pass it to LoadLibrary(). Change the for-loop over InputFilenames to detect ar archives and link them in as libraries without searching. Change the for-loop over Libraries to explicitly turn on the "search" flag to LinkLibrary() that makes LoadLibrary() search for the correct library (i.e., when processing -lNAME options.) llvm-svn: 6316
* Fix Bug: Linker/2003-04-26-NullPtrLinkProblem.llChris Lattner2003-05-231-103/+194
| | | | | | | | This was a problem with constants having their types resolved to some new type, but there was already a constant of the new type created. Before, these types were never merged together, now they are. llvm-svn: 6314
* Remove some cruft, add some methods to allow implementation of bugfix forChris Lattner2003-05-231-17/+22
| | | | | | Bug: Linker/2003-04-26-NullPtrLinkProblem.ll llvm-svn: 6313
* Cleaned up code layout; no functional changes.Misha Brukman2003-05-231-24/+20
| | | | llvm-svn: 6312
* Minor rewording/cleanupsChris Lattner2003-05-231-11/+13
| | | | llvm-svn: 6311
* New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(Chris Lattner2003-05-231-0/+20
| | | | llvm-svn: 6310
* Fix a problem brian identified.Chris Lattner2003-05-231-2/+3
| | | | llvm-svn: 6309
* Clarify BugDriver.cpp:BugDriver::ParseInputFile()'s return values in itsBrian Gaeke2003-05-231-1/+3
| | | | | | explanatory comment. llvm-svn: 6308
* Remove long dead codeChris Lattner2003-05-222-73/+0
| | | | llvm-svn: 6307
* Remove using declarationsChris Lattner2003-05-225-49/+36
| | | | llvm-svn: 6306
* Add using declarationsChris Lattner2003-05-225-37/+26
| | | | llvm-svn: 6305
* Cleaned up code layout. No functional changes.Misha Brukman2003-05-222-678/+622
| | | | llvm-svn: 6304
* Remove using declarations and extraneous #includesChris Lattner2003-05-222-34/+31
| | | | llvm-svn: 6303
* Fix static constructor ordering problemChris Lattner2003-05-221-15/+33
| | | | llvm-svn: 6302
* Kill `using' directives.Misha Brukman2003-05-222-51/+47
| | | | llvm-svn: 6301
* Remove using declarationsChris Lattner2003-05-221-81/+77
| | | | llvm-svn: 6300
* Fix testcaseChris Lattner2003-05-221-0/+1
| | | | llvm-svn: 6299
* New testcaseChris Lattner2003-05-221-0/+11
| | | | llvm-svn: 6298
OpenPOWER on IntegriCloud