summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/FunctionResolution.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-3/+2
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Fix testcase: FunctionResolve/2002-11-09-ExternFn.llChris Lattner2002-11-101-19/+37
| | | | llvm-svn: 4668
* Fix bug: FunctionResolve/2002-11-07-RetMismatch.llChris Lattner2002-11-081-2/+1
| | | | llvm-svn: 4618
* Account for global variables resolved more accurately.Chris Lattner2002-10-131-3/+5
| | | | llvm-svn: 4143
* Almost a complete rewrite of FunctionResolution to now resolve functionsChris Lattner2002-10-091-122/+213
| | | | | | | | | | | | | | and global variables. This fixes bug: FuncResolve/2002-08-19-ResolveGlobalVarsEasier.ll And bug: SingleSource/UnitTests/2002-10-09-ArrayResolution.c Note that this does not fix bug: FunctionResolve/2002-08-19-ResolveGlobalVars.ll because replaceAllUsesWith breaks when a constantexpr is pointing to the thing being replaced. This is more of an infrastructure problem than anything. llvm-svn: 4099
* Updates to work with recent Statistic's changes:Chris Lattner2002-10-011-2/+2
| | | | | | | | | | | | * 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
* Simplify code (somtimes dramatically), by using the new "auto-insert" featureChris Lattner2002-09-101-11/+5
| | | | | | of instruction constructors. llvm-svn: 3655
* Remove unneccesary #inlcudeChris Lattner2002-08-011-1/+0
| | | | llvm-svn: 3200
* Fix bug with last patch which would occur when a call returned void and weChris Lattner2002-07-301-1/+2
| | | | | | attempted to assign it a name. llvm-svn: 3142
* * Make sure the resolved function call instructions get the name from theChris Lattner2002-07-301-7/+15
| | | | | | | | old call instruction * Implement conversion of return values for calls. This fixes bug: test/Regression/Transforms/FunctionResolve/retmismatch3.ll llvm-svn: 3140
* * Add support for different "PassType's"Chris Lattner2002-07-261-1/+1
| | | | | | | | | | | | | | | * 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: 3112
* Rename headerChris Lattner2002-07-231-1/+1
| | | | llvm-svn: 3037
* * Remove getPassName implementationChris Lattner2002-07-231-2/+1
| | | | | | * Register all Passes llvm-svn: 3015
* Only functions with external linkage can be resolved to function declarations.Chris Lattner2002-07-181-2/+6
| | | | | | | This change fixes programs that have multiple functions named the same thing, where are least one of them is static/internal. llvm-svn: 2954
* MEGAPATCH checkin.Chris Lattner2002-06-251-14/+9
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* 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-241-0/+223
llvm-svn: 2742
OpenPOWER on IntegriCloud