summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
Commit message (Collapse)AuthorAgeFilesLines
...
* * Add assertion to ExprTypeConvert to detect error earlier than without itChris Lattner2002-07-162-0/+2
| | | | | | | * Fix bug in LevelRaise.cpp, correcting this problem: test/Regression/Transforms/LevelRaise/2002-07-16-RaiseCrash.ll llvm-svn: 2920
* Added EmitFunctions directoryAnand Shukla2002-07-121-0/+1
| | | | llvm-svn: 2883
* Initial makefileAnand Shukla2002-07-121-0/+5
| | | | llvm-svn: 2882
* Initial version: adds a function table to output codeAnand Shukla2002-07-121-0/+52
| | | | llvm-svn: 2881
* Disable folding g-e-p instructions into loads and stores.Chris Lattner2002-07-101-0/+2
| | | | llvm-svn: 2870
* Disable pool allocation stuff until data structure analysis is sorted back outChris Lattner2002-07-101-2/+7
| | | | llvm-svn: 2869
* Fix iteration and InsertPos bugs introduced when Chris changed over to ilist.Vikram S. Adve2002-07-081-21/+35
| | | | llvm-svn: 2840
* changes BBsorting and orederingAnand Shukla2002-07-082-720/+90
| | | | llvm-svn: 2817
* small correctionsAnand Shukla2002-07-081-23/+22
| | | | llvm-svn: 2816
* changed function numberingAnand Shukla2002-07-081-102/+95
| | | | llvm-svn: 2815
* *** empty log message ***Chris Lattner2002-06-303-3/+0
| | | | llvm-svn: 2813
* Clean up anands patchChris Lattner2002-06-301-1/+0
| | | | llvm-svn: 2812
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-2/+3
| | | | llvm-svn: 2795
* additions and bug fixesAnand Shukla2002-06-255-445/+1395
| | | | llvm-svn: 2794
* added include<iostream> for cerrAnand Shukla2002-06-251-0/+1
| | | | llvm-svn: 2793
* changes to make it compatible with 64bit gccAnand Shukla2002-06-257-14/+34
| | | | llvm-svn: 2792
* changes to make it compatible with 64bit gccAnand Shukla2002-06-251-0/+1
| | | | llvm-svn: 2791
* MEGAPATCH checkin.Chris Lattner2002-06-2522-711/+627
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* MEGAPATCH checkin.Chris Lattner2002-06-257-287/+272
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* *** empty log message ***Chris Lattner2002-06-256-150/+114
| | | | llvm-svn: 2777
* Remove DynamicConstantMerge pass, because it did not fit in with the PassChris Lattner2002-06-251-64/+27
| | | | | | system correctly. llvm-svn: 2772
* Remove "fixers" for problems in GCC generated code that cannot be generatedChris Lattner2002-06-251-187/+11
| | | | | | anymore. llvm-svn: 2771
* Relocating Graph.hAnand Shukla2002-06-251-0/+465
| | | | llvm-svn: 2770
* Avoid deleting individual instructions until AFTER dead blocks have droppedChris Lattner2002-05-281-17/+20
| | | | | | | their references. This fixes bug: test/Regression/Transforms/ADCE/2002-05-28-Crash*.ll llvm-svn: 2753
* Simplify the interface to local DCE and Constant propChris Lattner2002-05-264-9/+9
| | | | llvm-svn: 2749
* Do not remove type names that contain a .Chris Lattner2002-05-261-4/+0
| | | | llvm-svn: 2747
* Fix "unimplemented features":Chris Lattner2002-05-241-6/+37
| | | | | | | | | test/Regression/Transforms/FunctionResolve/retmismatch[12].ll This makes it much more useful for running benchmarks that are missing prototypes for some functions. llvm-svn: 2745
* Split the FunctionResolution pass out of CleanGCCOutput.cpp.Chris Lattner2002-05-242-218/+226
| | | | llvm-svn: 2742
* Fix comments to reflect realityChris Lattner2002-05-241-4/+4
| | | | llvm-svn: 2741
* Support programs that do not #include <malloc.h> or give a full prototypeChris Lattner2002-05-241-3/+42
| | | | | | | | | | for malloc and free. Lots of crufty benchmarks are using stuff like: char *malloc(); void free(); to forward declare malloc and free. Now we recognize and raise these forms llvm-svn: 2740
* Fold add X, 0 for floating point types as wellChris Lattner2002-05-231-2/+1
| | | | llvm-svn: 2734
* Convert code to use the DEBUG macro so that debug code can simply beChris Lattner2002-05-225-197/+147
| | | | | | enabled with the -debug command line option. llvm-svn: 2721
* Fix and implement ADCE to finally work!Chris Lattner2002-05-221-136/+159
| | | | llvm-svn: 2720
* Convert transforms over to standardize debugging output on -debug optionChris Lattner2002-05-223-76/+26
| | | | llvm-svn: 2714
* Use the new DEBUG(x) macro to allow debugging code to be enabled on the ↵Chris Lattner2002-05-224-62/+36
| | | | | | commandline llvm-svn: 2713
* Fix bug: test/Regression/Transforms/SCCP/2002-05-21-InvalidSimplify.llChris Lattner2002-05-221-12/+12
| | | | | | Improperly handling edges... by not marking them alive properly llvm-svn: 2707
* Add implementation of SimplifyCFGChris Lattner2002-05-211-0/+198
| | | | llvm-svn: 2701
* New CFG Simplification pass: removed from the old DCE passChris Lattner2002-05-211-0/+100
| | | | llvm-svn: 2700
* Simplify interface to ConstantFoldTerminatorChris Lattner2002-05-211-3/+3
| | | | llvm-svn: 2697
* * Change commandline options a bit to be nicerChris Lattner2002-05-201-42/+47
| | | | | | | * Insert accurate prototypes for functions * Insert casts to use accurate prototypes llvm-svn: 2677
* Fix bug: test/Regression/Transforms/SCCP/2002-05-20-MissedIncomingValue.llChris Lattner2002-05-201-1/+11
| | | | | | That was causing a miscompilation of strtol/atoi plus others llvm-svn: 2669
* Hash pointer values to a sequence number to get identical results fromVikram S. Adve2002-05-191-39/+197
| | | | | | | | | lli and llc. This is controlled with options -tracehash on|off. Also, added an option to specify which functions should be traced. Particularly useful to reduce output volume in basic-block tracing. llvm-svn: 2646
* * Make debug output conditional on #defineChris Lattner2002-05-161-13/+99
| | | | | | | | | * Add optimization to rank computation to not recursively search when unneccesary. * More agressively negate expressions to open reassociation opportunities. * Linearize (A+B)+(C+D) into ((A+B)+C)+D llvm-svn: 2637
* * Fix bug: test/Regression/Transforms/GCSE/2002-05-14-OperandSwap.llChris Lattner2002-05-141-7/+32
| | | | | | | By making sure to consider binary expressions identical if their operands are backwards, but swappable. llvm-svn: 2629
* Fix bug: test/Regression/Transforms/InstCombine/2002-05-14-SubFailure.llChris Lattner2002-05-141-1/+1
| | | | llvm-svn: 2627
* Fix bug: test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.llChris Lattner2002-05-141-1/+12
| | | | | | | | | "This testcase caused instcombine to fail because it got the same instruction on it's worklist more than once (which is ok), but then deleted the instruction. Since the inst stayed on the worklist, as soon as it came back up to be processed, bad things happened, and opt asserted." llvm-svn: 2623
* Fix a major source of "type unsafety", where a cast is neccesary, but canChris Lattner2002-05-141-2/+40
| | | | | | | | | be put either before or after a load. We chose to cast the value loaded instead of the pointer to load from. Fixes bug: test/Regression/Transforms/LevelRaise/2002-05-10-LoadPeephole.ll llvm-svn: 2621
* Implement elimination of loadsChris Lattner2002-05-141-18/+176
| | | | llvm-svn: 2620
* Trivial cleanupsChris Lattner2002-05-131-2/+2
| | | | llvm-svn: 2617
* Initial checkin of LICM passChris Lattner2002-05-101-0/+262
| | | | llvm-svn: 2615
OpenPOWER on IntegriCloud