summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/RaiseAllocations.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceMisha Brukman2005-04-211-9/+9
| | | | llvm-svn: 21427
* Fix spelling, patch contributed by Gabor Greif!Chris Lattner2005-02-271-1/+1
| | | | llvm-svn: 20343
* Fix bug: 2004-11-08-FreeUseCrash.llChris Lattner2004-11-091-1/+3
| | | | llvm-svn: 17642
* 'Pass' should now not be derived from by clients. Instead, they should deriveChris Lattner2004-09-201-4/+4
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-3/+1
| | | | llvm-svn: 15334
* bug 122:Reid Spencer2004-07-181-6/+6
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* Implement RaiseAllocations/FreeCastConstantExpr.llChris Lattner2003-12-071-12/+37
| | | | llvm-svn: 10305
* Finegrainify namespacificationChris Lattner2003-11-211-4/+2
| | | | llvm-svn: 10138
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Fix bug raising allocations whose call sites were invoke instructions.Chris Lattner2003-09-161-0/+15
| | | | | | Thanks to brg for tracking down the problem so precisely! llvm-svn: 8568
* 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