summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/FunctionResolution.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR411:Reid Spencer2007-02-051-363/+0
| | | | | | This pass is no longer needed. llvm-svn: 33917
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-9/+9
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Eliminate static ctors due to Statistic objectsChris Lattner2006-12-191-3/+4
| | | | llvm-svn: 32693
* Change inferred getCast into specific getCast. Passes all tests.Reid Spencer2006-12-121-2/+2
| | | | llvm-svn: 32469
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-6/+5
| | | | llvm-svn: 32333
* Removing even more <iostream> includes.Bill Wendling2006-12-071-19/+19
| | | | llvm-svn: 32320
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-2/+2
| | | | | | is 'unsigned'. llvm-svn: 32279
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-3/+5
| | | | llvm-svn: 29925
* Make iostream #inclusion explicitChris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25514
* Improve ResolveFunctions to:Reid Spencer2005-12-131-13/+15
| | | | | | | | | a) use better local variable names (OldMT -> OldFT) where "M" is used to mean "Function" (perhaps it was previously "Method"?) b) print out the module identifier in a warning message so that it is possible to track down in which module the error occurred. llvm-svn: 24698
* Remove trailing whitespaceMisha Brukman2005-04-211-10/+10
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-2/+2
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Adjust to changes in APIsChris Lattner2005-02-011-3/+3
| | | | llvm-svn: 19958
* Disable the 'WARNING: Found global types that are not compatible' warningChris Lattner2004-09-301-1/+1
| | | | | | that always prints when linking programs to libstdc++ :( llvm-svn: 16603
* '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
* If we are linking two global variables and they have the same size, do notChris Lattner2004-08-201-8/+9
| | | | | | spew warnings, even if the types don't match. llvm-svn: 15933
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-1/+1
| | | | llvm-svn: 15334
* bug 122:Reid Spencer2004-07-181-6/+4
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* Do not function resolve intrinsics. This prevents warnings and possible badChris Lattner2004-06-181-1/+2
| | | | | | | | | things from happening due to declare bool %llvm.isunordered(double, double) declare bool %llvm.isunordered(float, float) llvm-svn: 14219
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-171-2/+2
| | | | llvm-svn: 14201
* Start using the new and improve interface to FunctionType argumentsChris Lattner2004-02-091-7/+7
| | | | llvm-svn: 11224
* * Finegrainify namespacificationChris Lattner2003-11-201-8/+27
| | | | | | | | * Implement FuncResolve/2003-11-20-BogusResolveWarning.ll ... which eliminates a large number of annoying warnings. I know misha will miss them though! llvm-svn: 10123
* When spewing out warnings during function resolution, do not vomit out pagesChris Lattner2003-11-201-4/+8
| | | | | | and pages of non-symbolic types. llvm-svn: 10109
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* This important patch fixes two warnings in the linker which can occur from ↵Chris Lattner2003-10-221-4/+33
| | | | | | | | linking valid pieces of code llvm-svn: 9390
* Update the 'used' flag correctlyChris Lattner2003-10-221-6/+7
| | | | llvm-svn: 9366
* Loop over the module, not the symbol table. This makes the code handleChris Lattner2003-10-221-21/+18
| | | | | | unused external functions again llvm-svn: 9365
* Implement FunctionResolve/2003-10-21-GlobalResolveHack.llChris Lattner2003-10-221-2/+34
| | | | llvm-svn: 9363
* Fix bug: FunctionResolve/2003-10-21-GlobalTypeDifference.llChris Lattner2003-10-211-55/+19
| | | | llvm-svn: 9359
* 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: FunctionResolve/2003-08-23-ArgumentWarning.llChris Lattner2003-08-231-6/+6
| | | | llvm-svn: 8076
* Unless we CANNOT merge the arguments, do soChris Lattner2003-08-201-1/+3
| | | | llvm-svn: 7999
* Fix FIXME by removing FIXMEChris Lattner2003-08-131-1/+1
| | | | llvm-svn: 7832
* Fix bug: FunctionResolve/2003-07-23-CPR-Reference.llChris Lattner2003-07-231-6/+8
| | | | | | | This fixes a long time annoyance which caused prototypes for bzero, bcopy, bcmp, fputs, and fputs_unlocked to never get deleted. Grr. llvm-svn: 7285
* Remove a bunch of complicated code. The functionality is implemented in ↵Chris Lattner2003-06-191-118/+6
| | | | | | instcombine instead llvm-svn: 6782
* Fix bug: FunctionResolve/2003-05-31-AllInternalDecls.llChris Lattner2003-05-311-0/+17
| | | | llvm-svn: 6486
* Fix bug: FuncResolve/2003-05-31-InternalDecl.llChris Lattner2003-05-311-2/+6
| | | | | | Count resolutions correctly. llvm-svn: 6482
* Simplify funcresolve a bit moreChris Lattner2003-05-311-7/+7
| | | | llvm-svn: 6480
* Fix bug: FunctionResolve/2003-05-31-FuncPointerResolve.llChris Lattner2003-05-311-11/+3
| | | | llvm-svn: 6479
* Fix bug: FunctionResolve/2003-05-21-MissingArguments.llChris Lattner2003-05-211-0/+5
| | | | llvm-svn: 6273
* 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
* Implement: FunctionResolve/2003-04-18-ForwardDeclGlobal.llChris Lattner2003-04-191-43/+39
| | | | llvm-svn: 5816
* Change the interface to constant expressions to allow automatic foldingChris Lattner2003-04-161-1/+1
| | | | llvm-svn: 5793
* Eliminate tons of bogus warningsChris Lattner2003-03-031-8/+10
| | | | llvm-svn: 5686
* Replace assertion with a handler.Chris Lattner2003-02-271-15/+21
| | | | llvm-svn: 5653
* Fix a bug that cause a crash resolving questionable function callsChris Lattner2003-02-141-2/+4
| | | | llvm-svn: 5567
* Fix a bug resolving sprintf(...) to sprintf(char*, char*, ...)Chris Lattner2003-01-301-3/+8
| | | | llvm-svn: 5446
* Actually print the function _name_ if there is a problemChris Lattner2003-01-301-1/+2
| | | | llvm-svn: 5443
* * Fix function resolution for varargs function to generate incorrect ↵Chris Lattner2003-01-301-24/+29
| | | | | | | | | bytecode instead of crashing * remove using decls CVS: ---------------------------------------------------------------------- llvm-svn: 5437
OpenPOWER on IntegriCloud