summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Create constant expression casts instead of constant instructions if possibleChris Lattner2003-04-281-2/+12
| | | | llvm-svn: 5968
* Fix several bugs:Chris Lattner2003-04-281-9/+20
| | | | | | | | | | * Warnings were emitted all of the time and were really annoying * Functions could not be resolved unless they had external linkage. Linkonce linkage was not allowed * ConstantPointerRef's were not handled when linking functions we now actually handle cast (CPR) to X -> cast (NewCPR) to X llvm-svn: 5967
* Avoid naming things exactly the sameChris Lattner2003-04-271-1/+1
| | | | llvm-svn: 5966
* Fix bug: ADCE/2003-04-25-PHIPostDominateProblem.llChris Lattner2003-04-251-9/+10
| | | | llvm-svn: 5952
* Fix major problem with PHI node traversal: rechecking PHIs should go intoChris Lattner2003-04-251-1/+1
| | | | | | the visit function. The worklist is for when their lattice value changes. llvm-svn: 5927
* Minor non-functional changes:Chris Lattner2003-04-251-61/+47
| | | | | | | | | * Spell propagate right * Improve performance of phi node handling * Delete using directive * Other minor changes llvm-svn: 5920
* Fix bug: mem2reg/2003-04-24-MultipleIdenticalSuccessors.llChris Lattner2003-04-251-7/+8
| | | | llvm-svn: 5919
* Make the levelraise pass be well behaved w.r.t the TargetData that the currentChris Lattner2003-04-244-125/+126
| | | | | | PassMAnager provides. llvm-svn: 5896
* Fix iterator invalidation problemChris Lattner2003-04-241-2/+7
| | | | llvm-svn: 5895
* Make sure that the cloned module retains the type symbol table entries!Chris Lattner2003-04-241-0/+9
| | | | llvm-svn: 5894
* Make sure to preserve endiannes and pointer size when cloning modules!Chris Lattner2003-04-241-0/+2
| | | | llvm-svn: 5892
* Fix Bug: Linker/2003-04-23-LinkOnceLost.llChris Lattner2003-04-231-30/+40
| | | | llvm-svn: 5879
* Remove unnecesary &*'sChris Lattner2003-04-2318-35/+35
| | | | llvm-svn: 5872
* New pass to lower switch instructions to branch instructionsChris Lattner2003-04-231-0/+102
| | | | llvm-svn: 5865
* Minor cleanupsChris Lattner2003-04-231-6/+6
| | | | llvm-svn: 5863
* Add warning when linking modules with disagreeing target propertiesChris Lattner2003-04-221-0/+4
| | | | llvm-svn: 5845
* Preserve the new moduleID fieldChris Lattner2003-04-221-1/+1
| | | | llvm-svn: 5835
* Fix bug: 2003-01-30-LinkerRename.llChris Lattner2003-04-211-7/+33
| | | | llvm-svn: 5828
* Fix linking a function with qualifiers to a external function declaration:Chris Lattner2003-04-211-6/+18
| | | | | | Fixed bug: Linker/2003-04-21-Linkage.ll llvm-svn: 5827
* Fix bug where use still existed in dead codeChris Lattner2003-04-211-0/+2
| | | | llvm-svn: 5824
* Implement: FunctionResolve/2003-04-18-ForwardDeclGlobal.llChris Lattner2003-04-191-43/+39
| | | | llvm-svn: 5816
* Fix bug: Mem2reg/2003-04-18-DeadBlockProblem.llChris Lattner2003-04-181-4/+17
| | | | llvm-svn: 5810
* Global constants CAN be externalChris Lattner2003-04-181-3/+3
| | | | llvm-svn: 5808
* Refactor CloneFunction to expose the new CloneBasicBlock functionChris Lattner2003-04-181-13/+22
| | | | llvm-svn: 5806
OpenPOWER on IntegriCloud