summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the RaiseAllocations pass to be a Pass instead of a BasicBlock pass.Chris Lattner2003-09-011-54/+75
| | | | | | | | This makes it more efficient: it doesn't have to scan the whole program, so it performs work proportional to the number of malloc/free calls in the program, not the size of the program. llvm-svn: 8280
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Fix handling of 'free' if it has absolutely no prototypeChris Lattner2003-08-111-0/+7
| | | | llvm-svn: 7721
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-22/+21
| | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002
* Function.h is unnecessary when Module.h is included.Misha Brukman2002-09-141-1/+0
| | | | llvm-svn: 3716
* Change the MallocInst & AllocaInst ctors to take the allocated type, not theChris Lattner2002-09-131-2/+1
| | | | | | pointer type returned. llvm-svn: 3710
* Fix bug in previous checkinChris Lattner2002-09-101-0/+1
| | | | llvm-svn: 3672
* Clean up code due to auto-insert constructorsChris Lattner2002-09-101-23/+12
| | | | llvm-svn: 3665
* * Add support for different "PassType's"Chris Lattner2002-07-261-2/+2
| | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
* Merge ChangeAllocations into scalar.hChris Lattner2002-07-231-1/+1
| | | | llvm-svn: 3038
* * Remove getPassName implementationChris Lattner2002-07-231-3/+3
| | | | | | * Register all Passes llvm-svn: 3015
* * Correctly get prototype for void*malloc(size_t)Chris Lattner2002-07-181-2/+11
| | | | llvm-svn: 2951
* MEGAPATCH checkin.Chris Lattner2002-06-251-13/+13
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* 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
* Add support for printing out statistics information when -stats is added toChris Lattner2002-05-101-0/+5
| | | | | | the command line llvm-svn: 2601
* fix comments and documentation in fileChris Lattner2002-05-071-6/+4
| | | | llvm-svn: 2530
* Split ChangeAllocations.cpp into Raise & LowerAllocations.cppChris Lattner2002-05-071-0/+108
llvm-svn: 2529
OpenPOWER on IntegriCloud