summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-upgrade
Commit message (Collapse)AuthorAgeFilesLines
* regenerateChris Lattner2007-12-295-4328/+5813
| | | | llvm-svn: 45424
* remove attributionsChris Lattner2007-12-292-4/+4
| | | | llvm-svn: 45423
* remove attributions from tools.Chris Lattner2007-12-292-4/+4
| | | | llvm-svn: 45421
* remove attributions from tools/utils makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45414
* regenerate.Christopher Lamb2007-12-173-4709/+3405
| | | | llvm-svn: 45085
* Change the PointerType api for creating pointer types. The old functionality ↵Christopher Lamb2007-12-171-18/+21
| | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
* Add a convenience method for modifying parameterDuncan Sands2007-11-301-1/+1
| | | | | | | | attributes. While there, I noticed that not all attribute methods returned a pointer-to-constant, so I fixed that. llvm-svn: 44457
* Add some convenience methods for querying attributes, andDuncan Sands2007-11-282-2/+2
| | | | | | use them. llvm-svn: 44403
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-274-3723/+4780
| | | | | | | | | | | | the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. llvm-svn: 44359
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* minor long double related changesDale Johannesen2007-09-283-168/+171
| | | | llvm-svn: 42439
* Apply feedback from previous patch.Dale Johannesen2007-09-074-3677/+2717
| | | | llvm-svn: 41774
* Next round of APFloat changes.Dale Johannesen2007-09-066-205/+223
| | | | | | | | | | | | | | Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interfaces. Use APFloat functions for constant folding arithmetic and comparisons. (There are still way too many places APFloat is just a wrapper around host float/double, but we're getting there.) llvm-svn: 41747
* Update generated files.David Greene2007-09-043-1693/+1360
| | | | llvm-svn: 41706
* Update GEP constructors to use an iterator interface to fixDavid Greene2007-09-041-4/+5
| | | | | | GLIBCXX_DEBUG issues. llvm-svn: 41697
* Update InvokeInst to work like CallInstDavid Greene2007-08-271-2/+3
| | | | llvm-svn: 41506
* Update .cvs fileDavid Greene2007-08-151-4/+5
| | | | llvm-svn: 41106
* Make this code more efficientDavid Greene2007-08-071-4/+5
| | | | llvm-svn: 40899
* Regenerating.Chandler Carruth2007-08-043-1398/+1680
| | | | llvm-svn: 40808
* This is the patch to provide clean intrinsic function overloading support in ↵Chandler Carruth2007-08-041-28/+0
| | | | | | | | LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported. llvm-svn: 40807
* Update generated files.David Greene2007-08-013-1340/+1178
| | | | llvm-svn: 40663
* New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene2007-08-011-8/+9
| | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
* Convert .cvsignore filesJohn Criswell2007-06-291-4/+0
| | | | llvm-svn: 37801
* Regenerate.Reid Spencer2007-05-183-337/+381
| | | | llvm-svn: 37207
* Remove the -emit-bytecode option. Noone in the llvm tree uses it, and thisChris Lattner2007-05-062-13/+3
| | | | | | keeps llvm-upgrade a simple "source to source" tool. llvm-svn: 36848
* For PR1146:Reid Spencer2007-04-221-34/+56
| | | | | | | | Make ParamAttrsList objects unique. You can no longer directly create or destroy them but instead must go through the ParamAttrsList::get() interface. llvm-svn: 36327
* Regenerate.Reid Spencer2007-04-163-274/+286
| | | | llvm-svn: 36106
* For PR1336:Reid Spencer2007-04-161-0/+5
| | | | | | | Functions without names deserve to be created too. This fixes: test/CodeGen/Generic/vector-constantexpr.ll llvm-svn: 36105
* For PR1336:Reid Spencer2007-04-161-3/+4
| | | | | | | When upgrading global vars, look for conflicts with functions as well. This fixes test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll llvm-svn: 36103
* Regenerate.Reid Spencer2007-04-163-346/+400
| | | | llvm-svn: 36096
* For PR1336:Reid Spencer2007-04-161-39/+66
| | | | | | | | | Rewrite the upgrade of GEP indices to be a little less obtuse. This fixes test/Assembler/2002-08-19-BytecodeReader.llx test/Assembler/2003-08-21-ConstantExprCast-Fold.llx test/Assembler/2004-01-11-getelementptrfolding.llx llvm-svn: 36095
* Regenerate.Reid Spencer2007-04-113-271/+273
| | | | llvm-svn: 35897
* Fix a crash-by-unknown-exception caused by attempting to use a null pointerReid Spencer2007-04-111-1/+2
| | | | | | as the key for a map insertion. llvm-svn: 35896
* For PR1146:Reid Spencer2007-04-113-24/+24
| | | | | | | Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a result. llvm-svn: 35877
* RegenerateReid Spencer2007-04-093-317/+349
| | | | llvm-svn: 35813
* For PR1146:Reid Spencer2007-04-091-25/+41
| | | | | | Adapt handling of parameter attributes to use ParamAttrsList class. llvm-svn: 35812
* Regenerate.Reid Spencer2007-04-072-54/+66
| | | | llvm-svn: 35736
* For PR1312:Reid Spencer2007-04-071-2/+8
| | | | | | | | For the short CALL/INVOKE syntax, the signedness of the result type is two extractions away from the type argument because its a POINTER to function type, not a function type. llvm-svn: 35735
* RegenerateReid Spencer2007-04-023-268/+306
| | | | llvm-svn: 35579
* Upgrade the bit count intrinsics to have an i32 result.Reid Spencer2007-04-021-0/+19
| | | | llvm-svn: 35578
* RegenerateReid Spencer2007-04-023-328/+362
| | | | llvm-svn: 35571
* Don't upgrade functions that look like a bswap intrinsic but aren't.Reid Spencer2007-04-021-1/+1
| | | | llvm-svn: 35570
* Handle upgrade of llvm.bswap.iXX to llvm.bswap.iXX.iXX per new namingReid Spencer2007-04-021-30/+47
| | | | | | rules for overloaded intrinsic functions. llvm-svn: 35565
* Unbreak non-debug builds.Evan Cheng2007-03-223-0/+6
| | | | llvm-svn: 35264
* Regenerate.Reid Spencer2007-03-212-767/+744
| | | | llvm-svn: 35237
* For PR1243:Reid Spencer2007-03-211-14/+10
| | | | | | | Okay, really fix it this time. Make sure the CurFun.Linkage is set early and consolidate some duplicate code. llvm-svn: 35236
* Regenerate.Reid Spencer2007-03-215-904/+1557
| | | | llvm-svn: 35235
* For PR1256:Reid Spencer2007-03-213-251/+708
| | | | | | | | | | | | | | | | | | Make Signedness information pervasive throughout all types and values. There is no easy way to get around this. Because the GEP instruction can index through an arbitrarily complex value structure, it is necessary to keep track of signedness information throughout that structure. This change makes Signedness a full class, capable of representing Signedness in arbitrarily shaped types. The class is then used throughout llvm-upgrade to track signedness and differentiate between globals, locals, and functions based on their signedness. For PR1243: This patch also removes bogus warnings about renaming internal globals. It now only emits such warnings when renaming non-internal globals because they may affect linkage. llvm-svn: 35234
* Regenerate.Reid Spencer2007-03-154-633/+528
| | | | llvm-svn: 35116
* Revert last changes as they introduced other problems.Reid Spencer2007-03-152-137/+65
| | | | llvm-svn: 35115
OpenPOWER on IntegriCloud