summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix constant folding to ALWAYS work.Chris Lattner2003-05-271-19/+9
| | | | llvm-svn: 6355
* 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-271-0/+1
| | | | llvm-svn: 6351
* * Actually USE the statistic that we madeChris Lattner2003-05-271-6/+21
| | | | | | * Implement SRoA for arrays llvm-svn: 6349
* Implementation of the simple "scalar replacement of aggregates" transformationChris Lattner2003-05-271-0/+164
| | | | llvm-svn: 6346
* Renamed MachienOperand::opIsDef to MachineOperand::opIsDefOnly()Vikram S. Adve2003-05-272-10/+11
| | | | | | | 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
* 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
* Fix problem with last checkin.Chris Lattner2003-05-251-4/+6
| | | | llvm-svn: 6328
* 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-243-12/+9
| | | | llvm-svn: 6323
* Implement the TargetInstrInfo's createNOPinstr() and isNOPinstr() interface.Misha Brukman2003-05-243-1/+71
| | | | llvm-svn: 6320
* 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
* Cleaned up code layout; no functional changes.Misha Brukman2003-05-231-24/+20
| | | | llvm-svn: 6312
* Remove using declarationsChris Lattner2003-05-225-49/+36
| | | | llvm-svn: 6306
* Add using declarationsChris Lattner2003-05-222-13/+8
| | | | 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
* Make the list accept comma separated namesChris Lattner2003-05-221-1/+2
| | | | llvm-svn: 6295
* Add new CommaSeparated option modifierChris Lattner2003-05-221-0/+20
| | | | llvm-svn: 6294
* Destroy using declarationsChris Lattner2003-05-221-64/+60
| | | | llvm-svn: 6291
* * Revert to old behavior of ignoring a module if it doesn't contain a mainChris Lattner2003-05-221-7/+24
| | | | | | | | function and no symbols were explicitly marked to be externalized. * Add new -internalize-public-api-list option that can be used if the symbol list is small, and making a new file is annoying. llvm-svn: 6289
* Add option to internalize to allow it to read a file to determine which symbolsChris Lattner2003-05-221-10/+41
| | | | | | should not be internalized llvm-svn: 6288
* Minor cleanups.Chris Lattner2003-05-221-8/+5
| | | | | | | | | | | This hunk: - } else if (Src->getNumOperands() == 2 && Src->use_size() == 1) { + } else if (Src->getNumOperands() == 2) { Allows GEP folding to be more aggressive, which reduces the number of instructions and can dramatically speed up BasicAA in some cases. llvm-svn: 6286
* Fix bug: Assembler/2003-05-03-BytecodeReaderProblem.llxChris Lattner2003-05-221-16/+25
| | | | | | | by emitting the type planes before any constants (which could be constant expressions involving undefined types!) llvm-svn: 6285
* Do not assert fail or crash when a bytecode parse fails!Chris Lattner2003-05-222-0/+4
| | | | llvm-svn: 6284
* Eliminate the uchar typedef, use unsigned char explicitlyChris Lattner2003-05-224-38/+56
| | | | llvm-svn: 6283
* Fix bug: FunctionResolve/2003-05-21-MissingArguments.llChris Lattner2003-05-211-0/+5
| | | | llvm-svn: 6273
* Fix Bug: BasicAA/2003-05-21-GEP-Problem.llChris Lattner2003-05-211-1/+1
| | | | llvm-svn: 6270
* Fixed `volatile' typo.Misha Brukman2003-05-211-1/+1
| | | | llvm-svn: 6266
* Cleaned up code layout, spacing, etc. for readability purposes and to be moreMisha Brukman2003-05-212-307/+281
| | | | | | | | | consistent with the style of LLVM's code base (and itself! it's inconsistent in some places.) No functional changes were made. llvm-svn: 6265
* * Fix divide by zero error with empty structsChris Lattner2003-05-211-5/+3
| | | | | | * Empty structs should have ALIGNMENT 1, not SIZE 1. llvm-svn: 6263
* Cleaned up code layout, spacing, etc. for readability purposes and to be moreMisha Brukman2003-05-211-59/+44
| | | | | | | | | consistent with the style of LLVM's code base (and itself! it's inconsistent in some places.) No functional changes were made. llvm-svn: 6262
* Namespacified `vector' and `cerr' to always use the `std::' namespace.Misha Brukman2003-05-213-88/+90
| | | | | | Eliminated `using' directives. llvm-svn: 6261
* Add support for shift constant expressionsChris Lattner2003-05-211-5/+28
| | | | llvm-svn: 6260
* Fix bugs:Chris Lattner2003-05-211-1/+3
| | | | | | | Assembler/2003-05-21-MalformedShiftCrash.llx Assembler/2003-05-21-ConstantShiftExpr.ll llvm-svn: 6258
* Fix bugs:Chris Lattner2003-05-211-0/+15
| | | | | | | Assembler/2003-05-21-EmptyStructTest.ll Assembler/2003-05-21-MalformedStructCrash.llx llvm-svn: 6255
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-206-20/+20
| | | | llvm-svn: 6251
* The word `operands' has an `r' in it.Misha Brukman2003-05-201-1/+1
| | | | llvm-svn: 6250
* Sparc instruction opcodes now all live under the `V9' namespace.Misha Brukman2003-05-209-570/+571
| | | | llvm-svn: 6249
* s/convertable/convertible/gMisha Brukman2003-05-208-89/+89
| | | | llvm-svn: 6248
* Add support for setjmp/longjmp primitivesChris Lattner2003-05-173-15/+26
| | | | | | Patch checked in for Bill Wendling :) llvm-svn: 6241
OpenPOWER on IntegriCloud