summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/llvmAsmParser.cpp.cvs
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement the old and horrible bison parser for .ll files with a niceChris Lattner2009-01-021-7375/+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-1318/+1320
| | | | llvm-svn: 61241
* Forgot to revert r61031 when I reverted r61019, r61030, and r61040.Bill Wendling2008-12-171-1320/+1318
| | | | llvm-svn: 61150
* Update generated files after nocapture syntax change.Nick Lewycky2008-12-151-1318/+1320
| | | | llvm-svn: 61031
* Extend the 'noalias' attribute to function return values. This is intended toNick Lewycky2008-11-241-1342/+1350
| | | | | | | | | indicate functions that allocate, such as operator new, or list::insert. The actual definition is slightly less strict (for now). No changes to the bitcode reader/writer, asm printer or verifier were needed. llvm-svn: 59934
* RegeneratedBill Wendling2008-11-131-1386/+1416
| | | | llvm-svn: 59204
* regenerateNuno Lopes2008-11-041-337/+341
| | | | llvm-svn: 58697
* regenerateNuno Lopes2008-11-041-336/+337
| | | | llvm-svn: 58694
* regenerateNuno Lopes2008-10-151-336/+337
| | | | llvm-svn: 57577
* regenerateNuno Lopes2008-10-151-337/+339
| | | | llvm-svn: 57575
* regenerateNuno Lopes2008-10-151-340/+341
| | | | llvm-svn: 57573
* regenerateChris Lattner2008-10-151-1451/+1472
| | | | llvm-svn: 57561
* regenerateChris Lattner2008-10-151-1456/+1436
| | | | llvm-svn: 57559
* Generated files for previous checkin.Dale Johannesen2008-10-091-342/+348
| | | | llvm-svn: 57331
* regenerateChris Lattner2008-10-081-305/+305
| | | | llvm-svn: 57290
* regenerateNuno Lopes2008-10-051-207/+219
| | | | llvm-svn: 57114
* regenerateNuno Lopes2008-10-031-337/+341
| | | | llvm-svn: 57009
* regenerate with bison 2.3Nuno Lopes2008-10-031-314/+315
| | | | llvm-svn: 57007
* Support inreg, zext and sext as return value attributes.Devang Patel2008-09-291-1528/+1534
| | | | llvm-svn: 56801
* Generated files for warning fix.Dale Johannesen2008-09-261-114/+171
| | | | llvm-svn: 56715
* Generated files for previous patch.Dale Johannesen2008-09-261-1631/+1612
| | | | llvm-svn: 56679
* Large mechanical patch.Devang Patel2008-09-251-385/+385
| | | | | | | | | | | | | | | 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-419/+419
| | | | llvm-svn: 56545
* Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel2008-09-241-8/+8
| | | | llvm-svn: 56527
* Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel2008-09-231-8/+8
| | | | | | Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524
* s/ParameterAttributes/Attributes/gDevang Patel2008-09-231-352/+353
| | | | llvm-svn: 56520
* regenerateChris Lattner2008-09-231-1283/+1284
| | | | llvm-svn: 56502
* Update generated files.Dan Gohman2008-09-091-313/+322
| | | | llvm-svn: 55972
* s/FP_AlwaysInline/FN_NOTE_AlwaysInline/gDevang Patel2008-09-021-6/+6
| | | | llvm-svn: 55676
* Parse function notes.Devang Patel2008-09-021-1398/+1475
| | | | llvm-svn: 55646
* regenerateChris Lattner2008-08-291-1449/+1491
| | | | llvm-svn: 55542
* Regenerate.Gordon Henriksen2008-08-171-289/+289
| | | | llvm-svn: 54900
* Generated files for 54744.Dale Johannesen2008-08-131-1603/+1615
| | | | llvm-svn: 54745
* Add vector shifts to the IR, patch by Eli Friedman.Nate Begeman2008-07-291-289/+289
| | | | | | CodeGen & Clang work coming next. llvm-svn: 54161
* Update the generated .cvs files.Dan Gohman2008-07-231-300/+319
| | | | llvm-svn: 53943
* regenerateChris Lattner2008-07-111-1034/+1076
| | | | llvm-svn: 53440
* Added MemOperands to Atomic operations since Atomics touches memory.Mon P Wang2008-06-251-295/+295
| | | | | | | | 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-94/+96
| | | | llvm-svn: 52637
* AsmParser support for immediate constant aggregate values.Dan Gohman2008-06-091-762/+895
| | | | llvm-svn: 52149
* IR, bitcode reader, bitcode writer, and asmparser changes toDan Gohman2008-05-311-930/+955
| | | | | | | | | | | 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-1211/+1339
| | | | | | | | | 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-279/+279
| | | | llvm-svn: 51239
* Remove a duplicative binding. Patch by Mahadevan R.Gordon Henriksen2008-05-191-279/+279
| | | | llvm-svn: 51238
* IR support for extractvalue and insertvalue instructions. Also, beginDan Gohman2008-05-151-286/+286
| | | | | | moving toward making structs and arrays first-class types. llvm-svn: 51157
* Generated files for CommonLinkage.Dale Johannesen2008-05-141-1529/+1538
| | | | llvm-svn: 51119
* Add two new instructions to the llvm IR, vicmp and vfcmp. see updated LangRefNate Begeman2008-05-121-1262/+1345
| | | | | | for details. CodeGen support coming in a follow up patch llvm-svn: 50985
* regenerateChris Lattner2008-05-041-1296/+1264
| | | | llvm-svn: 50621
* Allow llvm-as to parse a getresult with an undef operand.Dan Gohman2008-04-231-457/+457
| | | | llvm-svn: 50175
* regenerateChris Lattner2008-04-231-190/+199
| | | | llvm-svn: 50139
* regenerateChris Lattner2008-04-201-272/+272
| | | | llvm-svn: 49978
OpenPOWER on IntegriCloud