summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix compilation problem on GCC 2.9xChris Lattner2003-06-071-1/+1
| | | | llvm-svn: 6667
* Fix bug: InstCombine/2003-06-05-BranchInvertInfLoop.llChris Lattner2003-06-051-1/+1
| | | | llvm-svn: 6630
* Fixed a bug so initialization code is always inserted in mainAnand Shukla2003-06-052-18/+44
| | | | llvm-svn: 6622
* Use a constant expr GEP instead of an actual instructionChris Lattner2003-06-051-4/+2
| | | | llvm-svn: 6620
* Make this work with counter > 127Chris Lattner2003-06-041-1/+1
| | | | llvm-svn: 6613
* Made changes suggested by ChrisSumant Kowshik2003-06-041-51/+55
| | | | llvm-svn: 6606
* Clean up previous code.Chris Lattner2003-06-041-11/+20
| | | | | | Add new combination to turn seteq X, 0 -> not(cast X to bool) llvm-svn: 6604
* Implement combination of boolean not with branchChris Lattner2003-06-041-0/+14
| | | | llvm-svn: 6599
* Implement xform: (X != 0) -> (bool)XChris Lattner2003-06-011-0/+3
| | | | llvm-svn: 6506
* Added the #(internal functions) to outputAnand Shukla2003-06-011-0/+8
| | | | llvm-svn: 6502
* Fix bug: FunctionResolve/2003-05-31-AllInternalDecls.llChris Lattner2003-05-311-0/+17
| | | | llvm-svn: 6486
* Fix bug: FuncResolve/2003-05-31-InternalDecl.llChris Lattner2003-05-311-2/+6
| | | | | | Count resolutions correctly. llvm-svn: 6482
* Simplify funcresolve a bit moreChris Lattner2003-05-311-7/+7
| | | | llvm-svn: 6480
* Fix bug: FunctionResolve/2003-05-31-FuncPointerResolve.llChris Lattner2003-05-311-11/+3
| | | | llvm-svn: 6479
* Fixed comment width, changed arg to be const, fixed indentation, removed ↵Tanya Lattner2003-05-311-8/+6
| | | | | | unnecessary includes. llvm-svn: 6476
* Okay totally give up on trying to optimize aggregates that cannot be completelyChris Lattner2003-05-301-40/+6
| | | | | | broken up into their elements. Too many programs break because of this. llvm-svn: 6440
* add a check that allows the SRoA pass to avoid breaking programs, even if theirChris Lattner2003-05-301-1/+33
| | | | | | behavior is technically undefined llvm-svn: 6438
* Added the CloneTrace function which clones traces. It takes a vector of ↵Tanya Lattner2003-05-301-0/+83
| | | | | | | | basic blocks, removes internal phi nodes, and returns a new vector of basic blocks. llvm-svn: 6431
* Fix bug: ScalarRepl/2003-05-30-MultiLevel.llChris Lattner2003-05-301-4/+4
| | | | llvm-svn: 6428
* Fix bug: ScalarRepl/2003-05-29-ArrayFail.llChris Lattner2003-05-301-42/+128
| | | | llvm-svn: 6425
* Added support for function pointersSumant Kowshik2003-05-291-104/+583
| | | | llvm-svn: 6420
* Add commentChris Lattner2003-05-291-0/+11
| | | | llvm-svn: 6415
* Eliminate unnecessary ->get calls that are now automatically handled.Chris Lattner2003-05-292-11/+9
| | | | llvm-svn: 6397
* * Separate all of the grunt work of inlining out into the Utils library.Chris Lattner2003-05-292-169/+291
| | | | | | * Make the function inliner _significantly_ smarter. :) llvm-svn: 6396
* Fix bug: Instcombine/2003-05-27-ConstExprCrash.llChris Lattner2003-05-271-27/+37
| | | | llvm-svn: 6352
* * 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
* Fix bug: InstCombine/2003-05-26-CastMiscompile.llChris Lattner2003-05-261-1/+1
| | | | llvm-svn: 6338
* Remove using declarationsChris Lattner2003-05-225-49/+36
| | | | llvm-svn: 6306
* Make the list accept comma separated namesChris Lattner2003-05-221-1/+2
| | | | llvm-svn: 6295
* * 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: FunctionResolve/2003-05-21-MissingArguments.llChris Lattner2003-05-211-0/+5
| | | | llvm-svn: 6273
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-206-20/+20
| | | | llvm-svn: 6251
* s/convertable/convertible/gMisha Brukman2003-05-205-84/+84
| | | | llvm-svn: 6248
* Fix long standing bugChris Lattner2003-05-151-1/+1
| | | | llvm-svn: 6232
* Fix Bug: Linker/2003-05-15-TypeProblem.llChris Lattner2003-05-151-20/+66
| | | | llvm-svn: 6225
* Fix major problem with appending linkage changesChris Lattner2003-05-141-1/+2
| | | | llvm-svn: 6185
* Implement linkage of appending global variables!Chris Lattner2003-05-131-6/+115
| | | | llvm-svn: 6178
* Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.llChris Lattner2003-05-121-5/+19
| | | | llvm-svn: 6153
* Handle va_arg instruction correctlyChris Lattner2003-05-081-0/+1
| | | | llvm-svn: 6030
* Don't inline functions that take variable numbers of arguments!Chris Lattner2003-05-081-3/+4
| | | | llvm-svn: 6024
* Remove using declChris Lattner2003-05-081-2/+1
| | | | llvm-svn: 6023
* Attempt to fix sumant's typesafety issueChris Lattner2003-05-021-5/+21
| | | | llvm-svn: 5984
* Fix spellingChris Lattner2003-05-021-1/+1
| | | | llvm-svn: 5983
* Fix Bug: LowerSwitch/2003-05-01-PHIProblem.llChris Lattner2003-05-011-2/+12
| | | | llvm-svn: 5979
* Fix bug: LevelRaise/2003-05-01-CallCast.llChris Lattner2003-05-011-1/+2
| | | | llvm-svn: 5975
* Fix another case where constexprs could cause a crashChris Lattner2003-04-301-5/+2
| | | | llvm-svn: 5972
* Fix constant folding of constexprsChris Lattner2003-04-301-6/+3
| | | | llvm-svn: 5971
OpenPOWER on IntegriCloud