summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/llvmAsmParser.h.cvs
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement the old and horrible bison parser for .ll files with a niceChris Lattner2009-01-021-426/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. llvm-svn: 61558
* Update the .cvs files for nocapture.Nick Lewycky2008-12-191-13/+15
| | | | llvm-svn: 61241
* Forgot to revert r61031 when I reverted r61019, r61030, and r61040.Bill Wendling2008-12-171-15/+13
| | | | llvm-svn: 61150
* Update generated files after nocapture syntax change.Nick Lewycky2008-12-151-13/+15
| | | | llvm-svn: 61031
* RegeneratedBill Wendling2008-11-131-9/+13
| | | | llvm-svn: 59204
* regenerateNuno Lopes2008-11-041-1/+1
| | | | llvm-svn: 58697
* regenerateNuno Lopes2008-11-041-1/+1
| | | | llvm-svn: 58694
* regenerateNuno Lopes2008-10-151-1/+1
| | | | llvm-svn: 57577
* regenerateNuno Lopes2008-10-151-1/+1
| | | | llvm-svn: 57575
* regenerateNuno Lopes2008-10-151-2/+2
| | | | llvm-svn: 57573
* regenerateChris Lattner2008-10-151-1/+1
| | | | llvm-svn: 57559
* Generated files for previous checkin.Dale Johannesen2008-10-091-1/+1
| | | | llvm-svn: 57331
* regenerateChris Lattner2008-10-081-2/+2
| | | | llvm-svn: 57290
* regenerateNuno Lopes2008-10-031-1/+1
| | | | llvm-svn: 57009
* regenerate with bison 2.3Nuno Lopes2008-10-031-2/+2
| | | | llvm-svn: 57007
* Implement function notes as function attributes. Devang Patel2008-09-261-18/+14
| | | | llvm-svn: 56716
* Generated files for previous patch.Dale Johannesen2008-09-261-190/+188
| | | | llvm-svn: 56679
* Large mechanical patch.Devang Patel2008-09-251-2/+2
| | | | | | | | | | | | | | | s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622
* Fix fallout from revision r56535.Eric Christopher2008-09-241-1/+1
| | | | llvm-svn: 56545
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-231-3/+2
| | | | llvm-svn: 56520
* Use parameter attribute store (soon to be renamed) forDevang Patel2008-09-231-2/+2
| | | | | | Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511
* regenerateChris Lattner2008-09-231-1/+1
| | | | llvm-svn: 56502
* Update generated files.Dan Gohman2008-09-091-1/+1
| | | | llvm-svn: 55972
* Parse function notes.Devang Patel2008-09-021-8/+19
| | | | llvm-svn: 55646
* regenerateChris Lattner2008-08-291-1/+1
| | | | llvm-svn: 55542
* Regenerate.Gordon Henriksen2008-08-171-1/+1
| | | | llvm-svn: 54900
* Generated files for 54744.Dale Johannesen2008-08-131-178/+180
| | | | llvm-svn: 54745
* Add vector shifts to the IR, patch by Eli Friedman.Nate Begeman2008-07-291-1/+1
| | | | | | CodeGen & Clang work coming next. llvm-svn: 54161
* Update the generated .cvs files.Dan Gohman2008-07-231-1/+1
| | | | llvm-svn: 53943
* regenerateChris Lattner2008-07-111-1/+1
| | | | llvm-svn: 53440
* Added MemOperands to Atomic operations since Atomics touches memory.Mon P Wang2008-06-251-1/+1
| | | | | | | | Added abstract class MemSDNode for any Node that have an associated MemOperand Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and atomic.lss => atomic.load.sub llvm-svn: 52706
* Update the .cvs files.Dan Gohman2008-06-231-1/+1
| | | | llvm-svn: 52637
* AsmParser support for immediate constant aggregate values.Dan Gohman2008-06-091-1/+1
| | | | llvm-svn: 52149
* IR, bitcode reader, bitcode writer, and asmparser changes toDan Gohman2008-05-311-2/+3
| | | | | | | | | | | insertvalue and extractvalue to use constant indices instead of Value* indices. And begin updating LangRef.html. There's definately more to come here, but I'm checking this basic support in now to make it available to people who are interested. llvm-svn: 51806
* Make structs and arrays first-class types, and add assemblyDan Gohman2008-05-231-32/+36
| | | | | | | | | and bitcode support for the extractvalue and insertvalue instructions and constant expressions. Note that this does not yet include CodeGen support. llvm-svn: 51468
* Reverting accidental commit of generated files.Gordon Henriksen2008-05-191-1/+1
| | | | llvm-svn: 51239
* Remove a duplicative binding. Patch by Mahadevan R.Gordon Henriksen2008-05-191-1/+1
| | | | llvm-svn: 51238
* IR support for extractvalue and insertvalue instructions. Also, beginDan Gohman2008-05-151-1/+1
| | | | | | moving toward making structs and arrays first-class types. llvm-svn: 51157
* Generated files for CommonLinkage.Dale Johannesen2008-05-141-210/+212
| | | | llvm-svn: 51119
* Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRefNate Begeman2008-05-121-122/+126
| | | | | | for details. CodeGen support coming in a follow up patch llvm-svn: 50985
* regenerateChris Lattner2008-05-041-170/+168
| | | | llvm-svn: 50621
* Allow llvm-as to parse a getresult with an undef operand.Dan Gohman2008-04-231-1/+1
| | | | llvm-svn: 50175
* regenerateChris Lattner2008-04-201-1/+1
| | | | llvm-svn: 49978
* Teach llvm-as to accept function types with multiple return types.Dan Gohman2008-04-191-152/+359
| | | | llvm-svn: 49945
* regenerateGabor Greif2008-04-061-359/+152
| | | | llvm-svn: 49293
* Reimplement the parameter attributes support, phase #1. hilights:Chris Lattner2008-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Update the .cvs files to match today's asm syntax change.Nick Lewycky2008-03-101-4/+4
| | | | llvm-svn: 48128
* regenerate.Devang Patel2008-03-031-168/+170
| | | | llvm-svn: 47849
* regenerate.Devang Patel2008-02-261-1/+1
| | | | llvm-svn: 47642
* regenerateDevang Patel2008-02-261-1/+1
| | | | llvm-svn: 47634
OpenPOWER on IntegriCloud