summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-upgrade/UpgradeParser.y.cvs
Commit message (Collapse)AuthorAgeFilesLines
* Remove llvm-upgrade.Tanya Lattner2008-04-071-3852/+0
| | | | llvm-svn: 49347
* Reimplement the parameter attributes support, phase #1. hilights:Chris Lattner2008-03-121-22/+13
| | | | | | | | | | | | | | | | | | | | | | | 1. There is now a "PAListPtr" class, which is a smart pointer around the underlying uniqued parameter attribute list object, and manages its refcount. It is now impossible to mess up the refcount. 2. PAListPtr is now the main interface to the underlying object, and the underlying object is now completely opaque. 3. Implementation details like SmallVector and FoldingSet are now no longer part of the interface. 4. You can create a PAListPtr with an arbitrary sequence of ParamAttrsWithIndex's, no need to make a SmallVector of a specific size (you can just use an array or scalar or vector if you wish). 5. All the client code that had to check for a null pointer before dereferencing the pointer is simplified to just access the PAListPtr directly. 6. The interfaces for adding attrs to a list and removing them is a bit simpler. Phase #2 will rename some stuff (e.g. PAListPtr) and do other less invasive changes. llvm-svn: 48289
* Split ParameterAttributes.h, putting the complicatedDale Johannesen2008-02-221-1/+1
| | | | | | | stuff into ParamAttrsList.h. Per feedback from ParamAttrs changes. llvm-svn: 47504
* regenerateChris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45424
* regenerate.Christopher Lamb2007-12-171-18/+21
| | | | llvm-svn: 45085
* Add some convenience methods for querying attributes, andDuncan Sands2007-11-281-1/+1
| | | | | | use them. llvm-svn: 44403
* Fix PR1146: parameter attributes are longer part ofDuncan Sands2007-11-271-121/+37
| | | | | | | | | | | | 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
* Apply feedback from previous patch.Dale Johannesen2007-09-071-0/+1
| | | | llvm-svn: 41774
* Next round of APFloat changes.Dale Johannesen2007-09-061-5/+13
| | | | | | | | | | | | | | 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-041-6/+8
| | | | llvm-svn: 41706
* Update .cvs fileDavid Greene2007-08-151-4/+5
| | | | llvm-svn: 41106
* Regenerating.Chandler Carruth2007-08-041-28/+0
| | | | llvm-svn: 40808
* Update generated files.David Greene2007-08-011-8/+9
| | | | llvm-svn: 40663
* Regenerate.Reid Spencer2007-05-181-34/+56
| | | | llvm-svn: 37207
* Regenerate.Reid Spencer2007-04-161-3/+9
| | | | llvm-svn: 36106
* Regenerate.Reid Spencer2007-04-161-39/+66
| | | | llvm-svn: 36096
* Regenerate.Reid Spencer2007-04-111-1/+2
| | | | llvm-svn: 35897
* For PR1146:Reid Spencer2007-04-111-8/+8
| | | | | | | Put the parameter attributes in their own ParamAttr name space. Adjust the rest of llvm as a result. llvm-svn: 35877
* RegenerateReid Spencer2007-04-091-25/+41
| | | | llvm-svn: 35813
* Regenerate.Reid Spencer2007-04-071-2/+8
| | | | llvm-svn: 35736
* RegenerateReid Spencer2007-04-021-0/+19
| | | | llvm-svn: 35579
* RegenerateReid Spencer2007-04-021-30/+47
| | | | llvm-svn: 35571
* Unbreak non-debug builds.Evan Cheng2007-03-221-0/+2
| | | | llvm-svn: 35264
* Regenerate.Reid Spencer2007-03-211-14/+10
| | | | llvm-svn: 35237
* Regenerate.Reid Spencer2007-03-211-217/+538
| | | | llvm-svn: 35235
* Regenerate.Reid Spencer2007-03-151-101/+49
| | | | llvm-svn: 35116
* Regenerate.Reid Spencer2007-03-141-50/+102
| | | | llvm-svn: 35113
* remove use of deprecated apiChris Lattner2007-02-191-5/+5
| | | | llvm-svn: 34416
* For PR1195:Reid Spencer2007-02-151-22/+22
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
* regenerateChris Lattner2007-02-131-5/+5
| | | | llvm-svn: 34225
* stop using me thods that take a vectorChris Lattner2007-02-121-2/+2
| | | | llvm-svn: 34206
* regenerateChris Lattner2007-02-111-0/+1
| | | | llvm-svn: 34188
* Regenerate.Reid Spencer2007-02-081-264/+310
| | | | llvm-svn: 34050
* Regenerate for recent changes.Reid Spencer2007-02-081-5/+30
| | | | llvm-svn: 34025
* For PR411:Reid Spencer2007-02-051-6/+6
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* For PR411:Reid Spencer2007-02-051-39/+56
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* Regenerate.Reid Spencer2007-02-041-1/+0
| | | | llvm-svn: 33859
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-22/+28
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-2/+2
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Regenerate.Reid Spencer2007-01-291-4/+39
| | | | llvm-svn: 33624
* Regenerate.Reid Spencer2007-01-291-15/+53
| | | | llvm-svn: 33615
* Merge error at my side. Fixed.Anton Korobeynikov2007-01-281-10/+62
| | | | llvm-svn: 33601
* Drop CSRET CCAnton Korobeynikov2007-01-281-63/+11
| | | | llvm-svn: 33598
* Regenerate.Reid Spencer2007-01-281-10/+62
| | | | llvm-svn: 33595
* Regenerate.Reid Spencer2007-01-261-1/+3
| | | | llvm-svn: 33547
* Regenerate.Reid Spencer2007-01-261-138/+8
| | | | llvm-svn: 33545
* Regenerate.Reid Spencer2007-01-261-1737/+2891
| | | | llvm-svn: 33532
* Fix a bunch of missing semicolon parse errors from bison.Jeff Cohen2007-01-211-3/+5
| | | | llvm-svn: 33426
* Regenerate.Reid Spencer2007-01-151-201/+204
| | | | llvm-svn: 33227
* RegenerateReid Spencer2007-01-151-333/+556
| | | | llvm-svn: 33212
OpenPOWER on IntegriCloud